Class DocValuesUpdate

    • Field Detail

      • RAW_SIZE_IN_BYTES

        private static final int RAW_SIZE_IN_BYTES
      • term

        final Term term
      • field

        final java.lang.String field
      • docIDUpTo

        final int docIDUpTo
      • hasValue

        final boolean hasValue
    • Constructor Detail

      • DocValuesUpdate

        protected DocValuesUpdate​(DocValuesType type,
                                  Term term,
                                  java.lang.String field,
                                  int docIDUpTo,
                                  boolean hasValue)
        Constructor.
        Parameters:
        term - the Term which determines the documents that will be updated
        field - the NumericDocValuesField to update
    • Method Detail

      • valueSizeInBytes

        abstract long valueSizeInBytes()
      • sizeInBytes

        final long sizeInBytes()
      • valueToString

        protected abstract java.lang.String valueToString()
      • writeTo

        abstract void writeTo​(DataOutput output)
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • hasValue

        boolean hasValue()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object