public class BinarySection extends Object implements BinaryFormat
| 限定符和类型 | 字段和说明 |
|---|---|
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() |
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) |
readBinaryFieldFromSegments, 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 在接口中 BinaryFormatpublic int getOffset()
getOffset 在接口中 BinaryFormatpublic int getSizeInBytes()
getSizeInBytes 在接口中 BinaryFormatCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.