Class BlockLine

    • Field Detail

      • BASE_RAM_USAGE

        private static final long BASE_RAM_USAGE
      • termStateRelativeOffset

        protected int termStateRelativeOffset
      • termState

        protected final BlockTermState termState
        Only used for writing.
    • Method Detail

      • reset

        protected BlockLine reset​(TermBytes termBytes,
                                  int termStateRelativeOffset)
        Resets this BlockLine to reuse it when reading.
      • getTermBytes

        public TermBytes getTermBytes()
      • getTermStateRelativeOffset

        public int getTermStateRelativeOffset()
        Returns:
        The offset of the TermState bytes in the block, relatively to the term states base offset.
      • ramBytesUsed

        public long ramBytesUsed()
        Description copied from interface: Accountable
        Return the memory usage of this object in bytes. Negative values are illegal.
        Specified by:
        ramBytesUsed in interface Accountable