Package | Description |
---|---|
org.eclipse.rdf4j.federated.algebra | |
org.eclipse.rdf4j.federated.evaluation | |
org.eclipse.rdf4j.federated.evaluation.iterator | |
org.eclipse.rdf4j.federated.evaluation.union | |
org.eclipse.rdf4j.federated.optimizer | |
org.eclipse.rdf4j.federated.structures | |
org.eclipse.rdf4j.federated.util | |
org.eclipse.rdf4j.query.algebra |
Abstract Query Algebra model.
|
org.eclipse.rdf4j.query.algebra.evaluation.impl | |
org.eclipse.rdf4j.query.algebra.helpers | |
org.eclipse.rdf4j.queryrender |
This package contains classes for working with RDF4J query objects.
|
org.eclipse.rdf4j.queryrender.builder |
This package is deprecated.
|
org.eclipse.rdf4j.queryrender.sparql | |
org.eclipse.rdf4j.sail.federation.optimizers | |
org.eclipse.rdf4j.sail.lucene |
A Sail implementation that supports full-text indexing via the Lucene API.
|
Modifier and Type | Class and Description |
---|---|
class |
EmptyStatementPattern
EmptyStatementPattern represents a statement that cannot produce any results for the registered endpoints.
|
class |
ExclusiveStatement
Represents a StatementPattern that can only produce results at a single endpoint, the owner.
|
class |
FedXStatementPattern
Base class providing all common functionality for FedX StatementPatterns
|
class |
StatementSourcePattern
Represents statements that can produce results at a some particular endpoints, the statement sources.
|
class |
TrueStatementPattern
A TrueStatementPattern represents a stmt with no free variables which in addition is available at one of the provided
sources.
|
Modifier and Type | Method and Description |
---|---|
StatementPattern |
CheckStatementPattern.getStatementPattern() |
Constructor and Description |
---|
EmptyStatementPattern(StatementPattern node) |
ExclusiveStatement(StatementPattern node,
StatementSource owner,
QueryInfo queryInfo) |
FedXStatementPattern(StatementPattern node,
QueryInfo queryInfo) |
StatementSourcePattern(StatementPattern node,
QueryInfo queryInfo) |
TrueStatementPattern(StatementPattern node) |
Modifier and Type | Method and Description |
---|---|
CloseableIteration<BindingSet,QueryEvaluationException> |
SailTripleSource.getStatements(StatementPattern stmt,
BindingSet bindings,
FilterValueExpr filterExpr,
QueryInfo queryInfo) |
CloseableIteration<BindingSet,QueryEvaluationException> |
SparqlTripleSource.getStatements(StatementPattern stmt,
BindingSet bindings,
FilterValueExpr filterExpr,
QueryInfo queryInfo) |
CloseableIteration<BindingSet,QueryEvaluationException> |
TripleSource.getStatements(StatementPattern stmt,
BindingSet bindings,
FilterValueExpr filterExpr,
QueryInfo queryInfo)
Evaluate the query expression on the provided endpoint.
|
boolean |
SailTripleSource.hasStatements(StatementPattern stmt,
BindingSet bindings,
QueryInfo queryInfo,
Dataset dataset) |
boolean |
SparqlTripleSource.hasStatements(StatementPattern stmt,
BindingSet bindings,
QueryInfo queryInfo,
Dataset dataset) |
boolean |
TripleSource.hasStatements(StatementPattern stmt,
BindingSet bindings,
QueryInfo queryInfo,
Dataset dataset)
Check if the provided statement can return results.
|
boolean |
SailTripleSource.usePreparedQuery(StatementPattern stmt,
QueryInfo queryInfo) |
boolean |
SparqlTripleSource.usePreparedQuery(StatementPattern stmt,
QueryInfo queryInfo) |
boolean |
TripleSource.usePreparedQuery(StatementPattern stmt,
QueryInfo queryInfo) |
Modifier and Type | Field and Description |
---|---|
protected StatementPattern |
StatementConversionIteration.stmt |
Constructor and Description |
---|
StatementConversionIteration(RepositoryResult<Statement> repoResult,
BindingSet bindings,
StatementPattern stmt) |
Modifier and Type | Field and Description |
---|---|
protected StatementPattern |
ParallelUnionTask.stmt |
Constructor and Description |
---|
ParallelUnionTask(ParallelExecutor<BindingSet> unionControl,
StatementPattern stmt,
Endpoint endpoint,
BindingSet bindings,
FilterValueExpr filterExpr,
QueryInfo queryInfo) |
Modifier and Type | Field and Description |
---|---|
protected StatementPattern |
SourceSelection.ParallelCheckTask.stmt |
StatementPattern |
SourceSelection.CheckTaskPair.t |
Modifier and Type | Field and Description |
---|---|
protected List<StatementPattern> |
GenericInfoOptimizer.stmts |
protected Map<StatementPattern,List<StatementSource>> |
SourceSelection.stmtToSources
Map statements to their sources.
|
Modifier and Type | Method and Description |
---|---|
List<StatementPattern> |
GenericInfoOptimizer.getStatements() |
Modifier and Type | Method and Description |
---|---|
protected void |
SourceSelection.addSource(StatementPattern stmt,
StatementSource source)
Add a source to the given statement in the map (synchronized through map)
|
void |
GenericInfoOptimizer.meet(StatementPattern node) |
Modifier and Type | Method and Description |
---|---|
void |
SourceSelection.doSourceSelection(List<StatementPattern> stmts)
Perform source selection for the provided statements using cache or remote ASK queries.
|
Constructor and Description |
---|
CheckTaskPair(Endpoint e,
StatementPattern t,
QueryInfo queryInfo) |
ParallelCheckTask(Endpoint endpoint,
StatementPattern stmt,
QueryInfo queryInfo,
SourceSelection.SourceSelectionExecutorWithLatch control) |
Constructor and Description |
---|
SubQuery(StatementPattern stmt,
Dataset dataset) |
Modifier and Type | Method and Description |
---|---|
protected static StatementPattern |
QueryAlgebraUtil.constructStatement(StatementPattern stmt,
Set<String> varNames,
BindingSet bindings)
Construct the statement string, i.e.
|
protected static StatementPattern |
QueryAlgebraUtil.constructStatementId(StatementPattern stmt,
String varID,
Set<String> varNames,
BindingSet bindings)
Construct the statement string, i.e.
|
static StatementPattern |
QueryAlgebraUtil.toStatementPattern(Resource subj,
IRI pred,
Value obj) |
static StatementPattern |
QueryAlgebraUtil.toStatementPattern(Statement stmt) |
Modifier and Type | Method and Description |
---|---|
static String |
QueryStringUtil.askQueryString(StatementPattern stmt,
BindingSet bindings,
Dataset dataset)
Construct a boolean ASK query for the provided statement.
|
protected static Union |
QueryAlgebraUtil.constructInnerUnion(StatementPattern stmt,
int outerID,
Set<String> varNames,
List<BindingSet> bindings) |
protected static String |
QueryStringUtil.constructInnerUnion(StatementPattern stmt,
int outerID,
Set<String> varNames,
List<BindingSet> bindings) |
protected static StatementPattern |
QueryAlgebraUtil.constructStatement(StatementPattern stmt,
Set<String> varNames,
BindingSet bindings)
Construct the statement string, i.e.
|
protected static String |
QueryStringUtil.constructStatement(StatementPattern stmt,
Set<String> varNames,
BindingSet bindings)
Construct the statement string, i.e.
|
protected static TupleExpr |
QueryAlgebraUtil.constructStatementCheckId(StatementPattern stmt,
int varID,
Set<String> varNames,
BindingSet bindings)
Construct the statement string, i.e.
|
protected static String |
QueryStringUtil.constructStatementCheckId(StatementPattern stmt,
int varID,
Set<String> varNames,
BindingSet bindings)
Construct the statement string, i.e.
|
protected static StatementPattern |
QueryAlgebraUtil.constructStatementId(StatementPattern stmt,
String varID,
Set<String> varNames,
BindingSet bindings)
Construct the statement string, i.e.
|
protected static String |
QueryStringUtil.constructStatementId(StatementPattern stmt,
String varID,
Set<String> varNames,
BindingSet bindings)
Construct the statement string, i.e.
|
static boolean |
QueryAlgebraUtil.hasFreeVars(StatementPattern stmt,
BindingSet bindings)
returns true iff there is at least one free variable, i.e.
|
static boolean |
QueryStringUtil.hasFreeVars(StatementPattern stmt,
BindingSet bindings)
returns true iff there is at least one free variable, i.e.
|
static TupleExpr |
QueryAlgebraUtil.selectQuery(StatementPattern stmt,
BindingSet bindings,
FilterValueExpr filterExpr,
AtomicBoolean evaluated)
Construct a SELECT query for the provided statement.
|
static TupleExpr |
QueryAlgebraUtil.selectQueryBoundUnion(StatementPattern stmt,
List<BindingSet> unionBindings,
FilterValueExpr filterExpr,
Boolean evaluated)
Construct a SELECT query expression for a bound union.
|
static String |
QueryStringUtil.selectQueryString(StatementPattern stmt,
BindingSet bindings,
FilterValueExpr filterExpr,
AtomicBoolean evaluated,
Dataset dataset)
Construct a SELECT query for the provided statement.
|
static TupleExpr |
QueryAlgebraUtil.selectQueryStringBoundCheck(StatementPattern stmt,
List<BindingSet> unionBindings)
Construct a SELECT query for a grouped bound check.
|
static String |
QueryStringUtil.selectQueryStringBoundCheck(StatementPattern stmt,
List<BindingSet> unionBindings,
Dataset dataset)
Construct a SELECT query for a grouped bound check.
|
static String |
QueryStringUtil.selectQueryStringBoundJoinVALUES(StatementPattern stmt,
List<BindingSet> unionBindings,
FilterValueExpr filterExpr,
AtomicBoolean evaluated,
Dataset dataset)
Creates a bound join subquery using the SPARQL 1.1 VALUES operator.
|
static String |
QueryStringUtil.selectQueryStringBoundUnion(StatementPattern stmt,
List<BindingSet> unionBindings,
FilterValueExpr filterExpr,
Boolean evaluated,
Dataset dataset)
Deprecated.
replaced with
#selectQueryStringBoundJoinVALUES(StatementPattern, List, FilterValueExpr, AtomicBoolean) |
static String |
QueryStringUtil.selectQueryStringLimit1(StatementPattern stmt,
BindingSet bindings,
Dataset dataset)
Construct a SELECT query for the provided statement with LIMIT 1.
|
static Resource[] |
FedXUtil.toContexts(StatementPattern stmt,
Dataset dataset)
Retrieve the contexts from the
StatementPattern and Dataset . |
static Dataset |
FedXUtil.toDataset(StatementPattern stmt,
Dataset dataset)
|
static Statement |
QueryAlgebraUtil.toStatement(StatementPattern stmt) |
static Statement |
QueryAlgebraUtil.toStatement(StatementPattern stmt,
BindingSet bindings) |
static String |
QueryStringUtil.toString(StatementPattern stmt)
Return a string representation of this statement using the following pattern, where variables are indicated using
?var and values are represented as strings.
|
Modifier and Type | Method and Description |
---|---|
StatementPattern |
StatementPattern.clone() |
Modifier and Type | Method and Description |
---|---|
void |
QueryModelVisitor.meet(StatementPattern node) |
Modifier and Type | Method and Description |
---|---|
CloseableIteration<BindingSet,QueryEvaluationException> |
StrictEvaluationStrategy.evaluate(StatementPattern statementPattern,
BindingSet bindings) |
protected double |
EvaluationStatistics.CardinalityCalculator.getCardinality(StatementPattern sp) |
protected double |
EvaluationStatistics.CardinalityCalculator.getContextCardinality(StatementPattern sp)
Override this if you are able to determine the cardinality based not only on the contextVar itself but also
the other vars (e.g.
|
protected double |
EvaluationStatistics.CardinalityCalculator.getObjectCardinality(StatementPattern sp)
Override this if you are able to determine the cardinality based not only on the objectVar itself but also
the other vars (e.g.
|
protected double |
EvaluationStatistics.CardinalityCalculator.getPredicateCardinality(StatementPattern sp)
Override this if you are able to determine the cardinality based not only on the predicateVar itself but also
the other vars (e.g.
|
protected double |
EvaluationStatistics.CardinalityCalculator.getSubjectCardinality(StatementPattern sp)
Override this if you are able to determine the cardinality based not only on the subjectVar itself but also
the other vars (e.g.
|
void |
QueryJoinOptimizer.JoinVisitor.meet(StatementPattern node)
Deprecated.
|
void |
EvaluationStatistics.CardinalityCalculator.meet(StatementPattern sp) |
Modifier and Type | Method and Description |
---|---|
List<StatementPattern> |
BGPCollector.getStatementPatterns() |
List<StatementPattern> |
StatementPatternCollector.getStatementPatterns() |
static List<StatementPattern> |
StatementPatternCollector.process(QueryModelNode node) |
Modifier and Type | Method and Description |
---|---|
void |
BGPCollector.meet(StatementPattern sp) |
void |
StatementPatternCollector.meet(StatementPattern node) |
void |
AbstractQueryModelVisitor.meet(StatementPattern node) |
Modifier and Type | Method and Description |
---|---|
StatementPattern |
BaseTupleExprRenderer.toStatementPattern(ProjectionElemList theList)
Turn a ProjectionElemList for a construct query projection (three elements aliased as 'subject', 'predicate' and
'object' in that order) into a StatementPattern.
|
Modifier and Type | Method and Description |
---|---|
void |
BaseTupleExprRenderer.meet(StatementPattern theStatementPattern) |
Modifier and Type | Field and Description |
---|---|
protected List<StatementPattern> |
AbstractQueryBuilder.mProjectionPatterns
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Collection<StatementPattern> |
BasicGroup.getPatterns()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
GroupBuilder<T,E> |
GroupBuilder.atom(StatementPattern... thePatterns)
Deprecated.
|
GroupBuilder<T,E> |
GroupBuilder.atom(StatementPattern thePattern)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
GroupBuilder<T,E> |
GroupBuilder.atoms(Set<StatementPattern> thePatterns)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
SparqlTupleExprRenderer.meet(StatementPattern thePattern) |
void |
ContextCollector.meet(StatementPattern thePattern) |
Modifier and Type | Method and Description |
---|---|
protected double |
EvaluationStatistics.CardinalityCalculator.getCardinality(StatementPattern pattern) |
void |
PrepareOwnedTupleExpr.meet(StatementPattern node) |
void |
EmptyPatternOptimizer.meet(StatementPattern node) |
void |
EvaluationStatistics.CardinalityCalculator.meet(StatementPattern pattern) |
Modifier and Type | Method and Description |
---|---|
StatementPattern |
QuerySpec.getMatchesPattern() |
StatementPattern |
QuerySpec.getPropertyPattern() |
StatementPattern |
QuerySpec.getQueryPattern() |
StatementPattern |
QuerySpec.getScorePattern() |
StatementPattern |
QuerySpec.getSnippetPattern() |
StatementPattern |
QuerySpec.getTypePattern() |
Modifier and Type | Method and Description |
---|---|
void |
GeoRelationQuerySpec.setGeometryPattern(StatementPattern sp) |
void |
DistanceQuerySpec.setGeometryPattern(StatementPattern sp) |
Constructor and Description |
---|
QuerySpec(StatementPattern matchesPattern,
StatementPattern queryPattern,
StatementPattern propertyPattern,
StatementPattern scorePattern,
StatementPattern snippetPattern,
StatementPattern typePattern,
Resource subject,
String queryString,
IRI propertyURI) |
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.