public class BangDBDatabase extends Object
| Modifier and Type | Field and Description |
|---|---|
long |
ptdb |
| Constructor and Description |
|---|
BangDBDatabase(String dbName,
BangDBEnv env,
DBParam dbparam) |
| Modifier and Type | Method and Description |
|---|---|
void |
abortTransaction(Transaction txn) |
String |
add_udf(String udf_json) |
void |
beginTransaction(Transaction txn) |
long |
commitTransaction(Transaction txn) |
String |
del_udf(String udf_name) |
String |
describeDatabase() |
boolean |
doesTableExist(String tblName,
long tblId) |
int |
dropTable(BangDBTable tbl) |
int |
dumpData() |
String |
exec_udf(String req_json) |
String |
getName() |
int |
getNumTables(int flag) |
DBParam |
getParam() |
String |
getStats(boolean verbose) |
BangDBTable |
getTable(String tableName,
TableEnv tenv,
OpenType openType) |
TableEnv |
getTableEnv(String tblName,
long tblId) |
long |
getTableId(String tblName) |
String |
getTableList() |
String |
getTableStats(String tblName,
boolean verbose) |
TableType |
getTableType(String tblName,
long tblId) |
public BangDBTable getTable(String tableName, TableEnv tenv, OpenType openType)
public void beginTransaction(Transaction txn)
public long commitTransaction(Transaction txn)
public void abortTransaction(Transaction txn)
public int dumpData()
public int dropTable(BangDBTable tbl)
public boolean doesTableExist(String tblName, long tblId)
public int getNumTables(int flag)
public String getTableList()
public String getStats(boolean verbose)
public String describeDatabase()
public DBParam getParam()
public String getName()
public long getTableId(String tblName)
Copyright © 2021. All rights reserved.