Class PropertyPathBuilder
java.lang.Object
org.eclipse.rdf4j.sparqlbuilder.constraint.propertypath.builder.PropertyPathBuilder
- Since:
- 4.0.0
- Author:
- Florian Kleedorfer
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Build the path.group()Enclose the path with`(` and `)`.inv()Invert whatever comes next (i.e.static PropertyPathBuilderstatic PropertyPathBuilderAppend`+`to the path.or(Consumer<EmptyPropertyPathBuilder> subtreeBuilder) Append`|`and the product of thesubtreeBuilderto the path.Append`|` pathto the path.or(PropertyPath path) Append`|` pathto the path.Append`|` predicateto the path.then(Consumer<EmptyPropertyPathBuilder> subtreeBuilder) Append`/`and the product of thesubtreeBuilderto the path.Append`/` pathto the path.then(PropertyPath path) Append`/` pathto the path.Append`/` predicateto the path.Append`*`to the path.Append`?`to the path.
-
Method Details
-
of
-
of
-
build
Build the path.- Returns:
-
inv
Invert whatever comes next (i.e. append^. -
then
Append`/` predicateto the path. -
then
Append`/` pathto the path. -
then
Append`/` pathto the path. -
then
Append`/`and the product of thesubtreeBuilderto the path. -
or
Append`|` predicateto the path. -
or
Append`|` pathto the path. -
or
Append`|` pathto the path. -
or
Append`|`and the product of thesubtreeBuilderto the path. -
zeroOrMore
Append`*`to the path. -
oneOrMore
Append`+`to the path. -
zeroOrOne
Append`?`to the path. -
group
Enclose the path with`(` and `)`.
-