Package org.neo4j.graphalgo.api.schema
Interface RelationshipSchema
-
- All Superinterfaces:
ElementSchema<RelationshipSchema,RelationshipType,RelationshipPropertySchema>
public interface RelationshipSchema extends ElementSchema<RelationshipSchema,RelationshipType,RelationshipPropertySchema>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
RelationshipSchema.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Set<RelationshipType>
availableTypes()
static RelationshipSchema.Builder
builder()
default RelationshipSchema
filter(java.util.Set<RelationshipType> relationshipTypesToKeep)
static RelationshipSchema
of(java.util.Map<RelationshipType,java.util.Map<java.lang.String,RelationshipPropertySchema>> properties)
default RelationshipSchema
singleTypeAndProperty(RelationshipType relationshipType, java.util.Optional<java.lang.String> maybeProperty)
default RelationshipSchema
union(RelationshipSchema other)
-
Methods inherited from interface org.neo4j.graphalgo.api.schema.ElementSchema
allProperties, filterProperties, hasProperties, hasProperties, properties, propertySchemasFor, toMap, unionProperties, unionSchema
-
-
-
-
Method Detail
-
filter
default RelationshipSchema filter(java.util.Set<RelationshipType> relationshipTypesToKeep)
- Specified by:
filter
in interfaceElementSchema<RelationshipSchema,RelationshipType,RelationshipPropertySchema>
-
union
default RelationshipSchema union(RelationshipSchema other)
- Specified by:
union
in interfaceElementSchema<RelationshipSchema,RelationshipType,RelationshipPropertySchema>
-
availableTypes
default java.util.Set<RelationshipType> availableTypes()
-
singleTypeAndProperty
default RelationshipSchema singleTypeAndProperty(RelationshipType relationshipType, java.util.Optional<java.lang.String> maybeProperty)
-
of
static RelationshipSchema of(java.util.Map<RelationshipType,java.util.Map<java.lang.String,RelationshipPropertySchema>> properties)
-
builder
static RelationshipSchema.Builder builder()
-
-