| Modifier and Type | Method and Description |
|---|---|
static ChunkGroupHeader |
ChunkGroupHeader.deserializeFrom(TsFileInput input,
long offset,
boolean markerRead)
deserialize from TsFileInput.
|
static ChunkHeader |
ChunkHeader.deserializeFrom(TsFileInput input,
long offset,
int chunkHeaderSize)
deserialize from TsFileInput, the marker has not been read.
|
| Modifier and Type | Method and Description |
|---|---|
TsFileInput |
HDFSInputFactory.getTsFileInput(String filePath) |
TsFileInput |
FileInputFactory.getTsFileInput(String filePath) |
TsFileInput |
LocalFSInputFactory.getTsFileInput(String filePath) |
| Modifier and Type | Field and Description |
|---|---|
protected TsFileInput |
TsFileSequenceReader.tsFileInput |
| Constructor and Description |
|---|
TsFileSequenceReader(TsFileInput input)
Create a file reader of the given file.
|
TsFileSequenceReader(TsFileInput input,
boolean loadMetadataSize)
construct function for TsFileSequenceReader.
|
TsFileSequenceReader(TsFileInput input,
long fileMetadataPos,
int fileMetadataSize)
construct function for TsFileSequenceReader.
|
| Modifier and Type | Class and Description |
|---|---|
class |
LocalTsFileInput |
| Modifier and Type | Method and Description |
|---|---|
TsFileInput |
TsFileInput.position(long newPosition)
Sets this input's position.
|
TsFileInput |
LocalTsFileInput.position(long newPosition) |
| Modifier and Type | Method and Description |
|---|---|
static int |
ReadWriteIOUtils.readAsPossible(TsFileInput input,
ByteBuffer buffer)
read util to the end of buffer.
|
static int |
ReadWriteIOUtils.readAsPossible(TsFileInput input,
ByteBuffer target,
long offset,
int len)
read bytes from buffer with offset position to the end of buffer or up to len.
|
static int |
ReadWriteIOUtils.readAsPossible(TsFileInput input,
long position,
ByteBuffer buffer)
read bytes from buffer with offset position to the end of buffer.
|
| Modifier and Type | Method and Description |
|---|---|
static ChunkGroupHeader |
ChunkGroupFooterV2.deserializeFrom(TsFileInput input,
long offset,
boolean markerRead)
deserialize from TsFileInput.
|
| Modifier and Type | Method and Description |
|---|---|
static ChunkHeader |
ChunkHeaderV2.deserializeFrom(TsFileInput input,
long offset,
int chunkHeaderSize,
boolean markerRead)
deserialize from TsFileInput.
|
| Constructor and Description |
|---|
TsFileSequenceReaderForV2(TsFileInput input)
Create a file reader of the given file.
|
TsFileSequenceReaderForV2(TsFileInput input,
boolean loadMetadataSize)
construct function for TsFileSequenceReader.
|
TsFileSequenceReaderForV2(TsFileInput input,
long fileMetadataPos,
int fileMetadataSize)
construct function for TsFileSequenceReader.
|
Copyright © 2022 The Apache Software Foundation. All rights reserved.