Class TableDefinition (2.36.0)

public abstract class TableDefinition implements Serializable

Base class for a Google BigQuery table definition.

Inheritance

java.lang.Object > TableDefinition

Implements

Serializable

Constructors

TableDefinition()

public TableDefinition()

Methods

getSchema()

public abstract Schema getSchema()

Returns the table's schema.

Returns
TypeDescription
Schema

getType()

public abstract TableDefinition.Type getType()

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
TypeDescription
TableDefinition.Type

toBuilder()

public abstract TableDefinition.Builder toBuilder()

Returns a builder for the object.

Returns
TypeDescription
Builder