Uses of Class
org.eclipse.rdf4j.query.algebra.StatementPattern
Package
Description
Abstract Query Algebra model.
This package contains classes for working with RDF4J query objects.
Base functionality for Sail implementations that require multi-versioned concurrency control (MVCC).
A Sail implementation that supports full-text indexing via the Lucene API.
-
Uses of StatementPattern in org.eclipse.rdf4j.federated.algebra
Modifier and TypeClassDescriptionclass
EmptyStatementPattern represents a statement that cannot produce any results for the registered endpoints.class
Represents a StatementPattern that can only produce results at a single endpoint, the owner.class
Base class providing all common functionality for FedX StatementPatternsclass
Represents statements that can produce results at a some particular endpoints, the statement sources.class
A TrueStatementPattern represents a stmt with no free variables which in addition is available at one of the provided sources.ModifierConstructorDescriptionExclusiveStatement
(StatementPattern node, StatementSource owner, QueryInfo queryInfo) FedXStatementPattern
(StatementPattern node, QueryInfo queryInfo) StatementSourcePattern
(StatementPattern node, QueryInfo queryInfo) -
Uses of StatementPattern in org.eclipse.rdf4j.federated.evaluation
Modifier and TypeMethodDescriptionSailTripleSource.getStatements
(StatementPattern stmt, BindingSet bindings, FilterValueExpr filterExpr, QueryInfo queryInfo) SparqlTripleSource.getStatements
(StatementPattern stmt, BindingSet bindings, FilterValueExpr filterExpr, QueryInfo queryInfo) 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) -
Uses of StatementPattern in org.eclipse.rdf4j.federated.evaluation.iterator
Modifier and TypeFieldDescriptionprotected final StatementPattern
StatementConversionIteration.stmt
ModifierConstructorDescriptionStatementConversionIteration
(RepositoryResult<Statement> repoResult, BindingSet bindings, StatementPattern stmt) -
Uses of StatementPattern in org.eclipse.rdf4j.federated.evaluation.union
ModifierConstructorDescriptionParallelUnionTask
(ParallelExecutor<BindingSet> unionControl, StatementPattern stmt, Endpoint endpoint, BindingSet bindings, FilterValueExpr filterExpr, QueryInfo queryInfo) -
Uses of StatementPattern in org.eclipse.rdf4j.federated.optimizer
Modifier and TypeFieldDescriptionprotected final StatementPattern
SourceSelection.ParallelCheckTask.stmt
final StatementPattern
SourceSelection.CheckTaskPair.t
Modifier and TypeFieldDescriptionprotected List
<StatementPattern> GenericInfoOptimizer.stmts
protected Map
<StatementPattern, List<StatementSource>> SourceSelection.stmtToSources
Map statements to their sources.Modifier and TypeMethodDescriptionprotected 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 TypeMethodDescriptionvoid
SourceSelection.doSourceSelection
(List<StatementPattern> stmts) Perform source selection for the provided statements using cache or remote ASK queries.ModifierConstructorDescriptionCheckTaskPair
(Endpoint e, StatementPattern t, QueryInfo queryInfo) ParallelCheckTask
(Endpoint endpoint, StatementPattern stmt, QueryInfo queryInfo, SourceSelection.SourceSelectionExecutorWithLatch control) -
Uses of StatementPattern in org.eclipse.rdf4j.federated.structures
-
Uses of StatementPattern in org.eclipse.rdf4j.federated.util
Modifier and TypeMethodDescriptionprotected 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 TypeMethodDescriptionstatic 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.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 theStatementPattern
andDataset
.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. -
Uses of StatementPattern in org.eclipse.rdf4j.query.algebra
-
Uses of StatementPattern in org.eclipse.rdf4j.query.algebra.evaluation.impl
Modifier and TypeMethodDescriptionDefaultEvaluationStrategy.evaluate
(StatementPattern statementPattern, BindingSet bindings) Deprecated.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
EvaluationStatistics.CardinalityCalculator.meet
(StatementPattern sp) void
FilterOptimizer.FilterRelocator.meet
(StatementPattern sp) Deprecated, for removal: This API element is subject to removal in a future version.void
QueryJoinOptimizer.JoinVisitor.meet
(StatementPattern node) Deprecated.protected QueryEvaluationStep
DefaultEvaluationStrategy.prepare
(StatementPattern node, QueryEvaluationContext context) -
Uses of StatementPattern in org.eclipse.rdf4j.query.algebra.evaluation.impl.evaluationsteps
Modifier and TypeMethodDescriptionStatementPatternQueryEvaluationStep.filterContextOrEqualVariables
(StatementPattern statementPattern, Value subjValue, Value predValue, Value objValue, Resource[] contexts) Generate a predicate that tests for Named contexts are matched by retrieving all statements from the store and filtering out the statements that do not have a context.ModifierConstructorDescriptionStatementPatternQueryEvaluationStep
(StatementPattern statementPattern, QueryEvaluationContext context, TripleSource tripleSource) -
Uses of StatementPattern in org.eclipse.rdf4j.query.algebra.helpers
Modifier and TypeMethodDescriptionBGPCollector.getStatementPatterns()
Deprecated, for removal: This API element is subject to removal in a future version.StatementPatternCollector.getStatementPatterns()
Deprecated, for removal: This API element is subject to removal in a future version.static List
<StatementPattern> StatementPatternCollector.process
(QueryModelNode node) Deprecated, for removal: This API element is subject to removal in a future version.Modifier and TypeMethodDescriptionprotected abstract void
StatementPatternVisitor.accept
(StatementPattern node) void
AbstractQueryModelVisitor.meet
(StatementPattern node) void
AbstractSimpleQueryModelVisitor.meet
(StatementPattern node) void
BGPCollector.meet
(StatementPattern sp) Deprecated, for removal: This API element is subject to removal in a future version.void
StatementPatternCollector.meet
(StatementPattern node) Deprecated, for removal: This API element is subject to removal in a future version.void
StatementPatternVisitor.meet
(StatementPattern node) -
Uses of StatementPattern in org.eclipse.rdf4j.query.algebra.helpers.collectors
Modifier and TypeMethodDescriptionStatementPatternCollector.getStatementPatterns()
static List
<StatementPattern> StatementPatternCollector.process
(QueryModelNode node) -
Uses of StatementPattern in org.eclipse.rdf4j.queryrender
Modifier and TypeMethodDescriptionBaseTupleExprRenderer.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 TypeMethodDescriptionvoid
BaseTupleExprRenderer.meet
(StatementPattern theStatementPattern) -
Uses of StatementPattern in org.eclipse.rdf4j.queryrender.sparql
Modifier and TypeMethodDescriptionvoid
ContextCollector.meet
(StatementPattern thePattern) void
SparqlTupleExprRenderer.meet
(StatementPattern thePattern) -
Uses of StatementPattern in org.eclipse.rdf4j.sail.base
Modifier and TypeMethodDescriptionChangeset.getObservations()
Deprecated.Use getObserved() instead! -
Uses of StatementPattern in org.eclipse.rdf4j.sail.lucene
Modifier and TypeMethodDescriptionQuerySpec.QueryParam.getBoostPattern()
QuerySpec.QueryParam.getFieldPattern()
QuerySpec.getIdPattern()
QuerySpec.getMatchesPattern()
QuerySpec.QueryParam.getPropertyPattern()
QuerySpec.QueryParam.getQueryPattern()
QuerySpec.getScorePattern()
QuerySpec.QueryParam.getSnippetPattern()
QuerySpec.getTypePattern()
QuerySpec.QueryParam.getTypePattern()
Modifier and TypeMethodDescriptionvoid
DistanceQuerySpec.setGeometryPattern
(StatementPattern sp) void
GeoRelationQuerySpec.setGeometryPattern
(StatementPattern sp) ModifierConstructorDescriptionQueryParam
(StatementPattern queryPattern, StatementPattern propertyPattern, StatementPattern snippetPattern, StatementPattern typePattern, String query, IRI property, Float boost) QueryParam
(StatementPattern fieldPattern, StatementPattern queryPattern, StatementPattern propertyPattern, StatementPattern snippetPattern, StatementPattern boostPattern, StatementPattern typePattern, String query, IRI property, Float boost) QuerySpec
(StatementPattern matchesPattern, Collection<QuerySpec.QueryParam> queryPatterns, StatementPattern scorePattern, StatementPattern typePattern, StatementPattern idPattern, Resource subject)
invalid reference