public class NebulaMetaConnectionProvider extends Object implements Serializable
| Constructor and Description |
|---|
NebulaMetaConnectionProvider(NebulaClientOptions nebulaClientOptions) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Integer> |
getEdgeSchema(com.vesoft.nebula.client.meta.MetaClient metaClient,
String space,
String edge)
get schema info for edge
|
com.vesoft.nebula.client.meta.MetaClient |
getMetaClient() |
Map<String,Integer> |
getTagSchema(com.vesoft.nebula.client.meta.MetaClient metaClient,
String space,
String tag)
get schema info for tag
|
VidTypeEnum |
getVidType(com.vesoft.nebula.client.meta.MetaClient metaClient,
String space)
get Nebula Graph vid type
|
public NebulaMetaConnectionProvider(NebulaClientOptions nebulaClientOptions)
public com.vesoft.nebula.client.meta.MetaClient getMetaClient()
throws com.facebook.thrift.TException,
com.vesoft.nebula.client.graph.exception.ClientServerIncompatibleException,
UnknownHostException
com.facebook.thrift.TExceptioncom.vesoft.nebula.client.graph.exception.ClientServerIncompatibleExceptionUnknownHostExceptionpublic VidTypeEnum getVidType(com.vesoft.nebula.client.meta.MetaClient metaClient, String space)
space - nebula graph spaceVidTypeEnumpublic Map<String,Integer> getTagSchema(com.vesoft.nebula.client.meta.MetaClient metaClient, String space, String tag)
space - nebula graph spacetag - nebula graph tagPropertyTypeCopyright © 2022. All rights reserved.