QueryRequest class
Describes the format of the jobs.query request.
Constructors
-
QueryRequest({List<
ConnectionProperty> ? connectionProperties, bool? continuous, bool? createSession, DatasetReference? defaultDataset, bool? dryRun, DataFormatOptions? formatOptions, String? jobCreationMode, String? kind, Map<String, String> ? labels, String? location, int? maxResults, String? maximumBytesBilled, String? parameterMode, bool? preserveNulls, String? query, List<QueryParameter> ? queryParameters, String? requestId, int? timeoutMs, bool? useLegacySql, bool? useQueryCache}) - QueryRequest.fromJson(Map json_)
Properties
-
connectionProperties
↔ List<
ConnectionProperty> ? -
Connection properties which can modify the query behavior.
getter/setter pair
- continuous ↔ bool?
-
Specifies whether the query should be executed as a continuous query.
getter/setter pair
- createSession ↔ bool?
-
If true, creates a new session using a randomly generated session_id.
getter/setter pair
- defaultDataset ↔ DatasetReference?
-
Specifies the default datasetId and projectId to assume for any
unqualified table names in the query.
getter/setter pair
- dryRun ↔ bool?
-
If set to true, BigQuery doesn't run the job.
getter/setter pair
- formatOptions ↔ DataFormatOptions?
-
Output format adjustments.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- jobCreationMode ↔ String?
-
If not set, jobs are always required.
getter/setter pair
- kind ↔ String?
-
The resource type of the request.
getter/setter pair
-
labels
↔ Map<
String, String> ? -
The labels associated with this query.
getter/setter pair
- location ↔ String?
-
The geographic location where the job should run.
getter/setter pair
- maximumBytesBilled ↔ String?
-
Limits the bytes billed for this query.
getter/setter pair
- maxResults ↔ int?
-
The maximum number of rows of data to return per page of results.
getter/setter pair
- parameterMode ↔ String?
-
GoogleSQL only.
getter/setter pair
- preserveNulls ↔ bool?
-
This property is deprecated.
getter/setter pair
- query ↔ String?
-
A query string to execute, using Google Standard SQL or legacy SQL syntax.
getter/setter pair
-
queryParameters
↔ List<
QueryParameter> ? -
Query parameters for GoogleSQL queries.
getter/setter pair
- requestId ↔ String?
-
A unique user provided identifier to ensure idempotent behavior for
queries.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeoutMs ↔ int?
-
Optional: Specifies the maximum amount of time, in milliseconds, that the
client is willing to wait for the query to complete.
getter/setter pair
- useLegacySql ↔ bool?
-
Specifies whether to use BigQuery's legacy SQL dialect for this query.
getter/setter pair
- useQueryCache ↔ bool?
-
Whether to look for the result in the query cache.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited