From BigQuery Services
Members:
| Member | Type | Description |
|---|---|---|
| getCreateDisposition | String | [Optional] Whether to create the table if it doesn't already exist (CREATE_IF_NEEDED) or to require the table already exist (CREATE_NEVER). Default is CREATE_IF_NEEDED. |
| getDefaultDataset | DatasetReference | [Optional] Specifies the default dataset to assume for unqualified table names in the query. |
| getDestinationTable | TableReference | [Optional] Describes the table where the query results should be stored. If not present, a new table will be created to store the results. |
| getPriority | String | [Experimental] Specifies a priority for the query. Default is INTERACTIVE. Alternative is BATCH, which may be subject to looser quota restrictions. |
| getQuery | String | [Required] BigQuery SQL query to execute. |
| getWriteDisposition | String | [Optional] Whether to overwrite an existing table (WRITE_TRUNCATE), append to an existing table (WRITE_APPEND), or require that the the table is empty (WRITE_EMPTY). Default is WRITE_EMPTY. |
| setCreateDisposition | JobConfigurationQuery | Set the value for the field: createDisposition |
| setDefaultDataset | JobConfigurationQuery | Set the value for the field: defaultDataset |
| setDestinationTable | JobConfigurationQuery | Set the value for the field: destinationTable |
| setPriority | JobConfigurationQuery | Set the value for the field: priority |
| setQuery | JobConfigurationQuery | Set the value for the field: query |
| setWriteDisposition | JobConfigurationQuery | Set the value for the field: writeDisposition |
method getCreateDisposition()
[Optional] Whether to create the table if it doesn't already exist (CREATE_IF_NEEDED) or to require the table already exist (CREATE_NEVER). Default is CREATE_IF_NEEDED.
Return Values:
| Type | Description |
|---|---|
String | The current value for createDisposition |
method getDefaultDataset()
[Optional] Specifies the default dataset to assume for unqualified table names in the query.
Return Values:
| Type | Description |
|---|---|
DatasetReference | The current value for defaultDataset |
method getDestinationTable()
[Optional] Describes the table where the query results should be stored. If not present, a new table will be created to store the results.
Return Values:
| Type | Description |
|---|---|
TableReference | The current value for destinationTable |
method getPriority()
[Experimental] Specifies a priority for the query. Default is INTERACTIVE. Alternative is BATCH, which may be subject to looser quota restrictions.
Return Values:
| Type | Description |
|---|---|
String | The current value for priority |
method getQuery()
[Required] BigQuery SQL query to execute.
Return Values:
| Type | Description |
|---|---|
String | The current value for query |
method getWriteDisposition()
[Optional] Whether to overwrite an existing table (WRITE_TRUNCATE), append to an existing table (WRITE_APPEND), or require that the the table is empty (WRITE_EMPTY). Default is WRITE_EMPTY.
Return Values:
| Type | Description |
|---|---|
String | The current value for writeDisposition |
method setCreateDisposition(createDisposition)
Set the value for the field: createDisposition
Arguments:
| Name | Type | Description |
|---|---|---|
| createDisposition | String | [Optional] Whether to create the table if it doesn't already exist (CREATE_IF_NEEDED) or to require the table already exist (CREATE_NEVER). Default is CREATE_IF_NEEDED. |
Return Values:
| Type | Description |
|---|---|
JobConfigurationQuery | The bean object for chaining. |
method setDefaultDataset(defaultDataset)
Set the value for the field: defaultDataset
Arguments:
| Name | Type | Description |
|---|---|---|
| defaultDataset | DatasetReference | [Optional] Specifies the default dataset to assume for unqualified table names in the query. |
Return Values:
| Type | Description |
|---|---|
JobConfigurationQuery | The bean object for chaining. |
method setDestinationTable(destinationTable)
Set the value for the field: destinationTable
Arguments:
| Name | Type | Description |
|---|---|---|
| destinationTable | TableReference | [Optional] Describes the table where the query results should be stored. If not present, a new table will be created to store the results. |
Return Values:
| Type | Description |
|---|---|
JobConfigurationQuery | The bean object for chaining. |
method setPriority(priority)
Set the value for the field: priority
Arguments:
| Name | Type | Description |
|---|---|---|
| priority | String | [Experimental] Specifies a priority for the query. Default is INTERACTIVE. Alternative is BATCH, which may be subject to looser quota restrictions. |
Return Values:
| Type | Description |
|---|---|
JobConfigurationQuery | The bean object for chaining. |
method setQuery(query)
Set the value for the field: query
Arguments:
| Name | Type | Description |
|---|---|---|
| query | String | [Required] BigQuery SQL query to execute. |
Return Values:
| Type | Description |
|---|---|
JobConfigurationQuery | The bean object for chaining. |
method setWriteDisposition(writeDisposition)
Set the value for the field: writeDisposition
Arguments:
| Name | Type | Description |
|---|---|---|
| writeDisposition | String | [Optional] Whether to overwrite an existing table (WRITE_TRUNCATE), append to an existing table (WRITE_APPEND), or require that the the table is empty (WRITE_EMPTY). Default is WRITE_EMPTY. |
Return Values:
| Type | Description |
|---|---|
JobConfigurationQuery | The bean object for chaining. |