BigqueryJobExtract class final

extract job-type block. Exports either a table (sourceTable) or an ML model (sourceModel) to one or more Cloud Storage destinations (destinationUris, required). Provide exactly one of sourceTable / sourceModel.

Tables with nested or repeated fields cannot be exported as CSV. For Avro outputs, useAvroLogicalTypes controls how TIMESTAMP / DATETIME / etc. surface in the Avro schema.

Inheritance
Annotations
  • @immutable

Constructors

BigqueryJobExtract({required TfArg<List<String>> destinationUris, BigqueryJobDestinationTable? sourceTable, BigqueryJobSourceModel? sourceModel, BigqueryJobExtractCompression? compression, BigqueryJobExtractDestinationFormat? destinationFormat, TfArg<String>? fieldDelimiter, TfArg<bool>? printHeader, TfArg<bool>? useAvroLogicalTypes})
const

Properties

blockKey String
no setteroverride
compression BigqueryJobExtractCompression?
final
destinationFormat BigqueryJobExtractDestinationFormat?
final
destinationUris → TfArg<List<String>>
One or more GCS URIs to write the export to.
final
fieldDelimiter → TfArg<String>?
CSV only. Computed-default.
final
hashCode int
The hash code for this object.
no setterinherited
printHeader → TfArg<bool>?
CSV only. Whether to write a header row (defaults true).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceModel BigqueryJobSourceModel?
Source ML model reference. Mutually exclusive with sourceTable.
final
sourceTable BigqueryJobDestinationTable?
Source table reference. Mutually exclusive with sourceModel.
final
useAvroLogicalTypes → TfArg<bool>?
Avro only. Use Avro logical types for TIMESTAMP / DATETIME etc.
final

Methods

encode() List<Map<String, Object?>>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toArgMap() Map<String, Object?>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited