Interface ScriptDocValues.Supplier<T>

All Known Subinterfaces:
ScriptDocValues.GeometrySupplier<T>
All Known Implementing Classes:
AbstractKeywordDocValuesField, AbstractLongDocValuesField, BinaryDocValuesField, BooleanDocValuesField, ByteDocValuesField, DateMillisDocValuesField, DateNanosDocValuesField, DoubleDocValuesField, FlattenedDocValuesField, FloatDocValuesField, GeoPointDocValuesField, HalfFloatDocValuesField, IntegerDocValuesField, IpDocValuesField, IpDocValuesField.SortedBinaryIpSupplier, IpDocValuesField.SortedSetIpSupplier, KeywordDocValuesField, LongDocValuesField, ScaledFloatDocValuesField, ScriptDocValues.DoublesSupplier, ScriptDocValues.StringsSupplier, SeqNoDocValuesField, ShortDocValuesField, VersionDocValuesField
Enclosing class:
ScriptDocValues<T>

public static interface ScriptDocValues.Supplier<T>
Supplies values to different ScriptDocValues as we convert them to wrappers around DocValuesField. This allows for different DocValuesField to implement this supplier class in many-to-one relationship since DocValuesField are more specific where ({byte, short, int, long, _version, murmur3, etc.} -> {long})
  • Method Summary

    Modifier and Type
    Method
    Description
    getInternal(int index)
     
    void
    setNextDocId(int docId)
     
    int
     
  • Method Details

    • setNextDocId

      void setNextDocId(int docId) throws IOException
      Throws:
      IOException
    • getInternal

      T getInternal(int index)
    • size

      int size()