Class ScriptDocValues<T>

<E>
<T>
org.elasticsearch.index.fielddata.ScriptDocValues<T>
All Implemented Interfaces:
<T>, <T>, <T>
Direct Known Subclasses:
IpFieldMapper.IpFieldType.IpScriptDocValues, ScriptDocValues.Booleans, ScriptDocValues.BytesRefs, ScriptDocValues.Dates, ScriptDocValues.Doubles, ScriptDocValues.Geometry, ScriptDocValues.Longs, ScriptDocValues.Strings

public abstract class ScriptDocValues<T> extends <T>
Script level doc values, the assumption is that any implementation will implement a getValue method. Implementations should not internally re-use objects for the values that they return as a single ScriptDocValues instance can be reused to return values form multiple documents.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static class 
     
    static class 
     
    static class 
     
    static class 
     
    static class 
     
    static class 
     
    static class 
     
  • Field Summary

    Fields inherited from class java.util.

  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add​(int index, T element)
     
    boolean
     o)
     
    void
    <T> operator)
     
    set​(int index, T element)
     
    abstract void
    setNextDocId​(int docId)
    Set the current doc ID.
    void
    <? super T> c)
     

    Methods inherited from class java.util.

    , , , , , , , , , , , , ,

    Methods inherited from class java.util.

    , , , , , , , , ,

    Methods inherited from class java.lang.

    , , , , , , ,

    Methods inherited from interface java.util.

    , , ,

    Methods inherited from interface java.lang.

    Methods inherited from interface java.util.

    , , , , , , , , ,
  • Constructor Details

    • ScriptDocValues

      public ScriptDocValues()
  • Method Details

    • setNextDocId

      public abstract void setNextDocId(int docId) throws
      Set the current doc ID.
      Throws:
    • add

      public final void add(int index, T element)
      Specified by:
       in interface <T>
      Overrides:
       in class <T>
    • remove

      public final boolean remove( o)
      Specified by:
       in interface <T>
      Specified by:
       in interface <T>
      Overrides:
       in class <T>
    • replaceAll

      public final void replaceAll(<T> operator)
    • set

      public final T set(int index, T element)
      Specified by:
       in interface <T>
      Overrides:
       in class <T>
    • sort

      public final void sort(<? super T> c)