Class SortedNumericDVIndexFieldData.NanoSecondFieldData

java.lang.Object
org.elasticsearch.index.fielddata.plain.SortedNumericDVIndexFieldData.NanoSecondFieldData
All Implemented Interfaces:
java.io.Closeable, java.lang.AutoCloseable, org.apache.lucene.util.Accountable, Releasable, AtomicFieldData, AtomicNumericFieldData
Enclosing class:
SortedNumericDVIndexFieldData

public final class SortedNumericDVIndexFieldData.NanoSecondFieldData
extends java.lang.Object
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
  • Method Summary

    Modifier and Type Method Description
    void close()  
    SortedBinaryDocValues getBytesValues()
    Return a String representation of the values.
    SortedNumericDoubleValues getDoubleValues()
    Return a floating-point view of the values in this segment.
    org.apache.lucene.index.SortedNumericDocValues getLongValues()
    Get an integer view of the values of this segment.
    org.apache.lucene.index.SortedNumericDocValues getLongValuesAsNanos()  
    ScriptDocValues<?> getScriptValues()
    Returns field values for use in scripting.
    long 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