Class ArrowBlock
java.lang.Object
org.apache.arrow.vector.ipc.message.ArrowBlock
- All Implemented Interfaces:
FBSerializable
Metadata for an arrow message in a channel.
-
Constructor Summary
ConstructorDescriptionArrowBlock
(long offset, int metadataLength, long bodyLength) Constructs a new instance. -
Method Summary
-
Constructor Details
-
ArrowBlock
public ArrowBlock(long offset, int metadataLength, long bodyLength) Constructs a new instance.- Parameters:
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.
-
-
Method Details
-
getOffset
public long getOffset() -
getMetadataLength
public int getMetadataLength() -
getBodyLength
public long getBodyLength() -
writeTo
public int writeTo(com.google.flatbuffers.FlatBufferBuilder builder) Description copied from interface:FBSerializable
Returns the number of bytes taken to serialize the data in builder after writing to it.- Specified by:
writeTo
in interfaceFBSerializable
-
hashCode
public int hashCode() -
equals
-