Package org.neo4j.graphalgo.api.schema
Interface GraphSchema
-
public interface GraphSchema
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static GraphSchema
empty()
default GraphSchema
filterNodeLabels(java.util.Set<NodeLabel> labelsToKeep)
default GraphSchema
filterRelationshipTypes(java.util.Set<RelationshipType> relationshipTypesToKeep)
static java.lang.String
forValueType(ValueType vt)
NodeSchema
nodeSchema()
static GraphSchema
of(NodeSchema nodeSchema, RelationshipSchema relationshipSchema)
RelationshipSchema
relationshipSchema()
default java.util.Map<java.lang.String,java.lang.Object>
toMap()
default GraphSchema
union(GraphSchema other)
-
-
-
Method Detail
-
nodeSchema
NodeSchema nodeSchema()
-
relationshipSchema
RelationshipSchema relationshipSchema()
-
toMap
default java.util.Map<java.lang.String,java.lang.Object> toMap()
-
filterNodeLabels
default GraphSchema filterNodeLabels(java.util.Set<NodeLabel> labelsToKeep)
-
filterRelationshipTypes
default GraphSchema filterRelationshipTypes(java.util.Set<RelationshipType> relationshipTypesToKeep)
-
union
default GraphSchema union(GraphSchema other)
-
of
static GraphSchema of(NodeSchema nodeSchema, RelationshipSchema relationshipSchema)
-
forValueType
static java.lang.String forValueType(ValueType vt)
-
empty
static GraphSchema empty()
-
-