public class NebulaMetaConnectionProvider extends Object implements Serializable
| 构造器和说明 |
|---|
NebulaMetaConnectionProvider(NebulaClientOptions nebulaClientOptions) |
| 限定符和类型 | 方法和说明 |
|---|---|
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.facebook.thrift.TExceptionpublic 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 © 2021. All rights reserved.