public abstract class TableDefinition extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
TableDefinition.Builder<T extends TableDefinition,B extends TableDefinition.Builder<T,B>>
Base builder for table definitions.
|
static class |
TableDefinition.Type
The table type.
|
Modifier and Type | Method and Description |
---|---|
Schema |
getSchema()
Returns the table's schema.
|
TableDefinition.Type |
getType()
Returns the table's type.
|
Schema |
schema()
Deprecated.
|
abstract TableDefinition.Builder |
toBuilder()
Returns a builder for the object.
|
String |
toString() |
TableDefinition.Type |
type()
Deprecated.
|
@Deprecated public TableDefinition.Type type()
TableDefinition.Type.TABLE
.
If this table is an external table this method returns TableDefinition.Type.EXTERNAL
. If this table is
a view table this method returns TableDefinition.Type.VIEW
.public TableDefinition.Type getType()
TableDefinition.Type.TABLE
.
If this table is an external table this method returns TableDefinition.Type.EXTERNAL
. If this table is
a view table this method returns TableDefinition.Type.VIEW
.@Deprecated public Schema schema()
public Schema getSchema()
public abstract TableDefinition.Builder toBuilder()
Copyright © 2016 Google. All rights reserved.