public abstract static class TableConstraints.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
abstract TableConstraints |
build()
Creates a
TableConstraints object. |
abstract TableConstraints.Builder |
setForeignKeys(List<ForeignKey> foreignKeys)
The list of foreign keys for the table constraints.
|
abstract TableConstraints.Builder |
setPrimaryKey(PrimaryKey primaryKey)
The primary key for the table constraints.
|
public abstract TableConstraints.Builder setForeignKeys(List<ForeignKey> foreignKeys)
public abstract TableConstraints.Builder setPrimaryKey(PrimaryKey primaryKey)
public abstract TableConstraints build()
TableConstraints
object.Copyright © 2023 Google LLC. All rights reserved.