public class NebulaCatalog extends AbstractNebulaCatalog
address, password, username| 构造器和说明 |
|---|
NebulaCatalog(String catalogName,
String defaultDatabase,
String username,
String pwd,
String address) |
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.flink.table.catalog.CatalogDatabase |
getDatabase(String databaseName) |
org.apache.flink.table.catalog.CatalogBaseTable |
getTable(org.apache.flink.table.catalog.ObjectPath tablePath) |
List<String> |
listDatabases() |
List<String> |
listTables(String graphSpace)
show all tags and edges
|
boolean |
tableExists(org.apache.flink.table.catalog.ObjectPath tablePath)
objectName in tablePath mush start with VERTEX. or EDGE.
|
alterDatabase, alterFunction, alterPartition, alterPartitionColumnStatistics, alterPartitionStatistics, alterTable, alterTableColumnStatistics, alterTableStatistics, close, createDatabase, createFunction, createPartition, createTable, databaseExists, dropDatabase, dropDatabase, dropFunction, dropPartition, dropTable, functionExists, getAddress, getFactory, getFunction, getPartition, getPartitionColumnStatistics, getPartitionStatistics, getPassword, getTableColumnStatistics, getTableStatistics, getUsername, listFunctions, listPartitions, listPartitions, listPartitionsByFilter, listViews, open, partitionExists, renameTablepublic List<String> listDatabases() throws org.apache.flink.table.catalog.exceptions.CatalogException
org.apache.flink.table.catalog.exceptions.CatalogExceptionpublic org.apache.flink.table.catalog.CatalogDatabase getDatabase(String databaseName) throws org.apache.flink.table.catalog.exceptions.DatabaseNotExistException, org.apache.flink.table.catalog.exceptions.CatalogException
org.apache.flink.table.catalog.exceptions.DatabaseNotExistExceptionorg.apache.flink.table.catalog.exceptions.CatalogExceptionpublic boolean tableExists(org.apache.flink.table.catalog.ObjectPath tablePath)
throws org.apache.flink.table.catalog.exceptions.CatalogException
tablePath - A graphSpace name and label name.org.apache.flink.table.catalog.exceptions.CatalogExceptionpublic List<String> listTables(String graphSpace) throws org.apache.flink.table.catalog.exceptions.DatabaseNotExistException, org.apache.flink.table.catalog.exceptions.CatalogException
graphSpace - nebula graph spaceorg.apache.flink.table.catalog.exceptions.DatabaseNotExistExceptionorg.apache.flink.table.catalog.exceptions.CatalogExceptionpublic org.apache.flink.table.catalog.CatalogBaseTable getTable(org.apache.flink.table.catalog.ObjectPath tablePath)
throws org.apache.flink.table.catalog.exceptions.TableNotExistException,
org.apache.flink.table.catalog.exceptions.CatalogException
org.apache.flink.table.catalog.exceptions.TableNotExistExceptionorg.apache.flink.table.catalog.exceptions.CatalogExceptionCopyright © 2021. All rights reserved.