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 PropertyPathBuilder
static PropertyPathBuilder
Append`+`
to the path.or
(Consumer<EmptyPropertyPathBuilder> subtreeBuilder) Append`|`
and the product of thesubtreeBuilder
to the path.Append`|` path
to the path.or
(PropertyPath path) Append`|` path
to the path.Append`|` predicate
to the path.then
(Consumer<EmptyPropertyPathBuilder> subtreeBuilder) Append`/`
and the product of thesubtreeBuilder
to the path.Append`/` path
to the path.then
(PropertyPath path) Append`/` path
to the path.Append`/` predicate
to 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`/` predicate
to the path. -
then
Append`/` path
to the path. -
then
Append`/` path
to the path. -
then
Append`/`
and the product of thesubtreeBuilder
to the path. -
or
Append`|` predicate
to the path. -
or
Append`|` path
to the path. -
or
Append`|` path
to the path. -
or
Append`|`
and the product of thesubtreeBuilder
to the path. -
zeroOrMore
Append`*`
to the path. -
oneOrMore
Append`+`
to the path. -
zeroOrOne
Append`?`
to the path. -
group
Enclose the path with`(` and `)`
.
-