TableDefinition

com.google.cloud.bigquery.datatransfer.v1.datasource.ImportedDataInfo$.TableDefinition
See theTableDefinition companion object
final case class TableDefinition(tableId: String, sourceUris: Seq[String], format: Format, maxBadRecords: Int, encoding: Encoding, csvOptions: Option[CsvOptions], schema: Option[RecordSchema], ignoreUnknownValues: Option[Boolean], unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[TableDefinition]

External table definition. These tables can be referenced with 'name' in the query and can be read just like any other table.

Attributes

csvOptions

CSV specific options.

encoding

Character encoding of the input when applicable (CSV, JSON). Defaults to UTF8.

format

Describes the format of the data in source_uri.

ignoreUnknownValues

Indicates if extra values that are not represented in the table schema is allowed.

maxBadRecords

Specify the maximum number of bad records that can be ignored. If bad records exceed this threshold the query is aborted.

schema

Optional schema for the data. When not specified for JSON and CSV formats we will try to detect it automatically.

sourceUris

URIs for the data to be imported. All URIs must be from the same storage system.

tableId

BigQuery table_id (required). This will be used to reference this table in the query.

Companion:
object
Source:
ImportedDataInfo.scala
Graph
Supertypes
trait Updatable[TableDefinition]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def getField(`__field`: FieldDescriptor): PValue

Attributes

Source:
ImportedDataInfo.scala
def getFieldByNumber(`__fieldNumber`: Int): Any

Attributes

Source:
ImportedDataInfo.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source:
ImportedDataInfo.scala

Returns a human-readable ASCII format representation of this message.

Returns a human-readable ASCII format representation of this message.

The original message can be decoded from this format by using fromAscii on the companion object.

Attributes

Returns:

human-readable representation of this message.

Source:
ImportedDataInfo.scala
def withUnknownFields(`__v`: UnknownFieldSet): TableDefinition

Attributes

Source:
ImportedDataInfo.scala
def writeTo(`_output__`: CodedOutputStream): Unit

Serializes the message into the given coded output stream

Serializes the message into the given coded output stream

Attributes

Source:
ImportedDataInfo.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
final def toByteArray: Array[Byte]

Serializes the message and returns a byte array containing its raw bytes

Serializes the message and returns a byte array containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
final def toByteString: ByteString

Serializes the message and returns a ByteString containing its raw bytes

Serializes the message and returns a ByteString containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
final def toPMessage: PMessage

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala

Attributes

Inherited from:
Updatable
Source:
Lenses.scala
final def writeDelimitedTo(output: OutputStream): Unit

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
final def writeTo(output: OutputStream): Unit

Serializes the message into the given output stream

Serializes the message into the given output stream

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala