程序包 | 说明 |
---|---|
org.apache.flink.api.common.typeinfo | |
org.apache.flink.api.java.typeutils | |
org.apache.flink.api.java.typeutils.runtime | |
org.apache.flink.types |
限定符和类型 | 方法和说明 |
---|---|
static TypeInformation<Row> |
Types.ROW_NAMED(String[] fieldNames,
TypeInformation<?>... types)
Returns type information for
Row with fields of the given
types and with given names. |
static TypeInformation<Row> |
Types.ROW(TypeInformation<?>... types)
Returns type information for
Row with fields of the given
types. |
限定符和类型 | 方法和说明 |
---|---|
TypeComparator<Row> |
RowTypeInfo.createComparator(int[] logicalKeyFields,
boolean[] orders,
int logicalFieldOffset,
ExecutionConfig config) |
TypeSerializer<Row> |
RowTypeInfo.createLegacySerializer(ExecutionConfig config)
已过时。
|
TypeSerializer<Row> |
RowTypeInfo.createSerializer(ExecutionConfig config) |
protected CompositeType.TypeComparatorBuilder<Row> |
RowTypeInfo.createTypeComparatorBuilder() |
限定符和类型 | 方法和说明 |
---|---|
Row |
RowSerializer.copy(Row from) |
Row |
RowSerializer.copy(Row from,
Row reuse) |
Row |
RowSerializer.createInstance() |
Row |
RowSerializer.deserialize(DataInputView source) |
Row |
RowSerializer.deserialize(Row reuse,
DataInputView source) |
Row |
RowComparator.readWithKeyDenormalization(Row reuse,
DataInputView source) |
限定符和类型 | 方法和说明 |
---|---|
TypeSerializer<Row> |
RowSerializer.duplicate() |
TypeComparator<Row> |
RowComparator.duplicate() |
TypeSerializerSchemaCompatibility<Row> |
RowSerializer.RowSerializerConfigSnapshot.resolveSchemaCompatibility(TypeSerializer<Row> newSerializer)
已过时。
|
TypeSerializerSnapshot<Row> |
RowSerializer.snapshotConfiguration() |
限定符和类型 | 方法和说明 |
---|---|
int |
RowComparator.compare(Row first,
Row second) |
Row |
RowSerializer.copy(Row from) |
Row |
RowSerializer.copy(Row from,
Row reuse) |
Row |
RowSerializer.deserialize(Row reuse,
DataInputView source) |
boolean |
RowComparator.equalToReference(Row candidate) |
int |
RowComparator.hash(Row record) |
void |
RowComparator.putNormalizedKey(Row record,
MemorySegment target,
int offset,
int numBytes) |
Row |
RowComparator.readWithKeyDenormalization(Row reuse,
DataInputView source) |
void |
RowSerializer.serialize(Row record,
DataOutputView target) |
void |
RowComparator.setReference(Row toCompare) |
void |
RowComparator.writeWithKeyNormalization(Row record,
DataOutputView target) |
限定符和类型 | 方法和说明 |
---|---|
int |
RowComparator.compareToReference(TypeComparator<Row> referencedComparator) |
TypeSerializerSchemaCompatibility<Row> |
RowSerializer.RowSerializerConfigSnapshot.resolveSchemaCompatibility(TypeSerializer<Row> newSerializer)
已过时。
|
限定符和类型 | 方法和说明 |
---|---|
static Row |
Row.copy(Row row)
Creates a new row which is copied from another row (including its
RowKind ). |
static Row |
RowUtils.createRowWithNamedPositions(RowKind kind,
Object[] fieldByPosition,
LinkedHashMap<String,Integer> positionByName)
Internal utility for creating a row in static named-position field mode.
|
static Row |
Row.join(Row first,
Row... remainings)
Creates a new row with fields that are copied from the other rows and appended to the
resulting row in the given order.
|
static Row |
Row.of(Object... values)
Creates a fixed-length row in position-based field mode and assigns the given values to the
row's fields.
|
static Row |
Row.ofKind(RowKind kind,
Object... values)
Creates a fixed-length row in position-based field mode with given kind and assigns the given
values to the row's fields.
|
static Row |
Row.project(Row row,
int[] fieldPositions)
Creates a new row with projected fields and identical
RowKind from another row. |
static Row |
Row.project(Row row,
String[] fieldNames)
Creates a new row with projected fields and identical
RowKind from another row. |
static Row |
Row.withNames()
Creates a variable-length row in name-based field mode.
|
static Row |
Row.withNames(RowKind kind)
Creates a variable-length row in name-based field mode.
|
static Row |
Row.withPositions(int arity)
Creates a fixed-length row in position-based field mode.
|
static Row |
Row.withPositions(RowKind kind,
int arity)
Creates a fixed-length row in position-based field mode.
|
限定符和类型 | 方法和说明 |
---|---|
static Row |
Row.copy(Row row)
Creates a new row which is copied from another row (including its
RowKind ). |
static Row |
Row.join(Row first,
Row... remainings)
Creates a new row with fields that are copied from the other rows and appended to the
resulting row in the given order.
|
static Row |
Row.join(Row first,
Row... remainings)
Creates a new row with fields that are copied from the other rows and appended to the
resulting row in the given order.
|
static Row |
Row.project(Row row,
int[] fieldPositions)
Creates a new row with projected fields and identical
RowKind from another row. |
static Row |
Row.project(Row row,
String[] fieldNames)
Creates a new row with projected fields and identical
RowKind from another row. |
限定符和类型 | 方法和说明 |
---|---|
static boolean |
RowUtils.compareRows(List<Row> l1,
List<Row> l2)
|
static boolean |
RowUtils.compareRows(List<Row> l1,
List<Row> l2)
|
static boolean |
RowUtils.compareRows(List<Row> l1,
List<Row> l2,
boolean ignoreOrder)
|
static boolean |
RowUtils.compareRows(List<Row> l1,
List<Row> l2,
boolean ignoreOrder)
|
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.