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.
|
Constructor and Description |
---|
TableDefinition() |
Modifier and Type | Method and Description |
---|---|
abstract Schema |
getSchema()
Returns the table's schema.
|
abstract TableDefinition.Type |
getType()
Returns the table's type.
|
abstract TableDefinition.Builder |
toBuilder()
Returns a builder for the object.
|
public abstract 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
.public abstract TableDefinition.Builder toBuilder()
Copyright © 2019 Google LLC. All rights reserved.