Class ArrowBuffer
java.lang.Object
org.apache.arrow.vector.ipc.message.ArrowBuffer
- All Implemented Interfaces:
FBSerializable
Metadata for a buffer written to a channel.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ArrowBuffer
public ArrowBuffer(long offset, long size) Constructs a new instance.- Parameters:
offset
- The offset to the start of the buffer in the channel.size
- The size of the buffer.
-
-
Method Details
-
getOffset
public long getOffset() -
getSize
public long getSize() -
hashCode
public int hashCode() -
equals
-
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
-
toString
-