Class com::mapd::metadata::MetaConnect

class MetaConnect

Author

michael

Public Functions

com.mapd.metadata.MetaConnect.MetaConnect(int mapdPort, String dataDir, MapDUser currentMapDUser, MapDParser parser, SockTransportProperties skT, String db)
com.mapd.metadata.MetaConnect.MetaConnect(int mapdPort, String dataDir, MapDUser currentMapDUser, MapDParser parser, SockTransportProperties skT)
List<String> com.mapd.metadata.MetaConnect.getDatabases()
Table com.mapd.metadata.MetaConnect.getTable(String tableName)
Set<String> com.mapd.metadata.MetaConnect.getTables()
TTableDetails com.mapd.metadata.MetaConnect.get_table_details(String tableName)
void com.mapd.metadata.MetaConnect.updateMetaData(String schema, String table)

Public Static Functions

static final int com.mapd.metadata.MetaConnect.get_physical_cols(int type)
static final boolean com.mapd.metadata.MetaConnect.is_geometry(int type)

Private Functions

void com.mapd.metadata.MetaConnect.connectToCatalog(String catalog)
void com.mapd.metadata.MetaConnect.disconnectFromCatalog()
void com.mapd.metadata.MetaConnect.connectToDBCatalog()
Set<String> com.mapd.metadata.MetaConnect.getTables_SQL()
TTableDetails com.mapd.metadata.MetaConnect.get_table_detail_SQL(String tableName)
TTableDetails com.mapd.metadata.MetaConnect.get_table_detail_JSON(String tableName)
int com.mapd.metadata.MetaConnect.getTableId(String tableName)
boolean com.mapd.metadata.MetaConnect.isView(String tableName)
String com.mapd.metadata.MetaConnect.getViewSql(String tableName)
String com.mapd.metadata.MetaConnect.getViewSqlViaSql(int tableId)
TDatumType com.mapd.metadata.MetaConnect.typeToThrift(int type)
void com.mapd.metadata.MetaConnect.populateDatabases()
Set<String> com.mapd.metadata.MetaConnect.getDatabases_SQL()

Private Members

final String com.mapd.metadata.MetaConnect.dataDir
final String com.mapd.metadata.MetaConnect.default_db
final MapDUser com.mapd.metadata.MetaConnect.currentUser
final int com.mapd.metadata.MetaConnect.mapdPort
Connection com.mapd.metadata.MetaConnect.catConn
final MapDParser com.mapd.metadata.MetaConnect.parser
final SockTransportProperties com.mapd.metadata.MetaConnect.sock_transport_properties

Private Static Attributes

final int com.mapd.metadata.MetaConnect.KBOOLEAN = 1
final int com.mapd.metadata.MetaConnect.KCHAR = 2
final int com.mapd.metadata.MetaConnect.KVARCHAR = 3
final int com.mapd.metadata.MetaConnect.KNUMERIC = 4
final int com.mapd.metadata.MetaConnect.KDECIMAL = 5
final int com.mapd.metadata.MetaConnect.KINT = 6
final int com.mapd.metadata.MetaConnect.KSMALLINT = 7
final int com.mapd.metadata.MetaConnect.KFLOAT = 8
final int com.mapd.metadata.MetaConnect.KDOUBLE = 9
final int com.mapd.metadata.MetaConnect.KTIME = 10
final int com.mapd.metadata.MetaConnect.KTIMESTAMP = 11
final int com.mapd.metadata.MetaConnect.KBIGINT = 12
final int com.mapd.metadata.MetaConnect.KTEXT = 13
final int com.mapd.metadata.MetaConnect.KDATE = 14
final int com.mapd.metadata.MetaConnect.KARRAY = 15
final int com.mapd.metadata.MetaConnect.KINTERVAL_DAY_TIME = 16
final int com.mapd.metadata.MetaConnect.KINTERVAL_YEAR_MONTH = 17
final int com.mapd.metadata.MetaConnect.KPOINT = 18
final int com.mapd.metadata.MetaConnect.KLINESTRING = 19
final int com.mapd.metadata.MetaConnect.KPOLYGON = 20
final int com.mapd.metadata.MetaConnect.KMULTIPOLYGON = 21
final int com.mapd.metadata.MetaConnect.KTINYINT = 22
volatile Map<String, Set<String> > com.mapd.metadata.MetaConnect.DATABASE_TO_TABLES= new ConcurrentHashMap<>()
volatile Map<List<String>, Table> com.mapd.metadata.MetaConnect.MAPD_TABLE_DETAILS= new ConcurrentHashMap<>()