public class Bigquery.Tabledata.List extends BigqueryRequest<TableDataList>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
USER_AGENT_SUFFIX
Modifier | Constructor and Description |
---|---|
protected |
List(String projectId,
String datasetId,
String tableId)
Retrieves table data from a specified set of rows.
|
Modifier and Type | Method and Description |
---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
String |
getDatasetId()
Dataset ID of the table to read
|
Long |
getMaxResults()
Maximum number of results to return
|
String |
getPageToken()
Page token, returned by a previous call, identifying the result set
|
String |
getProjectId()
Project ID of the table to read
|
String |
getSelectedFields()
List of fields to return (comma-separated).
|
BigInteger |
getStartIndex()
Zero-based index of the starting row to read
|
String |
getTableId()
Table ID of the table to read
|
Bigquery.Tabledata.List |
set(String parameterName,
Object value) |
Bigquery.Tabledata.List |
setAlt(String alt)
Data format for the response.
|
Bigquery.Tabledata.List |
setDatasetId(String datasetId)
Dataset ID of the table to read
|
Bigquery.Tabledata.List |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Bigquery.Tabledata.List |
setKey(String key)
API key.
|
Bigquery.Tabledata.List |
setMaxResults(Long maxResults)
Maximum number of results to return
|
Bigquery.Tabledata.List |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Bigquery.Tabledata.List |
setPageToken(String pageToken)
Page token, returned by a previous call, identifying the result set
|
Bigquery.Tabledata.List |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Bigquery.Tabledata.List |
setProjectId(String projectId)
Project ID of the table to read
|
Bigquery.Tabledata.List |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
Bigquery.Tabledata.List |
setSelectedFields(String selectedFields)
List of fields to return (comma-separated).
|
Bigquery.Tabledata.List |
setStartIndex(BigInteger startIndex)
Zero-based index of the starting row to read
|
Bigquery.Tabledata.List |
setTableId(String tableId)
Table ID of the table to read
|
Bigquery.Tabledata.List |
setUserIp(String userIp)
Deprecated.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue
clone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toString
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
protected List(String projectId, String datasetId, String tableId)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
Bigquery.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must be called to initialize this instance immediately after invoking the constructor.
projectId
- Project ID of the table to readdatasetId
- Dataset ID of the table to readtableId
- Table ID of the table to readpublic HttpResponse executeUsingHead() throws IOException
executeUsingHead
in class AbstractGoogleClientRequest<TableDataList>
IOException
public HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class AbstractGoogleClientRequest<TableDataList>
IOException
public Bigquery.Tabledata.List setAlt(String alt)
BigqueryRequest
setAlt
in class BigqueryRequest<TableDataList>
public Bigquery.Tabledata.List setFields(String fields)
BigqueryRequest
setFields
in class BigqueryRequest<TableDataList>
public Bigquery.Tabledata.List setKey(String key)
BigqueryRequest
setKey
in class BigqueryRequest<TableDataList>
public Bigquery.Tabledata.List setOauthToken(String oauthToken)
BigqueryRequest
setOauthToken
in class BigqueryRequest<TableDataList>
public Bigquery.Tabledata.List setPrettyPrint(Boolean prettyPrint)
BigqueryRequest
setPrettyPrint
in class BigqueryRequest<TableDataList>
public Bigquery.Tabledata.List setQuotaUser(String quotaUser)
BigqueryRequest
setQuotaUser
in class BigqueryRequest<TableDataList>
public Bigquery.Tabledata.List setUserIp(String userIp)
BigqueryRequest
setUserIp
in class BigqueryRequest<TableDataList>
public String getProjectId()
public Bigquery.Tabledata.List setProjectId(String projectId)
public String getDatasetId()
public Bigquery.Tabledata.List setDatasetId(String datasetId)
public String getTableId()
public Bigquery.Tabledata.List setTableId(String tableId)
public Long getMaxResults()
public Bigquery.Tabledata.List setMaxResults(Long maxResults)
public String getPageToken()
public Bigquery.Tabledata.List setPageToken(String pageToken)
public String getSelectedFields()
public Bigquery.Tabledata.List setSelectedFields(String selectedFields)
public BigInteger getStartIndex()
public Bigquery.Tabledata.List setStartIndex(BigInteger startIndex)
public Bigquery.Tabledata.List set(String parameterName, Object value)
set
in class BigqueryRequest<TableDataList>
Copyright © 2011–2019 Google. All rights reserved.