Package org.apache.flink.table.api
Class Schema.UnresolvedPrimaryKey
- java.lang.Object
-
- org.apache.flink.table.api.Schema.UnresolvedConstraint
-
- org.apache.flink.table.api.Schema.UnresolvedPrimaryKey
-
- Enclosing class:
- Schema
@PublicEvolving public static final class Schema.UnresolvedPrimaryKey extends Schema.UnresolvedConstraint
Declaration of a primary key that will be resolved toUniqueConstraint
during schema resolution.
-
-
Constructor Summary
Constructors Constructor Description UnresolvedPrimaryKey(String constraintName, List<String> columnNames)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
List<String>
getColumnNames()
int
hashCode()
String
toString()
-
Methods inherited from class org.apache.flink.table.api.Schema.UnresolvedConstraint
getConstraintName
-
-
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toString
in classSchema.UnresolvedConstraint
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classSchema.UnresolvedConstraint
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classSchema.UnresolvedConstraint
-
-