Interface ScriptFactory

All Known Subinterfaces:
AggregationScript.Factory, BooleanFieldScript.Factory, BucketAggregationScript.Factory, DateFieldScript.Factory, DoubleFieldScript.Factory, FieldScript.Factory, FilterScript.Factory, GeoPointFieldScript.Factory, IntervalFilterScript.Factory, IpFieldScript.Factory, LongFieldScript.Factory, MovingFunctionScript.Factory, NumberSortScript.Factory, ScoreScript.Factory, ScriptedMetricAggContexts.CombineScript.Factory, ScriptedMetricAggContexts.InitScript.Factory, ScriptedMetricAggContexts.MapScript.Factory, ScriptedMetricAggContexts.ReduceScript.Factory, SignificantTermsHeuristicScoreScript.Factory, SimilarityScript.Factory, SimilarityWeightScript.Factory, StringFieldScript.Factory, StringSortScript.Factory, TermsSetQueryScript.Factory

public interface ScriptFactory
Contains utility methods for compiled scripts without impacting concrete script signatures
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    Returns true if the result of the script will be deterministic, false otherwise.
  • Method Details

    • isResultDeterministic

      default boolean isResultDeterministic()
      Returns true if the result of the script will be deterministic, false otherwise.