Class SortedNumericIndexFieldData.NanoSecondFieldData

java.lang.Object
org.elasticsearch.index.fielddata.plain.LeafLongFieldData
org.elasticsearch.index.fielddata.plain.SortedNumericIndexFieldData.NanoSecondFieldData
All Implemented Interfaces:
java.io.Closeable, java.lang.AutoCloseable, org.apache.lucene.util.Accountable, Releasable, LeafFieldData, LeafNumericFieldData
Enclosing class:
SortedNumericIndexFieldData

public final class SortedNumericIndexFieldData.NanoSecondFieldData
extends LeafLongFieldData
A small helper class that can be configured to load nanosecond field data either in nanosecond resolution retaining the original values or in millisecond resolution converting the nanosecond values to milliseconds
  • Field Summary

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

    NULL_ACCOUNTABLE
  • Method Summary

    Modifier and Type Method Description
    DocValueFetcher.Leaf getLeafValueFetcher​(DocValueFormat format)
    Return a value fetcher for this leaf implementation.
    org.apache.lucene.index.SortedNumericDocValues getLongValues()
    Get an integer view of the values of this segment.
    org.apache.lucene.index.SortedNumericDocValues getLongValuesAsNanos()  

    Methods inherited from class org.elasticsearch.index.fielddata.plain.LeafLongFieldData

    close, getBytesValues, getDoubleValues, getScriptValues, ramBytesUsed

    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