public class BinarySection extends Object implements BinaryFormat
| Modifier and Type | Field and Description |
|---|---|
protected int |
offset |
protected org.apache.flink.core.memory.MemorySegment[] |
segments |
protected int |
sizeInBytes |
HIGHEST_FIRST_BIT, HIGHEST_SECOND_TO_EIGHTH_BIT, MAX_FIX_PART_DATA_SIZE| Constructor and Description |
|---|
BinarySection() |
BinarySection(org.apache.flink.core.memory.MemorySegment[] segments,
int offset,
int sizeInBytes) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
getOffset() |
org.apache.flink.core.memory.MemorySegment[] |
getSegments() |
int |
getSizeInBytes() |
int |
hashCode() |
void |
pointTo(org.apache.flink.core.memory.MemorySegment[] segments,
int offset,
int sizeInBytes) |
void |
pointTo(org.apache.flink.core.memory.MemorySegment segment,
int offset,
int sizeInBytes) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitreadBinaryFieldFromSegments, readBinaryStringFieldFromSegmentsprotected org.apache.flink.core.memory.MemorySegment[] segments
protected int offset
protected int sizeInBytes
public BinarySection()
public BinarySection(org.apache.flink.core.memory.MemorySegment[] segments,
int offset,
int sizeInBytes)
public final void pointTo(org.apache.flink.core.memory.MemorySegment segment,
int offset,
int sizeInBytes)
public void pointTo(org.apache.flink.core.memory.MemorySegment[] segments,
int offset,
int sizeInBytes)
public org.apache.flink.core.memory.MemorySegment[] getSegments()
getSegments in interface BinaryFormatpublic int getOffset()
getOffset in interface BinaryFormatpublic int getSizeInBytes()
getSizeInBytes in interface BinaryFormatCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.