Package org.neo4j.gds.api.schema
Interface GraphSchema
-
- All Known Subinterfaces:
MutableGraphSchema
public interface GraphSchema
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Directiondirection()static GraphSchemaempty()GraphSchemafilterNodeLabels(java.util.Set<org.neo4j.gds.NodeLabel> labelsToKeep)GraphSchemafilterRelationshipTypes(java.util.Set<org.neo4j.gds.RelationshipType> relationshipTypesToKeep)static <PS extends PropertySchema>
java.lang.StringforPropertySchema(PS propertySchema)java.util.Map<java.lang.String,PropertySchema>graphProperties()default booleanisUndirected()static MutableGraphSchemamutable()NodeSchemanodeSchema()RelationshipSchemarelationshipSchema()default java.util.Map<java.lang.String,java.lang.Object>toMap()default java.util.Map<java.lang.String,java.lang.Object>toMapOld()GraphSchemaunion(GraphSchema other)
-
-
-
Method Detail
-
nodeSchema
NodeSchema nodeSchema()
-
relationshipSchema
RelationshipSchema relationshipSchema()
-
graphProperties
java.util.Map<java.lang.String,PropertySchema> graphProperties()
-
filterNodeLabels
GraphSchema filterNodeLabels(java.util.Set<org.neo4j.gds.NodeLabel> labelsToKeep)
-
filterRelationshipTypes
GraphSchema filterRelationshipTypes(java.util.Set<org.neo4j.gds.RelationshipType> relationshipTypesToKeep)
-
union
GraphSchema union(GraphSchema other)
-
toMap
default java.util.Map<java.lang.String,java.lang.Object> toMap()
-
toMapOld
default java.util.Map<java.lang.String,java.lang.Object> toMapOld()
-
isUndirected
default boolean isUndirected()
-
direction
default Direction direction()
-
empty
static GraphSchema empty()
-
mutable
static MutableGraphSchema mutable()
-
forPropertySchema
static <PS extends PropertySchema> java.lang.String forPropertySchema(PS propertySchema)
-
-