public class ArrowBlock extends Object implements FBSerializable
| Constructor and Description |
|---|
ArrowBlock(long offset,
int metadataLength,
long bodyLength)
Constructs a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
long |
getBodyLength() |
int |
getMetadataLength() |
long |
getOffset() |
int |
hashCode() |
int |
writeTo(com.google.flatbuffers.FlatBufferBuilder builder)
Returns the number of bytes taken to serialize the data in builder after writing to it.
|
public ArrowBlock(long offset,
int metadataLength,
long bodyLength)
offset - The offset into the channel file where the block was written.metadataLength - The length of the flatbuffer metadata in the block.bodyLength - The length of data in the block.public long getOffset()
public int getMetadataLength()
public long getBodyLength()
public int writeTo(com.google.flatbuffers.FlatBufferBuilder builder)
FBSerializablewriteTo in interface FBSerializableCopyright © 2024 The Apache Software Foundation. All rights reserved.