public interface EngineSchema
Modifier and Type | Method and Description |
---|---|
boolean |
containEdgePropertyName(int typeIndex,
java.lang.String propertyName)
判断边类型编号对应的边属性模型列表是否存在给定的属性名。
|
boolean |
containEdgePropertyName(java.lang.String typeName,
java.lang.String propertyName)
判断边类型名对应的边属性模型列表是否存在给定的属性名。
|
boolean |
containEdgePropertySchema(int typeIndex)
判断边类型编号对应的边属性模型是否存在。
|
boolean |
containEdgePropertySchema(java.lang.String typeName)
判断边类型名对应的边属性模型是否存在。
|
boolean |
containEdgeTypeIndex(int typeIndex)
判断边类型编号是否存在。
|
boolean |
containEdgeTypeName(java.lang.String typeName)
判断边类型名是否存在。
|
boolean |
containVertexPkPropertyName(int typeIndex)
判断点类型编号对应的点主键属性模型是否存在。
|
boolean |
containVertexPkPropertyName(java.lang.String typeName)
判断点类型名对应的点主键属性模型是否存在。
|
boolean |
containVertexPropertyName(int typeIndex,
java.lang.String propertyName)
判断点类型编号对应的点属性模型列表是否存在给定的属性名。
|
boolean |
containVertexPropertyName(java.lang.String typeName,
java.lang.String propertyName)
判断点类型名对应的点属性模型列表是否存在给定的属性名。
|
boolean |
containVertexPropertySchema(int typeIndex)
判断点类型编号对应的点属性模型是否存在。
|
boolean |
containVertexPropertySchema(java.lang.String typeName)
判断点类型名对应的点属性模型是否存在。
|
boolean |
containVertexTypeIndex(int typeIndex)
判断点类型编号是否存在。
|
boolean |
containVertexTypeName(java.lang.String typeName)
判断点类型名是否存在。
|
default EnginePropertySchema |
foundVertexPkPropertySchema(int typeIndex)
查找点类型编号的主键属性模型,若为NULL则未找到。
|
default EnginePropertySchema |
foundVertexPkPropertySchema(java.lang.String typeName)
查找点类型编号的主键属性模型,若为NULL则未找到。
|
default EnginePropertySchema |
foundVertexPropertySchema(int typeIndex,
java.lang.String propertyName)
查找点类型编号的属性模型,若为NULL则未找到。
|
default EnginePropertySchema |
foundVertexPropertySchema(java.lang.String typeName,
java.lang.String propertyName)
查找点类型编号的属性模型,若为NULL则未找到。
|
default java.util.Set<java.lang.Integer> |
getAllEdgeTypeIndexes()
获取所有边类型编号。
|
default java.util.Set<java.lang.String> |
getAllEdgeTypeNames()
获取所有边类型名。
|
default java.util.Set<java.lang.Integer> |
getAllVertexTypeIndexes()
获取所有点类型编号。
|
default java.util.Set<java.lang.String> |
getAllVertexTypeNames()
获取所有点类型名。
|
java.util.Map<java.lang.String,java.util.Set<java.lang.Integer>> |
getEdgeNames()
获取所有边类型名和对应的边类型编号映射。
|
java.util.Map<java.lang.String,java.lang.Integer> |
getEdgeNames0()
获取所有边类型名和对应的边类型编号映射, 存在多个类型编号时随机返回一个。
|
default java.util.Map<java.lang.String,EnginePropertySchema> |
getEdgePropertySchemaMap(int typeIndex)
获取边类型对应的属性映射。
|
default java.util.Map<java.lang.String,EnginePropertySchema> |
getEdgePropertySchemaMap(java.lang.String typeName)
获取边类型名对应的属性映射。
|
EnginePropertySchema[] |
getEdgePropertySchemas(int typeIndex)
通过边类型编号获取边属性模型列表。
|
EnginePropertySchema[] |
getEdgePropertySchemas(java.lang.String typeName)
通过边类型名获取边属性模型列表。
|
int |
getEdgeTypeIndex(java.lang.String typeName)
通过边类型名获取边类型编号, 存在多个类型编号时随机返回一个。
|
java.util.Set<java.lang.Integer> |
getEdgeTypeIndexes(java.lang.String... typeNames)
批量通过边类型名获取边类型编号。
|
java.lang.String |
getEdgeTypeName(int typeIndex)
通过边类型编号获取边类型名。
|
java.util.Map<java.lang.Integer,java.lang.String> |
getEdgeTypes()
获取所有边类型编号和对应的边类型名映射。
|
java.util.Map<java.lang.String,java.lang.Integer> |
getVertexNames()
获取所有点类型名和对应的点类型编号映射。
|
java.lang.String |
getVertexPkPropertyName(int typeIndex)
通过点类型编号获取点主键属性名。
|
java.lang.String |
getVertexPkPropertyName(java.lang.String typeName)
通过点类型名获取点主键类型名。
|
java.util.Map<java.lang.Integer,java.lang.String> |
getVertexPkPropertyNames()
获取所有点类型编号和对应的点主键属性名映射。
|
default java.util.Map<java.lang.String,EnginePropertySchema> |
getVertexPropertySchemaMap(int typeIndex)
获取点类型对应的属性映射。
|
default java.util.Map<java.lang.String,EnginePropertySchema> |
getVertexPropertySchemaMap(java.lang.String typeName)
获取点类型名对应的属性映射。
|
EnginePropertySchema[] |
getVertexPropertySchemas(int typeIndex)
通过点类型编号获取点属性模型列表。
|
EnginePropertySchema[] |
getVertexPropertySchemas(java.lang.String typeName)
通过点类型名获取点属性模型列表。
|
int |
getVertexTypeIndex(java.lang.String typeName)
通过点类型名获取点类型编号。
|
java.util.Set<java.lang.Integer> |
getVertexTypeIndexes(java.lang.String... typeNames)
批量通过点类型名获取点类型编号。
|
java.lang.String |
getVertexTypeName(int typeIndex)
通过点类型编号获取点类型名。
|
java.util.Map<java.lang.Integer,java.lang.String> |
getVertexTypes()
获取所有点类型编号和对应的点类型名映射。
|
java.lang.String getVertexTypeName(int typeIndex)
当点类型编号不存在时会抛出点类型编号不存在异常。
typeIndex
- 点类型编号。int getVertexTypeIndex(java.lang.String typeName)
当点类型名不存在时会抛出点类型名不存在异常。
typeName
- 点类型名。java.util.Set<java.lang.Integer> getVertexTypeIndexes(java.lang.String... typeNames)
typeNames
- 点类型名。default java.util.Set<java.lang.Integer> getAllVertexTypeIndexes()
default java.util.Set<java.lang.String> getAllVertexTypeNames()
java.util.Map<java.lang.Integer,java.lang.String> getVertexTypes()
java.util.Map<java.lang.String,java.lang.Integer> getVertexNames()
java.util.Map<java.lang.Integer,java.lang.String> getVertexPkPropertyNames()
EnginePropertySchema[] getVertexPropertySchemas(int typeIndex)
当点类型编号不存在时会抛出点类型编号不存在异常。
typeIndex
- 点类型编号。EnginePropertySchema[] getVertexPropertySchemas(java.lang.String typeName)
当点类型名不存在时会抛出点类型名不存在异常。
typeName
- 点类型名。java.lang.String getVertexPkPropertyName(int typeIndex)
当点类型编号不存在时会抛出点类型编号不存在异常。
typeIndex
- 点类型编号。java.lang.String getVertexPkPropertyName(java.lang.String typeName)
typeName
- 点类型名。boolean containVertexTypeIndex(int typeIndex)
typeIndex
- 点类型编号。boolean containVertexTypeName(java.lang.String typeName)
typeName
- 点类型编号。boolean containVertexPropertyName(int typeIndex, java.lang.String propertyName)
typeIndex
- 点类型编号。propertyName
- 点属性名。boolean containVertexPropertyName(java.lang.String typeName, java.lang.String propertyName)
typeName
- 点类型名。propertyName
- 点属性名。boolean containVertexPkPropertyName(int typeIndex)
typeIndex
- 点类型编号。boolean containVertexPkPropertyName(java.lang.String typeName)
typeName
- 点类型名。boolean containVertexPropertySchema(int typeIndex)
typeIndex
- 点类型编号。boolean containVertexPropertySchema(java.lang.String typeName)
typeName
- 点类型名。default java.util.Map<java.lang.String,EnginePropertySchema> getVertexPropertySchemaMap(int typeIndex)
typeIndex
- 点类型编号。default java.util.Map<java.lang.String,EnginePropertySchema> getVertexPropertySchemaMap(java.lang.String typeName)
typeName
- 点类型名。default EnginePropertySchema foundVertexPropertySchema(int typeIndex, java.lang.String propertyName)
typeIndex
- 点类型编号。propertyName
- 点属性名。default EnginePropertySchema foundVertexPropertySchema(java.lang.String typeName, java.lang.String propertyName)
typeName
- 点类型名。propertyName
- 点属性名。default EnginePropertySchema foundVertexPkPropertySchema(int typeIndex)
typeIndex
- 点类型编号。default EnginePropertySchema foundVertexPkPropertySchema(java.lang.String typeName)
typeName
- 点类型名。java.lang.String getEdgeTypeName(int typeIndex)
当边类型编号不存在时会抛出边类型编号不存在异常。
typeIndex
- 边类型编号。int getEdgeTypeIndex(java.lang.String typeName)
当边类型名不存在时会抛出边类型名不存在异常。
typeName
- 边类型名。java.util.Set<java.lang.Integer> getEdgeTypeIndexes(java.lang.String... typeNames)
typeNames
- 边类型名。default java.util.Set<java.lang.Integer> getAllEdgeTypeIndexes()
default java.util.Set<java.lang.String> getAllEdgeTypeNames()
java.util.Map<java.lang.Integer,java.lang.String> getEdgeTypes()
java.util.Map<java.lang.String,java.lang.Integer> getEdgeNames0()
java.util.Map<java.lang.String,java.util.Set<java.lang.Integer>> getEdgeNames()
EnginePropertySchema[] getEdgePropertySchemas(int typeIndex)
当边类型编号不存在时会抛出边类型编号不存在异常。
typeIndex
- 边类型编号。EnginePropertySchema[] getEdgePropertySchemas(java.lang.String typeName)
当边类型名不存在时会抛出边类型名不存在异常。
typeName
- 边类型名。boolean containEdgeTypeIndex(int typeIndex)
typeIndex
- 边类型编号。boolean containEdgeTypeName(java.lang.String typeName)
typeName
- 边类型名。boolean containEdgePropertyName(int typeIndex, java.lang.String propertyName)
typeIndex
- 边类型编号。propertyName
- 边属性名。boolean containEdgePropertyName(java.lang.String typeName, java.lang.String propertyName)
typeName
- 边类型名。propertyName
- 边属性名。boolean containEdgePropertySchema(int typeIndex)
typeIndex
- 边类型编号。boolean containEdgePropertySchema(java.lang.String typeName)
typeName
- 边类型名。default java.util.Map<java.lang.String,EnginePropertySchema> getEdgePropertySchemaMap(int typeIndex)
typeIndex
- 边类型编号。default java.util.Map<java.lang.String,EnginePropertySchema> getEdgePropertySchemaMap(java.lang.String typeName)
typeName
- 边类型名。