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(); }
public ScanQueryDescriptor() { ContextValue = new ContextSpec(); ResultFormatValue = "list"; }
public SegmentMetadataQueryDescriptor() { ContextValue = new ContextSpec(); }
public SelectQueryDescriptor() { ContextValue = new ContextSpec(); }
public SearchQueryDescriptor() { ContextValue = new ContextSpec(); SortValue = new SortSpec(); }