Package com.google.cloud.bigquery
Class TableConstraints.Builder
- java.lang.Object
-
- com.google.cloud.bigquery.TableConstraints.Builder
-
- Enclosing class:
- TableConstraints
public abstract static class TableConstraints.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract TableConstraints
build()
Creates aTableConstraints
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.
-
-
-
Method Detail
-
setForeignKeys
public abstract TableConstraints.Builder setForeignKeys(List<ForeignKey> foreignKeys)
The list of foreign keys for the table constraints. *
-
setPrimaryKey
public abstract TableConstraints.Builder setPrimaryKey(PrimaryKey primaryKey)
The primary key for the table constraints. *
-
build
public abstract TableConstraints build()
Creates aTableConstraints
object.
-
-