Class ScriptDocValues.Longs

  • All Implemented Interfaces:
    java.lang.Iterable<java.lang.Long>, java.util.Collection<java.lang.Long>, java.util.List<java.lang.Long>
    Enclosing class:
    ScriptDocValues<T>

    public static final class ScriptDocValues.Longs
    extends ScriptDocValues<java.lang.Long>
    • Constructor Detail

      • Longs

        public Longs​(org.apache.lucene.index.SortedNumericDocValues in)
        Standard constructor.
    • Method Detail

      • setNextDocId

        public void setNextDocId​(int docId)
                          throws java.io.IOException
        Description copied from class: ScriptDocValues
        Set the current doc ID.
        Specified by:
        setNextDocId in class ScriptDocValues<java.lang.Long>
        Throws:
        java.io.IOException
      • resize

        protected void resize​(int newSize)
        Set the size() and ensure that the values array can store at least that many entries.
      • getInternalValues

        public org.apache.lucene.index.SortedNumericDocValues getInternalValues()
      • getValue

        public long getValue()
      • getDate

        @Deprecated
        public JodaCompatibleZonedDateTime getDate()
                                            throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
      • getDates

        @Deprecated
        public java.util.List<JodaCompatibleZonedDateTime> getDates()
                                                             throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
      • get

        public java.lang.Long get​(int index)
        Specified by:
        get in interface java.util.List<java.lang.Long>
        Specified by:
        get in class java.util.AbstractList<java.lang.Long>
      • size

        public int size()
        Specified by:
        size in interface java.util.Collection<java.lang.Long>
        Specified by:
        size in interface java.util.List<java.lang.Long>
        Specified by:
        size in class java.util.AbstractCollection<java.lang.Long>