Class TableDefinition (2.39.1)

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

toBuilder()

public abstract TableDefinition.Builder toBuilder()

Returns a builder for the object.

Returns
Type Description
Builder