Package org.neo4j.gds.api.schema
Class MutableRelationshipSchemaEntry
- java.lang.Object
-
- org.neo4j.gds.api.schema.MutableRelationshipSchemaEntry
-
- All Implemented Interfaces:
ElementSchemaEntry<MutableRelationshipSchemaEntry,org.neo4j.gds.RelationshipType,RelationshipPropertySchema>,RelationshipSchemaEntry
public class MutableRelationshipSchemaEntry extends java.lang.Object implements RelationshipSchemaEntry
-
-
Constructor Summary
Constructors Constructor Description MutableRelationshipSchemaEntry(org.neo4j.gds.RelationshipType identifier, Direction direction)MutableRelationshipSchemaEntry(org.neo4j.gds.RelationshipType relationshipType, Direction direction, java.util.Map<java.lang.String,RelationshipPropertySchema> properties)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableRelationshipSchemaEntryaddProperty(java.lang.String propertyKey, org.neo4j.gds.api.nodeproperties.ValueType valueType, PropertyState propertyState)MutableRelationshipSchemaEntryaddProperty(java.lang.String propertyKey, RelationshipPropertySchema propertySchema)Directiondirection()booleanequals(java.lang.Object o)static MutableRelationshipSchemaEntryfrom(RelationshipSchemaEntry fromEntry)inthashCode()org.neo4j.gds.RelationshipTypeidentifier()booleanisUndirected()java.util.Map<java.lang.String,RelationshipPropertySchema>properties()java.util.Map<java.lang.String,java.lang.Object>toMap()MutableRelationshipSchemaEntryunion(MutableRelationshipSchemaEntry other)-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.neo4j.gds.api.schema.ElementSchemaEntry
unionProperties
-
-
-
-
Constructor Detail
-
MutableRelationshipSchemaEntry
public MutableRelationshipSchemaEntry(org.neo4j.gds.RelationshipType identifier, Direction direction)
-
MutableRelationshipSchemaEntry
public MutableRelationshipSchemaEntry(org.neo4j.gds.RelationshipType relationshipType, Direction direction, java.util.Map<java.lang.String,RelationshipPropertySchema> properties)
-
-
Method Detail
-
from
public static MutableRelationshipSchemaEntry from(RelationshipSchemaEntry fromEntry)
-
direction
public Direction direction()
- Specified by:
directionin interfaceRelationshipSchemaEntry
-
isUndirected
public boolean isUndirected()
- Specified by:
isUndirectedin interfaceRelationshipSchemaEntry
-
identifier
public org.neo4j.gds.RelationshipType identifier()
- Specified by:
identifierin interfaceElementSchemaEntry<MutableRelationshipSchemaEntry,org.neo4j.gds.RelationshipType,RelationshipPropertySchema>
-
properties
public java.util.Map<java.lang.String,RelationshipPropertySchema> properties()
- Specified by:
propertiesin interfaceElementSchemaEntry<MutableRelationshipSchemaEntry,org.neo4j.gds.RelationshipType,RelationshipPropertySchema>
-
union
public MutableRelationshipSchemaEntry union(MutableRelationshipSchemaEntry other)
- Specified by:
unionin interfaceElementSchemaEntry<MutableRelationshipSchemaEntry,org.neo4j.gds.RelationshipType,RelationshipPropertySchema>
-
toMap
public java.util.Map<java.lang.String,java.lang.Object> toMap()
- Specified by:
toMapin interfaceElementSchemaEntry<MutableRelationshipSchemaEntry,org.neo4j.gds.RelationshipType,RelationshipPropertySchema>
-
addProperty
public MutableRelationshipSchemaEntry addProperty(java.lang.String propertyKey, org.neo4j.gds.api.nodeproperties.ValueType valueType, PropertyState propertyState)
-
addProperty
public MutableRelationshipSchemaEntry addProperty(java.lang.String propertyKey, RelationshipPropertySchema propertySchema)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-