public class MergeOnReadTableState extends Object implements Serializable
| Constructor and Description |
|---|
MergeOnReadTableState(org.apache.flink.table.types.logical.RowType rowType,
org.apache.flink.table.types.logical.RowType requiredRowType,
String avroSchema,
String requiredAvroSchema,
List<MergeOnReadInputSplit> inputSplits,
String[] pkFields) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAvroSchema() |
List<MergeOnReadInputSplit> |
getInputSplits() |
int |
getOperationPos() |
int[] |
getPkOffsetsInRequired()
Get the primary key positions in required row type.
|
org.apache.flink.table.types.logical.LogicalType[] |
getPkTypes(int[] pkOffsets)
Returns the primary key fields logical type with given offsets.
|
String |
getRequiredAvroSchema() |
int[] |
getRequiredPositions() |
org.apache.flink.table.types.logical.RowType |
getRequiredRowType() |
org.apache.flink.table.types.logical.RowType |
getRowType() |
public MergeOnReadTableState(org.apache.flink.table.types.logical.RowType rowType,
org.apache.flink.table.types.logical.RowType requiredRowType,
String avroSchema,
String requiredAvroSchema,
List<MergeOnReadInputSplit> inputSplits,
String[] pkFields)
public org.apache.flink.table.types.logical.RowType getRowType()
public org.apache.flink.table.types.logical.RowType getRequiredRowType()
public String getAvroSchema()
public String getRequiredAvroSchema()
public List<MergeOnReadInputSplit> getInputSplits()
public int getOperationPos()
public int[] getRequiredPositions()
public int[] getPkOffsetsInRequired()
public org.apache.flink.table.types.logical.LogicalType[] getPkTypes(int[] pkOffsets)
pkOffsets - the pk offsets in required row typegetPkOffsetsInRequired()Copyright © 2023 The Apache Software Foundation. All rights reserved.