public final class BinaryGeneric<T> extends LazyBinaryFormat<T>
HIGHEST_FIRST_BIT, HIGHEST_SECOND_TO_EIGHTH_BIT, MAX_FIX_PART_DATA_SIZE| 构造器和说明 |
|---|
BinaryGeneric(org.apache.flink.core.memory.MemorySegment[] segments,
int offset,
int sizeInBytes) |
BinaryGeneric(org.apache.flink.core.memory.MemorySegment[] segments,
int offset,
int sizeInBytes,
T javaObject) |
BinaryGeneric(T javaObject) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o) |
static <T> T |
getJavaObjectFromBinaryGeneric(BinaryGeneric<T> value,
org.apache.flink.api.common.typeutils.TypeSerializer<T> ser) |
int |
hashCode() |
protected BinarySection |
materialize(org.apache.flink.api.common.typeutils.TypeSerializer<T> serializer)
Materialize java object to binary format.
|
String |
toString() |
ensureMaterialized, getBinarySection, getJavaObject, getOffset, getSegments, getSizeInBytes, setJavaObjectreadBinaryFieldFromSegments, readBinaryStringFieldFromSegmentspublic BinaryGeneric(T javaObject)
public BinaryGeneric(org.apache.flink.core.memory.MemorySegment[] segments,
int offset,
int sizeInBytes)
public BinaryGeneric(org.apache.flink.core.memory.MemorySegment[] segments,
int offset,
int sizeInBytes,
T javaObject)
protected BinarySection materialize(org.apache.flink.api.common.typeutils.TypeSerializer<T> serializer)
LazyBinaryFormatmaterialize 在类中 LazyBinaryFormat<T>public static <T> T getJavaObjectFromBinaryGeneric(BinaryGeneric<T> value, org.apache.flink.api.common.typeutils.TypeSerializer<T> ser)
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.