Class MetaMarker


  • public class MetaMarker
    extends java.lang.Object
    MetaMarker denotes the type of headers and footers. Enum is not used for space saving.
    • Field Detail

      • CHUNK_HEADER

        public static final byte CHUNK_HEADER
        Chunk header marker and this chunk has more than one page.
        See Also:
        Constant Field Values
      • VERSION

        @Deprecated
        public static final byte VERSION
        Deprecated.
        variable
        Since TsFile version 3, the marker VERSION is no longer used in TsFile. It should be removed when TsFile upgrade to version 4.
        See Also:
        Constant Field Values
      • ONLY_ONE_PAGE_CHUNK_HEADER

        public static final byte ONLY_ONE_PAGE_CHUNK_HEADER
        Chunk header marker and this chunk has only one page.
        See Also:
        Constant Field Values
      • TIME_CHUNK_HEADER

        public static final byte TIME_CHUNK_HEADER
        Time Chunk header marker and this chunk has more than one page.
        See Also:
        Constant Field Values
      • VALUE_CHUNK_HEADER

        public static final byte VALUE_CHUNK_HEADER
        Value Chunk header marker and this chunk has more than one page.
        See Also:
        Constant Field Values
      • ONLY_ONE_PAGE_TIME_CHUNK_HEADER

        public static final byte ONLY_ONE_PAGE_TIME_CHUNK_HEADER
        Time Chunk header marker and this chunk has only one page.
        See Also:
        Constant Field Values
      • ONLY_ONE_PAGE_VALUE_CHUNK_HEADER

        public static final byte ONLY_ONE_PAGE_VALUE_CHUNK_HEADER
        Value Chunk header marker and this chunk has only one page.
        See Also:
        Constant Field Values
    • Method Detail

      • handleUnexpectedMarker

        public static void handleUnexpectedMarker​(byte marker)
                                           throws java.io.IOException
        Throws:
        java.io.IOException