@Internal public class BinarySection extends Object implements BinaryFormat
BinaryFormat which describe a section of memory.| 限定符和类型 | 字段和说明 |
|---|---|
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| 构造器和说明 |
|---|
BinarySection() |
BinarySection(org.apache.flink.core.memory.MemorySegment[] segments,
int offset,
int sizeInBytes) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o) |
int |
getOffset()
Gets the start offset of this binary data in the
MemorySegments. |
org.apache.flink.core.memory.MemorySegment[] |
getSegments()
Gets the underlying
MemorySegments this binary format spans. |
int |
getSizeInBytes()
Gets the size in bytes of this binary data.
|
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) |
protected 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()
BinaryFormatMemorySegments this binary format spans.getSegments 在接口中 BinaryFormatpublic int getOffset()
BinaryFormatMemorySegments.getOffset 在接口中 BinaryFormatpublic int getSizeInBytes()
BinaryFormatgetSizeInBytes 在接口中 BinaryFormatCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.