All Products
Search
Document Center

Realtime Compute for Apache Flink:PrimaryKey

Last Updated:Oct 22, 2026

Parameter

Type

Description

Example

object

The primary key of the table.

constraintName

string

The constraint name.

pk

columns

array

The primary key column group.

string

The column name.

id

constraintType

string

CONSTRAINT_TYPE_INVALID; CONSTRAINT_TYPE_PRIMARY_KEY; CONSTRAINT_TYPE_UNIQUE;

CONSTRAINT_TYPE_PRIMARY_KEY

enforced

boolean

Specifies whether the primary key constraint is enforced by the system.