public final class Schema
extends com.google.api.client.json.GenericJson
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 Google Maps Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
Schema() |
| Modifier and Type | Method and Description |
|---|---|
Schema |
clone() |
java.util.List<TableColumn> |
getColumns()
An array of TableColumn objects.
|
java.lang.String |
getPrimaryGeometry()
The name of the column that contains a feature's geometry.
|
java.lang.String |
getPrimaryKey()
The name of the column that contains the unique identifier of a Feature.
|
Schema |
set(java.lang.String fieldName,
java.lang.Object value) |
Schema |
setColumns(java.util.List<TableColumn> columns)
An array of TableColumn objects.
|
Schema |
setPrimaryGeometry(java.lang.String primaryGeometry)
The name of the column that contains a feature's geometry.
|
Schema |
setPrimaryKey(java.lang.String primaryKey)
The name of the column that contains the unique identifier of a Feature.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.util.List<TableColumn> getColumns()
null for nonepublic Schema setColumns(java.util.List<TableColumn> columns)
columns - columns or null for nonepublic java.lang.String getPrimaryGeometry()
null for nonepublic Schema setPrimaryGeometry(java.lang.String primaryGeometry)
primaryGeometry - primaryGeometry or null for nonepublic java.lang.String getPrimaryKey()
null for nonepublic Schema setPrimaryKey(java.lang.String primaryKey)
primaryKey - primaryKey or null for nonepublic Schema set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Schema clone()
clone in class com.google.api.client.json.GenericJson