Package | Description |
---|---|
org.eclipse.rdf4j.sparqlbuilder.core |
Core classes and interfaces for the SPARQLBuilder.
|
org.eclipse.rdf4j.sparqlbuilder.core.query | |
org.eclipse.rdf4j.sparqlbuilder.graphpattern |
Modifier and Type | Method and Description |
---|---|
static QueryPattern |
SparqlBuilder.where(GraphPattern... patterns)
Create a SPARQL query pattern
|
QueryPattern |
QueryPattern.where(GraphPattern... patterns)
Add graph patterns to this query pattern.
|
Modifier and Type | Method and Description |
---|---|
ModifyQuery |
ModifyQuery.where(GraphPattern... patterns)
Add graph patterns to this query's query pattern
|
T |
Query.where(GraphPattern... queryPatterns)
Add graph patterns to this query's query pattern
|
Modifier and Type | Interface and Description |
---|---|
interface |
TriplePattern
Denotes a SPARQL Triple Pattern
|
Modifier and Type | Class and Description |
---|---|
class |
GraphPatternNotTriples |
class |
SubSelect
A SPARQL subquery
|
Modifier and Type | Method and Description |
---|---|
default GraphPattern |
GraphPattern.and(GraphPattern... patterns)
Convert this graph pattern into a group graph pattern, combining this graph pattern with the given patterns:
|
default GraphPattern |
GraphPattern.filter(Expression<?> constraint)
Convert this graph pattern into a group graph pattern and add a filter:
|
default GraphPattern |
GraphPattern.filterExists(boolean exists,
GraphPattern... patterns)
Create an
EXISTS or NOT EXISTS filter expression with the given patterns based on the
exists paramater and add it to this graph pattern (converting this to a group graph pattern in the
process) |
default GraphPattern |
GraphPattern.filterExists(GraphPattern... patterns)
Create an
EXISTS{} filter expression with the given graph patterns and add it to this graph pattern
(converting this to a group graph pattern in the process): |
default GraphPattern |
GraphPattern.filterNotExists(GraphPattern... patterns)
Create a
NOT EXISTS{} filter expression with the given graph patterns and add it to this graph
pattern (converting this to a group graph pattern in the process): |
default GraphPattern |
GraphPattern.from(GraphName name)
Convert this graph pattern into a named group graph pattern:
|
default GraphPattern |
GraphPattern.minus(GraphPattern... patterns)
Create a
MINUS graph pattern with the given graph patterns and add it to this graph pattern
(converting this to a group graph pattern in the process): |
default GraphPattern |
GraphPattern.optional()
Convert this graph pattern into an optional group graph pattern:
|
default GraphPattern |
GraphPattern.optional(boolean isOptional)
Specify if this graph pattern should be optional.
|
default GraphPattern |
GraphPattern.union(GraphPattern... patterns)
Convert this graph pattern into an alternative graph pattern, combining this graph pattern with the given
patterns:
|
Modifier and Type | Method and Description |
---|---|
GraphPatternNotTriples |
GraphPatternNotTriples.and(GraphPattern... patterns)
Like
and(GraphPattern...) , but mutates and returns this instance |
static GraphPatternNotTriples |
GraphPatterns.and(GraphPattern... patterns)
Create a group graph pattern containing the given graph patterns
|
default GraphPattern |
GraphPattern.and(GraphPattern... patterns)
Convert this graph pattern into a group graph pattern, combining this graph pattern with the given patterns:
|
static GraphPatternNotTriples |
GraphPatterns.filterExists(boolean exists,
GraphPattern... patterns) |
default GraphPattern |
GraphPattern.filterExists(boolean exists,
GraphPattern... patterns)
Create an
EXISTS or NOT EXISTS filter expression with the given patterns based on the
exists paramater and add it to this graph pattern (converting this to a group graph pattern in the
process) |
static GraphPatternNotTriples |
GraphPatterns.filterExists(GraphPattern... patterns) |
default GraphPattern |
GraphPattern.filterExists(GraphPattern... patterns)
Create an
EXISTS{} filter expression with the given graph patterns and add it to this graph pattern
(converting this to a group graph pattern in the process): |
static GraphPatternNotTriples |
GraphPatterns.filterNotExists(GraphPattern... patterns) |
default GraphPattern |
GraphPattern.filterNotExists(GraphPattern... patterns)
Create a
NOT EXISTS{} filter expression with the given graph patterns and add it to this graph
pattern (converting this to a group graph pattern in the process): |
GraphPatternNotTriples |
GraphPatternNotTriples.minus(GraphPattern... patterns)
Like
minus(GraphPattern...) , but mutates and returns this instance |
static GraphPatternNotTriples |
GraphPatterns.minus(GraphPattern... patterns) |
default GraphPattern |
GraphPattern.minus(GraphPattern... patterns)
Create a
MINUS graph pattern with the given graph patterns and add it to this graph pattern
(converting this to a group graph pattern in the process): |
static GraphPatternNotTriples |
GraphPatterns.optional(GraphPattern... patterns)
Create an optional group graph pattern containing the given graph patterns:
|
GraphPatternNotTriples |
GraphPatternNotTriples.union(GraphPattern... patterns)
Like
union(GraphPattern...) , but mutates and returns this instance |
static GraphPatternNotTriples |
GraphPatterns.union(GraphPattern... patterns)
Create an alternative graph pattern containing the union of the given graph patterns:
|
default GraphPattern |
GraphPattern.union(GraphPattern... patterns)
Convert this graph pattern into an alternative graph pattern, combining this graph pattern with the given
patterns:
|
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.