Package | Description |
---|---|
org.apache.flink.table.catalog |
Modifier and Type | Method and Description |
---|---|
static UniqueConstraint |
UniqueConstraint.primaryKey(String name,
List<String> columns)
Creates a non enforced
ConstraintType#PRIMARY_KEY constraint. |
Modifier and Type | Method and Description |
---|---|
Optional<UniqueConstraint> |
ResolvedSchema.getPrimaryKey()
Returns the primary key if it has been defined.
|
Constructor and Description |
---|
ResolvedSchema(List<Column> columns,
List<WatermarkSpec> watermarkSpecs,
UniqueConstraint primaryKey) |
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.