Class SpannerTableSchemaConverter
java.lang.Object
io.github.flink.gcp.connector.spanner.table.SpannerTableSchemaConverter
- All Implemented Interfaces:
Serializable
The physical DDL schema and its corresponding native Spanner types.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classOne physical column. -
Method Summary
Modifier and TypeMethodDescriptionbooleanint[]inthashCode()booleanstatic SpannerTableSchemaConverterof(org.apache.flink.table.types.logical.RowType rowType, int[] primaryKeyIndexes, com.google.cloud.spanner.Dialect dialect, List<String> jsonPaths, List<String> uuidPaths, Map<String, String> protoTypes, Map<String, String> enumTypes) Parses and validates one physical table schema, including native UUID markers.static SpannerTableSchemaConverterof(org.apache.flink.table.types.logical.RowType rowType, int[] primaryKeyIndexes, com.google.cloud.spanner.Dialect dialect, List<String> jsonPaths, Map<String, String> protoTypes, Map<String, String> enumTypes) Parses and validates one physical table schema.
-
Method Details
-
of
public static SpannerTableSchemaConverter of(org.apache.flink.table.types.logical.RowType rowType, int[] primaryKeyIndexes, com.google.cloud.spanner.Dialect dialect, List<String> jsonPaths, Map<String, String> protoTypes, Map<String, String> enumTypes) Parses and validates one physical table schema. -
of
public static SpannerTableSchemaConverter of(org.apache.flink.table.types.logical.RowType rowType, int[] primaryKeyIndexes, com.google.cloud.spanner.Dialect dialect, List<String> jsonPaths, List<String> uuidPaths, Map<String, String> protoTypes, Map<String, String> enumTypes) Parses and validates one physical table schema, including native UUID markers. -
getColumns
-
getPrimaryKeyIndexes
public int[] getPrimaryKeyIndexes() -
hasPrimaryKey
public boolean hasPrimaryKey() -
equals
-
hashCode
public int hashCode()
-