public class UdbContext extends Object
Constructor and Description |
---|
UdbContext(UnderDatabaseRegistry udbRegistry,
FileSystem fileSystem,
String type,
String connectionUri,
String udbDbName,
String dbName)
Creates an instance.
|
Modifier and Type | Method and Description |
---|---|
String |
getConnectionUri() |
String |
getDbName() |
FileSystem |
getFileSystem() |
AlluxioURI |
getTableLocation(String tableName) |
String |
getUdbDbName() |
UnderDatabaseRegistry |
getUdbRegistry() |
public UdbContext(UnderDatabaseRegistry udbRegistry, FileSystem fileSystem, String type, String connectionUri, String udbDbName, String dbName)
udbRegistry
- the udb registryfileSystem
- the alluxio fs clienttype
- the db typeconnectionUri
- the connection uri for the udbudbDbName
- name of the database in the udbdbName
- name of the database in Alluxiopublic String getDbName()
public FileSystem getFileSystem()
public UnderDatabaseRegistry getUdbRegistry()
public String getConnectionUri()
public String getUdbDbName()
public AlluxioURI getTableLocation(String tableName)
tableName
- the table nameCopyright © 2023. All Rights Reserved.