public class FaunusSchemaManager extends Object implements SchemaInspector
| Constructor and Description |
|---|
FaunusSchemaManager(SchemaProvider provider) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsEdgeLabel(String name) |
boolean |
containsPropertyKey(String name) |
boolean |
containsRelationType(String name) |
boolean |
containsVertexLabel(String name) |
FaunusEdgeLabel |
getEdgeLabel(String name) |
FaunusEdgeLabel |
getOrCreateEdgeLabel(String name) |
FaunusPropertyKey |
getOrCreatePropertyKey(String name) |
FaunusPropertyKey |
getPropertyKey(String name) |
FaunusRelationType |
getRelationType(String name) |
static FaunusSchemaManager |
getTypeManager(Configuration config) |
FaunusVertexLabel |
getVertexLabel(String name) |
void |
setSchemaProvider(SchemaProvider provider) |
public FaunusSchemaManager(SchemaProvider provider)
public void setSchemaProvider(SchemaProvider provider)
public void clear()
public FaunusVertexLabel getVertexLabel(String name)
getVertexLabel in interface SchemaInspectorpublic boolean containsVertexLabel(String name)
containsVertexLabel in interface SchemaInspectorpublic boolean containsRelationType(String name)
containsRelationType in interface SchemaInspectorpublic FaunusRelationType getRelationType(String name)
getRelationType in interface SchemaInspectorpublic boolean containsPropertyKey(String name)
containsPropertyKey in interface SchemaInspectorpublic boolean containsEdgeLabel(String name)
containsEdgeLabel in interface SchemaInspectorpublic FaunusPropertyKey getOrCreatePropertyKey(String name)
getOrCreatePropertyKey in interface SchemaInspectorpublic FaunusPropertyKey getPropertyKey(String name)
getPropertyKey in interface SchemaInspectorpublic FaunusEdgeLabel getOrCreateEdgeLabel(String name)
getOrCreateEdgeLabel in interface SchemaInspectorpublic FaunusEdgeLabel getEdgeLabel(String name)
getEdgeLabel in interface SchemaInspectorpublic static FaunusSchemaManager getTypeManager(Configuration config)
Copyright © 2012–2016. All rights reserved.