public interface TableCreatable
Modifier and Type | Method and Description |
---|---|
TableCreationBuilder |
createTable(Schema schema,
String name)
Initiates the building of a table creation operation.
|
TableCreationBuilder |
createTable(String schemaName,
String tableName)
Initiates the building of a table creation operation.
|
boolean |
isCreateTableSupported()
Determines whether table creation is supported
|
boolean isCreateTableSupported()
TableCreationBuilder createTable(Schema schema, String name) throws IllegalArgumentException, IllegalStateException
schema
- the schema to create the table inname
- the name of the new tableIllegalArgumentException
- if the table argument is null or invalid.IllegalStateException
- if the connection to the DataContext is read-only or another
access restriction is preventing the operation.TableCreationBuilder createTable(String schemaName, String tableName) throws IllegalArgumentException, IllegalStateException
schemaName
- the name of the schema to create the table intableName
- the name of the new tableIllegalArgumentException
- if the table argument is null or invalid.IllegalStateException
- if the connection to the DataContext is read-only or another
access restriction is preventing the operation.Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.