Package hydra.pg.dsl
Class EdgeTypeBuilder<T>
java.lang.Object
hydra.pg.dsl.ElementTypeBuilder<T,EdgeType<T>,EdgeTypeBuilder<T>>
hydra.pg.dsl.EdgeTypeBuilder<T>
- Type Parameters:
T- the type identifier type
A builder object for property graph edge types.
-
Field Summary
Fields inherited from class hydra.pg.dsl.ElementTypeBuilder
properties -
Constructor Summary
ConstructorsConstructorDescriptionEdgeTypeBuilder(EdgeLabel label, T id, VertexLabel outLabel, VertexLabel inLabel) Construct the builder object. -
Method Summary
Methods inherited from class hydra.pg.dsl.ElementTypeBuilder
property
-
Constructor Details
-
EdgeTypeBuilder
Construct the builder object.- Parameters:
label- the edge labelid- the type identifieroutLabel- the outgoing vertex labelinLabel- the incoming vertex label
-
-
Method Details
-
getThis
Description copied from class:ElementTypeBuilderReturns the concrete builder instance for fluent method chaining.- Specified by:
getThisin classElementTypeBuilder<T,EdgeType<T>, EdgeTypeBuilder<T>> - Returns:
- this builder instance
-
build
Description copied from class:ElementTypeBuilderBuilds and returns the element type with all configured property types.- Specified by:
buildin classElementTypeBuilder<T,EdgeType<T>, EdgeTypeBuilder<T>> - Returns:
- the constructed element type
-