Struct rs_es::operations::search::aggregations::metrics::ScriptedMetric
[−]
[src]
pub struct ScriptedMetric<'a> { // some fields omitted }
Scripted method aggregation
Methods
impl<'a> ScriptedMetric<'a>
[src]
fn new(map_script: &'a str) -> ScriptedMetric<'a>
fn with_init_script<T: Into<&'a str>>(self, val: T) -> Self
fn with_combine_script<T: Into<&'a str>>(self, val: T) -> Self
fn with_reduce_script<T: Into<&'a str>>(self, val: T) -> Self
fn with_params<T: Into<Value>>(self, val: T) -> Self
fn with_reduce_params<T: Into<Value>>(self, val: T) -> Self
fn with_lang<T: Into<&'a str>>(self, val: T) -> Self
fn with_init_script_file<T: Into<&'a str>>(self, val: T) -> Self
fn with_init_script_id<T: Into<&'a str>>(self, val: T) -> Self
fn with_map_script_file<T: Into<&'a str>>(self, val: T) -> Self
fn with_map_script_id<T: Into<&'a str>>(self, val: T) -> Self
fn with_combine_script_file<T: Into<&'a str>>(self, val: T) -> Self
fn with_combine_script_id<T: Into<&'a str>>(self, val: T) -> Self
fn with_reduce_script_file<T: Into<&'a str>>(self, val: T) -> Self
fn with_reduce_script_id<T: Into<&'a str>>(self, val: T) -> Self
Trait Implementations
impl<'a> Debug for ScriptedMetric<'a>
[src]
impl<'a> Default for ScriptedMetric<'a>
[src]
fn default() -> ScriptedMetric<'a>
Returns the "default value" for a type. Read more