IsMatch() public method

public IsMatch ( ) : bool
return bool
        public void Visit(TranslatedQueryExpressionTreeLeaf tree)
        {
            var matcher = new InMemoryRowMatcher(_row, tree.QueryExpression, tree.TableIdentifier);

            if (!matcher.IsMatch())
                _isMatch = false;
        }
Ejemplo n.º 2
0
        private bool MatchesQuery(Row row, QueryExpression query)
        {
            var translatedExpression = query.Translate(ConventionReader);

            var matcher = new InMemoryRowMatcher(row, translatedExpression);

            return(matcher.IsMatch());
        }
Ejemplo n.º 3
0
        public void Visit(NotExpression expression)
        {
            var matcher = new InMemoryRowMatcher(_row, expression.Expression, _tableIdentifier);

            if (matcher.IsMatch())
            {
                _isMatch = false;
            }
        }
Ejemplo n.º 4
0
        public void Visit(TranslatedQueryExpressionTreeLeaf tree)
        {
            var matcher = new InMemoryRowMatcher(_row, tree.QueryExpression, tree.TableIdentifier);

            if (!matcher.IsMatch())
            {
                _isMatch = false;
            }
        }
Ejemplo n.º 5
0
        public void Visit(AndExpression expression)
        {
            foreach (var queryExpression in expression.Expressions)
            {
                var matcher = new InMemoryRowMatcher(_row, queryExpression);

                if (!matcher.IsMatch())
                {
                    _isMatch = false;
                    return;
                }
            }
        }
Ejemplo n.º 6
0
        public void Visit(AndExpression expression)
        {
            foreach (var queryExpression in expression.Expressions)
            {
                var matcher = new InMemoryRowMatcher(_row, queryExpression);

                if (!matcher.IsMatch())
                {
                    _isMatch = false;
                    return;
                }
            }
        }
Ejemplo n.º 7
0
        public void Visit(OrExpression expression)
        {
            foreach (var queryExpression in expression.Expressions)
            {
                var matcher = new InMemoryRowMatcher(_row, queryExpression, _tableIdentifier);

                if (matcher.IsMatch())
                {
                    return;
                }
            }

            _isMatch = false;
        }
Ejemplo n.º 8
0
        public void Visit(OrExpression expression)
        {
            foreach (var queryExpression in expression.Expressions)
            {
                var matcher = new InMemoryRowMatcher(_row, queryExpression, _tableIdentifier);

                if (matcher.IsMatch())
                {
                    return;
                }
            }

            _isMatch = false;
        }
Ejemplo n.º 9
0
        public void Visit(NotExpression expression)
        {
            var matcher = new InMemoryRowMatcher(_row, expression.Expression, _tableIdentifier);

            if (matcher.IsMatch())
                _isMatch = false;
        }