public abstract class ConnectionSettings extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ConnectionSettings.Builder |
Modifier and Type | Method and Description |
---|---|
abstract Boolean |
getAllowLargeResults()
Returns whether the job is enabled to create arbitrarily large results.
|
abstract Clustering |
getClustering()
Returns the clustering specification for the destination table.
|
abstract List<ConnectionProperty> |
getConnectionProperties()
Returns the connection properties for connection string with this query
|
abstract JobInfo.CreateDisposition |
getCreateDisposition()
Returns whether the job is allowed to create new tables.
|
abstract Boolean |
getCreateSession()
Returns whether to create a new session.
|
abstract DatasetId |
getDefaultDataset()
Returns the default dataset
|
abstract EncryptionConfiguration |
getDestinationEncryptionConfiguration()
Returns the custom encryption configuration (e.g., Cloud KMS keys)
|
abstract TableId |
getDestinationTable()
Returns the table where to put query results.
|
abstract Boolean |
getFlattenResults()
Returns whether nested and repeated fields should be flattened.
|
abstract Long |
getJobTimeoutMs()
Returns the timeout associated with this job
|
abstract Integer |
getMaximumBillingTier()
Returns the optional billing tier limit for this job.
|
abstract Long |
getMaximumBytesBilled()
Returns the limits the bytes billed for this job
|
abstract Integer |
getMaxResultPerPage() |
abstract Long |
getMaxResults()
Returns the maximum number of rows of data
|
abstract Integer |
getMinResultSize() |
abstract Integer |
getNumBufferedRows()
Returns the number of rows of data to pre-fetch
|
abstract QueryJobConfiguration.Priority |
getPriority()
Returns the query priority.
|
abstract RangePartitioning |
getRangePartitioning()
Returns the range partitioning specification for the table
|
abstract Long |
getRequestTimeout()
Returns the synchronous response timeoutMs associated with this query
|
abstract List<JobInfo.SchemaUpdateOption> |
getSchemaUpdateOptions()
[Experimental] Returns options allowing the schema of the destination table to be updated as a
side effect of the query job.
|
abstract Map<String,ExternalTableDefinition> |
getTableDefinitions()
Returns the external tables definitions.
|
abstract TimePartitioning |
getTimePartitioning()
Returns the time partitioning specification for the destination table.
|
abstract Integer |
getTotalToPageRowCountRatio() |
abstract Boolean |
getUseQueryCache()
Returns whether to look for the result in the query cache
|
abstract List<UserDefinedFunction> |
getUserDefinedFunctions()
Returns user defined function resources that can be used by this query.
|
abstract Boolean |
getUseReadAPI()
Returns useReadAPI flag, enabled by default.
|
abstract JobInfo.WriteDisposition |
getWriteDisposition()
Returns the action that should occur if the destination table already exists.
|
static ConnectionSettings.Builder |
newBuilder()
Returns a builder for a
ConnectionSettings object. |
abstract ConnectionSettings.Builder |
toBuilder()
Returns a builder pre-populated using the current values of this field.
|
@Nullable public abstract Boolean getUseReadAPI()
@Nullable public abstract Long getRequestTimeout()
@Nullable public abstract List<ConnectionProperty> getConnectionProperties()
@Nullable public abstract DatasetId getDefaultDataset()
@Nullable public abstract Long getMaximumBytesBilled()
@Nullable public abstract Long getMaxResults()
@Nullable public abstract Integer getNumBufferedRows()
@Nullable public abstract Boolean getUseQueryCache()
@Nullable public abstract Boolean getFlattenResults()
false
ConnectionSettings.Builder.setAllowLargeResults(Boolean)
must be true
.@Nullable public abstract Clustering getClustering()
@Nullable public abstract JobInfo.CreateDisposition getCreateDisposition()
@Nullable public abstract EncryptionConfiguration getDestinationEncryptionConfiguration()
@Nullable public abstract TableId getDestinationTable()
allowLargeResults()
is true
.@Nullable public abstract Long getJobTimeoutMs()
@Nullable public abstract Integer getMaximumBillingTier()
@Nullable public abstract QueryJobConfiguration.Priority getPriority()
@Nullable public abstract Boolean getAllowLargeResults()
true
the
query is allowed to create large results at a slight cost in performance. the query is allowed
to create large results at a slight cost in performance.@Nullable public abstract Boolean getCreateSession()
@Nullable public abstract RangePartitioning getRangePartitioning()
@Nullable public abstract List<JobInfo.SchemaUpdateOption> getSchemaUpdateOptions()
@Nullable public abstract Map<String,ExternalTableDefinition> getTableDefinitions()
@Nullable public abstract TimePartitioning getTimePartitioning()
@Nullable public abstract List<UserDefinedFunction> getUserDefinedFunctions()
UserDefinedFunction.Type.INLINE
) or loaded from a Google
Cloud Storage URI (UserDefinedFunction.Type.FROM_URI
.@Nullable public abstract JobInfo.WriteDisposition getWriteDisposition()
public abstract ConnectionSettings.Builder toBuilder()
public static ConnectionSettings.Builder newBuilder()
ConnectionSettings
object.Copyright © 2023 Google LLC. All rights reserved.