public class ScanQuery extends BaseQuery<ScanResultValue>
Modifier and Type | Class and Description |
---|---|
static class |
ScanQuery.ScanQueryBuilder
A Builder for ScanQuery.
|
Modifier and Type | Field and Description |
---|---|
static String |
RESULT_FORMAT_COMPACTED_LIST |
static String |
RESULT_FORMAT_LIST |
static String |
RESULT_FORMAT_VALUE_VECTOR |
static String |
SCAN |
DATASOURCE_METADATA, GROUP_BY, SEARCH, SEGMENT_METADATA, SELECT, TIME_BOUNDARY, TIMESERIES, TOPN
Constructor and Description |
---|
ScanQuery(DataSource dataSource,
QuerySegmentSpec querySegmentSpec,
String resultFormat,
int batchSize,
int limit,
DimFilter dimFilter,
List<String> columns,
Map<String,Object> context) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
getBatchSize() |
List<String> |
getColumns() |
DimFilter |
getDimensionsFilter() |
DimFilter |
getFilter() |
int |
getLimit() |
String |
getResultFormat() |
String |
getType() |
boolean |
hasFilters() |
int |
hashCode() |
static ScanQuery.ScanQueryBuilder |
newScanQueryBuilder() |
String |
toString() |
Query<ScanResultValue> |
withDataSource(DataSource dataSource) |
ScanQuery |
withDimFilter(DimFilter dimFilter) |
Query<ScanResultValue> |
withOverriddenContext(Map<String,Object> contextOverrides) |
Query<ScanResultValue> |
withQuerySegmentSpec(QuerySegmentSpec querySegmentSpec) |
computeOverridenContext, getContext, getContextBoolean, getContextBySegment, getContextFinalize, getContextPopulateCache, getContextPriority, getContextUncoveredIntervalsLimit, getContextUseCache, getContextValue, getContextValue, getDataSource, getDuration, getId, getIntervals, getQuerySegmentSpec, getResultOrdering, isDescending, run, run, withId
public static final String SCAN
public static final String RESULT_FORMAT_LIST
public static final String RESULT_FORMAT_COMPACTED_LIST
public static final String RESULT_FORMAT_VALUE_VECTOR
public ScanQuery(DataSource dataSource, QuerySegmentSpec querySegmentSpec, String resultFormat, int batchSize, int limit, DimFilter dimFilter, List<String> columns, Map<String,Object> context)
public String getResultFormat()
public int getBatchSize()
public int getLimit()
public boolean hasFilters()
public DimFilter getFilter()
public String getType()
public DimFilter getDimensionsFilter()
public Query<ScanResultValue> withQuerySegmentSpec(QuerySegmentSpec querySegmentSpec)
public Query<ScanResultValue> withDataSource(DataSource dataSource)
public Query<ScanResultValue> withOverriddenContext(Map<String,Object> contextOverrides)
public boolean equals(Object o)
equals
in class BaseQuery<ScanResultValue>
public int hashCode()
hashCode
in class BaseQuery<ScanResultValue>
public static ScanQuery.ScanQueryBuilder newScanQueryBuilder()
Copyright © 2011–2017. All rights reserved.