|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.TableFieldSchema
public final class TableFieldSchema
Model definition for TableFieldSchema.
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the BigQuery API. For a detailed explanation see: http://code.google.com/p/google-api-java-client/wiki/Json
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData |
---|
GenericData.Flags |
Nested classes/interfaces inherited from class java.util.AbstractMap |
---|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V> |
Nested classes/interfaces inherited from interface java.util.Map |
---|
Map.Entry<K,V> |
Constructor Summary | |
---|---|
TableFieldSchema()
|
Method Summary | |
---|---|
TableFieldSchema |
clone()
|
List<TableFieldSchema> |
getFields()
[Optional] Describes the nested schema fields if the type property is set to RECORD. |
String |
getMode()
[Optional] The field mode. |
String |
getName()
[Required] The field name. |
String |
getType()
[Required] The field data type. |
TableFieldSchema |
set(String fieldName,
Object value)
|
TableFieldSchema |
setFields(List<TableFieldSchema> fields)
[Optional] Describes the nested schema fields if the type property is set to RECORD. |
TableFieldSchema |
setMode(String mode)
[Optional] The field mode. |
TableFieldSchema |
setName(String name)
[Required] The field name. |
TableFieldSchema |
setType(String type)
[Required] The field data type. |
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, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys |
Methods inherited from class java.util.AbstractMap |
---|
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TableFieldSchema()
Method Detail |
---|
public List<TableFieldSchema> getFields()
null
for nonepublic TableFieldSchema setFields(List<TableFieldSchema> fields)
fields
- fields or null
for nonepublic String getMode()
null
for nonepublic TableFieldSchema setMode(String mode)
mode
- mode or null
for nonepublic String getName()
null
for nonepublic TableFieldSchema setName(String name)
name
- name or null
for nonepublic String getType()
null
for nonepublic TableFieldSchema setType(String type)
type
- type or null
for nonepublic TableFieldSchema set(String fieldName, Object value)
set
in class GenericJson
public TableFieldSchema clone()
clone
in class GenericJson
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |