| Modifier and Type | Method and Description | 
|---|---|
RecordID | 
addRecord(String tableName,
         List<DataBox> values)  | 
void | 
createTempTable(Schema schema,
               String tempTableName)
Create a temporary table within this transaction. 
 | 
void | 
deleteRecord(String tableName,
            RecordID rid)  | 
void | 
deleteTempTable(String tempTableName)  | 
void | 
end()  | 
Schema | 
getFullyQualifiedSchema(String tableName)  | 
Record | 
getRecord(String tableName,
         RecordID rid)  | 
Iterator<Record> | 
getRecordIterator(String tableName)  | 
Schema | 
getSchema(String tableName)  | 
boolean | 
isActive()  | 
QueryPlan | 
query(String tableName)
Allows the user to query a table. 
 | 
void | 
queryAs(String tableName,
       String alias)
Allows the user to provide an alias for a particular table. 
 | 
void | 
updateRecord(String tableName,
            List<DataBox> values,
            RecordID rid)  | 
public boolean isActive()
public void end()
public QueryPlan query(String tableName) throws DatabaseException
tableName - The name/alias of the table wished to be queried.DatabaseException - if table does not existpublic void queryAs(String tableName, String alias) throws DatabaseException
tableName - The original name of the table.alias - The new Aliased name.DatabaseException - if the alias already exists or the table does not.public void createTempTable(Schema schema, String tempTableName) throws DatabaseException
schema - the table schematempTableName - the name of the tableDatabaseExceptionpublic RecordID addRecord(String tableName, List<DataBox> values) throws DatabaseException
DatabaseExceptionpublic void deleteRecord(String tableName, RecordID rid) throws DatabaseException
DatabaseExceptionpublic Record getRecord(String tableName, RecordID rid) throws DatabaseException
DatabaseExceptionpublic Iterator<Record> getRecordIterator(String tableName) throws DatabaseException
DatabaseExceptionpublic void updateRecord(String tableName, List<DataBox> values, RecordID rid) throws DatabaseException
DatabaseExceptionpublic Schema getSchema(String tableName) throws DatabaseException
DatabaseExceptionpublic Schema getFullyQualifiedSchema(String tableName) throws DatabaseException
DatabaseExceptionpublic void deleteTempTable(String tempTableName)
Copyright © 2017. All rights reserved.