Class AbstractLeafOrdinalsFieldData

java.lang.Object
org.elasticsearch.index.fielddata.plain.AbstractLeafOrdinalsFieldData
All Implemented Interfaces:
java.io.Closeable, java.lang.AutoCloseable, org.apache.lucene.util.Accountable, Releasable, LeafFieldData, LeafOrdinalsFieldData
Direct Known Subclasses:
PagedBytesLeafFieldData, SortedSetBytesLeafFieldData

public abstract class AbstractLeafOrdinalsFieldData
extends java.lang.Object
implements LeafOrdinalsFieldData
  • Field Summary

    Fields
    Modifier and Type Field Description
    static java.util.function.Function<org.apache.lucene.index.SortedSetDocValues,​ScriptDocValues<?>> DEFAULT_SCRIPT_FUNCTION  

    Fields inherited from interface org.apache.lucene.util.Accountable

    NULL_ACCOUNTABLE
  • Constructor Summary

    Constructors
    Modifier Constructor Description
    protected AbstractLeafOrdinalsFieldData​(java.util.function.Function<org.apache.lucene.index.SortedSetDocValues,​ScriptDocValues<?>> scriptFunction)  
  • Method Summary

    Modifier and Type Method Description
    static LeafOrdinalsFieldData empty()  
    SortedBinaryDocValues getBytesValues()
    Return a String representation of the values.
    ScriptDocValues<?> getScriptValues()
    Returns field values for use in scripting.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.lucene.util.Accountable

    getChildResources, ramBytesUsed

    Methods inherited from interface org.elasticsearch.index.fielddata.LeafFieldData

    getFormattedValues

    Methods inherited from interface org.elasticsearch.index.fielddata.LeafOrdinalsFieldData

    getOrdinalsValues

    Methods inherited from interface org.elasticsearch.common.lease.Releasable

    close
  • Field Details

    • DEFAULT_SCRIPT_FUNCTION

      public static final java.util.function.Function<org.apache.lucene.index.SortedSetDocValues,​ScriptDocValues<?>> DEFAULT_SCRIPT_FUNCTION
  • Constructor Details

    • AbstractLeafOrdinalsFieldData

      protected AbstractLeafOrdinalsFieldData​(java.util.function.Function<org.apache.lucene.index.SortedSetDocValues,​ScriptDocValues<?>> scriptFunction)
  • Method Details