示例#1
0
        public override void VisitAdditionalFromClause(AdditionalFromClause fromClause, QueryModel queryModel, int index)
        {
            var luceneExpression = new LuceneIndexExpression();

            luceneExpression.AttachIndex(fromClause.ItemType.GetContractId());
            luceneExpression.Append(fromClause.ItemType.GetContractId());
            _queryParts.AddFromPart(luceneExpression);

            fromClause.ItemName = "EventInternal";

            base.VisitAdditionalFromClause(fromClause, queryModel, index);
        }
示例#2
0
 public void AddWherePart(LuceneIndexExpression formatString)
 {
     WhereParts.Add(formatString);
 }
示例#3
0
 public void AddFromPart(LuceneIndexExpression querySource)
 {
     FromParts.Add(querySource);
 }
 private SubQueryMemoryExpressionTreeVisitor()
 {
     luceneExpression = new LuceneIndexExpression();
 }
示例#5
0
 private ElasticSearchExpressionTreeVisitor()
 {
     luceneExpression = new LuceneIndexExpression();
 }