Package | Description |
---|---|
org.elasticsearch.search.aggregations | |
org.elasticsearch.search.aggregations.metrics.scripted |
Modifier and Type | Method and Description |
---|---|
static ScriptedMetricBuilder |
AggregationBuilders.scriptedMetric(String name)
Create a new
ScriptedMetric aggregation with the given name. |
Modifier and Type | Method and Description |
---|---|
ScriptedMetricBuilder |
ScriptedMetricBuilder.combineScript(Script combineScript)
Set the combine script.
|
ScriptedMetricBuilder |
ScriptedMetricBuilder.initScript(Script initScript)
Set the init script.
|
ScriptedMetricBuilder |
ScriptedMetricBuilder.mapScript(Script mapScript)
Set the map script.
|
ScriptedMetricBuilder |
ScriptedMetricBuilder.params(Map<String,Object> params)
Set parameters that will be available in the init, map
and combine phases.
|
ScriptedMetricBuilder |
ScriptedMetricBuilder.reduceScript(Script reduceScript)
Set the reduce script.
|
Copyright © 2009–2016. All rights reserved.