target.apidocs.com.google.api.services.bigquery.model.TableConstraints.PrimaryKey.html Maven / Gradle / Ivy
TableConstraints.PrimaryKey (BigQuery API v2-rev20240616-2.0.0)
com.google.api.services.bigquery.model
Class TableConstraints.PrimaryKey
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.bigquery.model.TableConstraints.PrimaryKey
-
- Enclosing class:
- TableConstraints
public static final class TableConstraints.PrimaryKey
extends com.google.api.client.json.GenericJson
Represents the primary key constraint on a table's columns.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
PrimaryKey()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
TableConstraints.PrimaryKey
clone()
List<String>
getColumns()
Required.
TableConstraints.PrimaryKey
set(String fieldName,
Object value)
TableConstraints.PrimaryKey
setColumns(List<String> columns)
Required.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getColumns
public List<String> getColumns()
Required. The columns that are composed of the primary key constraint.
- Returns:
- value or
null
for none
-
setColumns
public TableConstraints.PrimaryKey setColumns(List<String> columns)
Required. The columns that are composed of the primary key constraint.
- Parameters:
columns
- columns or null
for none
-
set
public TableConstraints.PrimaryKey set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public TableConstraints.PrimaryKey clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.