public class DerbyStore extends AbstractDBStore
baseTableMaps, catalogUri, conf, connectionId, connectionPassword, LOG
CATALOG_URI, COL_DATABASES_PK, COL_TABLES_NAME, COL_TABLES_PK, COL_TABLESPACE_PK, CONNECTION_ID, CONNECTION_PASSWORD, DEPRECATED_CATALOG_URI, DEPRECATED_CONNECTION_ID, DEPRECATED_CONNECTION_PASSWORD, IDENTIFIER_DELIMITER, IDENTIFIER_DELIMITER_REGEXP, IDENTIFIER_QUOTE_STRING, MAX_IDENTIFIER_LENGTH, MAX_USERNAME_LENGTH, STORE_CLASS, TB_COLUMNS, TB_DATABASES, TB_INDEXES, TB_META, TB_OPTIONS, TB_PARTITION_METHODS, TB_PARTTIONS, TB_SPACES, TB_STATISTICS, TB_TABLES
Constructor and Description |
---|
DerbyStore(org.apache.hadoop.conf.Configuration conf) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected void |
createBaseTable() |
protected Connection |
createConnection(org.apache.hadoop.conf.Configuration conf) |
protected void |
dropBaseTable() |
protected String |
getCatalogDriverName() |
int |
getDriverVersion() |
protected boolean |
isInitialized() |
String |
readSchemaFile(String filename) |
addFunction, addPartition, addPartitionMethod, addPartitions, alterTable, alterTablespace, createDatabase, createIndex, createTable, createTablespace, deleteFunction, delPartition, dropDatabase, dropIndex, dropPartitionMethod, dropPartitions, dropTable, dropTableInternal, dropTablespace, existDatabase, existFunction, existIndexByColumn, existIndexByName, existPartitionMethod, existTable, existTablespace, getAllDatabaseNames, getAllFunctionNames, getAllTableNames, getAllTablespaceNames, getCatalogUri, getConnection, getDatabaseIdAndUri, getIndexByColumn, getIndexByName, getIndexes, getPartition, getPartitionMethod, getPartitions, getTable, getTableName, getTablespace, insertSchemaVersion
public DerbyStore(org.apache.hadoop.conf.Configuration conf) throws InternalException
InternalException
protected String getCatalogDriverName()
getCatalogDriverName
in class AbstractDBStore
public int getDriverVersion()
getDriverVersion
in class AbstractDBStore
protected Connection createConnection(org.apache.hadoop.conf.Configuration conf) throws SQLException
createConnection
in class AbstractDBStore
SQLException
public String readSchemaFile(String filename) throws CatalogException
readSchemaFile
in class AbstractDBStore
CatalogException
protected void createBaseTable() throws CatalogException
createBaseTable
in class AbstractDBStore
CatalogException
protected void dropBaseTable() throws CatalogException
dropBaseTable
in class AbstractDBStore
CatalogException
protected boolean isInitialized() throws CatalogException
isInitialized
in class AbstractDBStore
CatalogException
public final void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in class AbstractDBStore
Copyright © 2014 Apache Software Foundation. All Rights Reserved.