Package com.google.cloud.bigquery
Class TableDefinition
- java.lang.Object
-
- com.google.cloud.bigquery.TableDefinition
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ExternalTableDefinition,MaterializedViewDefinition,ModelTableDefinition,SnapshotTableDefinition,StandardTableDefinition,ViewDefinition
public abstract class TableDefinition extends Object implements Serializable
Base class for a Google BigQuery table definition.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTableDefinition.Builder<T extends TableDefinition,B extends TableDefinition.Builder<T,B>>Base builder for table definitions.static classTableDefinition.TypeThe table type.
-
Constructor Summary
Constructors Constructor Description TableDefinition()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract SchemagetSchema()Returns the table's schema.abstract TableDefinition.TypegetType()Returns the table's type.abstract TableDefinition.BuildertoBuilder()Returns a builder for the object.
-
-
-
Method Detail
-
getType
public abstract TableDefinition.Type getType()
Returns the table's type. If this table is simple table the method returnsTableDefinition.Type.TABLE. If this table is an external table this method returnsTableDefinition.Type.EXTERNAL. If this table is a view table this method returnsTableDefinition.Type.VIEW.
-
toBuilder
public abstract TableDefinition.Builder toBuilder()
Returns a builder for the object.
-
-