Пример #1
0
 protected void SetCommonContextProperties(ContextSpec context, int?timeout, long?maxScatterGatherBytes, int?priority, string queryId, bool?useCache, bool?populateCache, bool?bySegment, bool?finalize, string chunkPeriod, bool?serializeDateTimeAsLong, bool?serializeDateTimeAsLongInner)
 {
     context.Timeout = timeout;
     context.MaxScatterGatherBytes = maxScatterGatherBytes;
     context.Priority                     = priority;
     context.QueryId                      = queryId;
     context.UseCache                     = useCache;
     context.PopulateCache                = populateCache;
     context.BySegment                    = bySegment;
     context.Finalize                     = finalize;
     context.ChunkPeriod                  = chunkPeriod;
     context.SerializeDateTimeAsLong      = serializeDateTimeAsLong;
     context.SerializeDateTimeAsLongInner = serializeDateTimeAsLongInner;
 }
 public TimeBoundaryQueryDescriptor()
 {
     ContextValue = new ContextSpec();
 }
Пример #3
0
 public ScanQueryDescriptor()
 {
     ContextValue      = new ContextSpec();
     ResultFormatValue = "list";
 }
 public SegmentMetadataQueryDescriptor()
 {
     ContextValue = new ContextSpec();
 }
Пример #5
0
 public SelectQueryDescriptor()
 {
     ContextValue = new ContextSpec();
 }
Пример #6
0
 public SearchQueryDescriptor()
 {
     ContextValue = new ContextSpec();
     SortValue    = new SortSpec();
 }