Class TableDefinition (2.53.0)

publicabstractclass TableDefinitionimplementsSerializable

Base class for a Google BigQuery table definition.

Inheritance

java.lang.Object > TableDefinition

Implements

Serializable

Constructors

TableDefinition()

publicTableDefinition()

Methods

getSchema()

publicabstractSchemagetSchema()

Returns the table's schema.

Returns
Type Description
Schema

getType()

publicabstractTableDefinition.TypegetType()

Returns the table's type. If this table is simple table the method returns Type#TABLE. If this table is an external table this method returns Type#EXTERNAL. If this table is a view table this method returns Type#VIEW.

Returns
Type Description
TableDefinition.Type

toBuilder()

publicabstractTableDefinition.BuildertoBuilder()

Returns a builder for the object.

Returns
Type Description
Builder

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.