public abstract class AbstractTermsParametersParser extends Object
Modifier and Type | Field and Description |
---|---|
static ParseField |
EXECUTION_HINT_FIELD_NAME |
static ParseField |
MIN_DOC_COUNT_FIELD_NAME |
static ParseField |
REQUIRED_SIZE_FIELD_NAME |
static ParseField |
SHARD_MIN_DOC_COUNT_FIELD_NAME |
static ParseField |
SHARD_SIZE_FIELD_NAME |
static ParseField |
SHOW_TERM_DOC_COUNT_ERROR |
Constructor and Description |
---|
AbstractTermsParametersParser() |
Modifier and Type | Method and Description |
---|---|
TermsAggregator.BucketCountThresholds |
getBucketCountThresholds() |
Aggregator.SubAggCollectionMode |
getCollectionMode() |
protected abstract TermsAggregator.BucketCountThresholds |
getDefaultBucketCountThresholds() |
String |
getExecutionHint() |
IncludeExclude |
getIncludeExclude() |
void |
parse(String aggregationName,
XContentParser parser,
SearchContext context,
ValuesSourceParser vsParser,
IncludeExclude.Parser incExcParser) |
abstract void |
parseSpecial(String aggregationName,
XContentParser parser,
SearchContext context,
XContentParser.Token token,
String currentFieldName) |
public static final ParseField EXECUTION_HINT_FIELD_NAME
public static final ParseField SHARD_SIZE_FIELD_NAME
public static final ParseField MIN_DOC_COUNT_FIELD_NAME
public static final ParseField SHARD_MIN_DOC_COUNT_FIELD_NAME
public static final ParseField REQUIRED_SIZE_FIELD_NAME
public static final ParseField SHOW_TERM_DOC_COUNT_ERROR
public TermsAggregator.BucketCountThresholds getBucketCountThresholds()
public String getExecutionHint()
public IncludeExclude getIncludeExclude()
public Aggregator.SubAggCollectionMode getCollectionMode()
public void parse(String aggregationName, XContentParser parser, SearchContext context, ValuesSourceParser vsParser, IncludeExclude.Parser incExcParser) throws IOException
IOException
public abstract void parseSpecial(String aggregationName, XContentParser parser, SearchContext context, XContentParser.Token token, String currentFieldName) throws IOException
IOException
protected abstract TermsAggregator.BucketCountThresholds getDefaultBucketCountThresholds()
Copyright © 2009–2016. All rights reserved.