public class ChunkHeaderV2 extends Object
| Modifier and Type | Method and Description |
|---|---|
static ChunkHeader |
deserializeFrom(InputStream inputStream,
boolean markerRead)
deserialize from inputStream.
|
static ChunkHeader |
deserializeFrom(TsFileInput input,
long offset,
int chunkHeaderSize,
boolean markerRead)
deserialize from TsFileInput.
|
static int |
getSerializedSize(String measurementID) |
public static ChunkHeader deserializeFrom(InputStream inputStream, boolean markerRead) throws IOException
markerRead - Whether the marker of the CHUNK_HEADER has been readIOExceptionpublic static ChunkHeader deserializeFrom(TsFileInput input, long offset, int chunkHeaderSize, boolean markerRead) throws IOException
input - TsFileInputoffset - offsetchunkHeaderSize - the size of chunk's headermarkerRead - read marker (boolean type)IOException - IOExceptionpublic static int getSerializedSize(String measurementID)
Copyright © 2022 The Apache Software Foundation. All rights reserved.