Uses of Class
org.eclipse.rdf4j.query.algebra.StatementPattern
Packages that use 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
Subclasses of StatementPattern in org.eclipse.rdf4j.federated.algebraModifier 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.Methods in org.eclipse.rdf4j.federated.algebra that return StatementPatternConstructors in org.eclipse.rdf4j.federated.algebra with parameters of type StatementPatternModifierConstructorDescriptionExclusiveStatement
(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
Methods in org.eclipse.rdf4j.federated.evaluation with parameters of type StatementPatternModifier 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.FederationEvalStrategy.performSourceSelection
(FedXArbitraryLengthPath pathExpr, StatementPattern stmt, List<Endpoint> members, SourceSelectionCache cache, QueryInfo queryInfo) Perform source selection on the statement pattern representing the path expression.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
Fields in org.eclipse.rdf4j.federated.evaluation.iterator declared as StatementPatternModifier and TypeFieldDescriptionprotected final StatementPattern
StatementConversionIteration.stmt
Constructors in org.eclipse.rdf4j.federated.evaluation.iterator with parameters of type StatementPatternModifierConstructorDescriptionStatementConversionIteration
(RepositoryResult<Statement> repoResult, BindingSet bindings, StatementPattern stmt) -
Uses of StatementPattern in org.eclipse.rdf4j.federated.evaluation.union
Fields in org.eclipse.rdf4j.federated.evaluation.union declared as StatementPatternConstructors in org.eclipse.rdf4j.federated.evaluation.union with parameters of type StatementPatternModifierConstructorDescriptionParallelUnionTask
(ParallelExecutor<BindingSet> unionControl, StatementPattern stmt, Endpoint endpoint, BindingSet bindings, FilterValueExpr filterExpr, QueryInfo queryInfo) -
Uses of StatementPattern in org.eclipse.rdf4j.federated.optimizer
Fields in org.eclipse.rdf4j.federated.optimizer declared as StatementPatternModifier and TypeFieldDescriptionprotected final StatementPattern
SourceSelection.ParallelCheckTask.stmt
final StatementPattern
SourceSelection.CheckTaskPair.t
Fields in org.eclipse.rdf4j.federated.optimizer with type parameters of type StatementPatternModifier and TypeFieldDescriptionprotected List
<StatementPattern> GenericInfoOptimizer.stmts
protected Map
<StatementPattern, List<StatementSource>> SourceSelection.stmtToSources
Map statements to their sources.Methods in org.eclipse.rdf4j.federated.optimizer that return types with arguments of type StatementPatternMethods in org.eclipse.rdf4j.federated.optimizer with parameters of type StatementPatternModifier 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) Method parameters in org.eclipse.rdf4j.federated.optimizer with type arguments of type StatementPatternModifier and TypeMethodDescriptionvoid
SourceSelection.doSourceSelection
(List<StatementPattern> stmts) Perform source selection for the provided statements using cache or remote ASK queries.Constructors in org.eclipse.rdf4j.federated.optimizer with parameters of type StatementPatternModifierConstructorDescriptionCheckTaskPair
(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
Constructors in org.eclipse.rdf4j.federated.structures with parameters of type StatementPattern -
Uses of StatementPattern in org.eclipse.rdf4j.federated.util
Methods in org.eclipse.rdf4j.federated.util that return StatementPatternModifier 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) Methods in org.eclipse.rdf4j.federated.util with parameters of type StatementPatternModifier 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
Methods in org.eclipse.rdf4j.query.algebra that return StatementPatternMethods in org.eclipse.rdf4j.query.algebra with parameters of type StatementPattern -
Uses of StatementPattern in org.eclipse.rdf4j.query.algebra.evaluation.impl
Methods in org.eclipse.rdf4j.query.algebra.evaluation.impl with parameters of type StatementPatternModifier and TypeMethodDescriptionprotected 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) protected QueryEvaluationStep
DefaultEvaluationStrategy.prepare
(StatementPattern node, QueryEvaluationContext context) -
Uses of StatementPattern in org.eclipse.rdf4j.query.algebra.evaluation.impl.evaluationsteps
Methods in org.eclipse.rdf4j.query.algebra.evaluation.impl.evaluationsteps with parameters of type StatementPatternModifier 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.Constructors in org.eclipse.rdf4j.query.algebra.evaluation.impl.evaluationsteps with parameters of type StatementPatternModifierConstructorDescriptionStatementPatternQueryEvaluationStep
(StatementPattern statementPattern, QueryEvaluationContext context, TripleSource tripleSource) -
Uses of StatementPattern in org.eclipse.rdf4j.query.algebra.evaluation.optimizer
Methods in org.eclipse.rdf4j.query.algebra.evaluation.optimizer with parameters of type StatementPatternModifier and TypeMethodDescriptionvoid
QueryJoinOptimizer.JoinVisitor.meet
(StatementPattern node) -
Uses of StatementPattern in org.eclipse.rdf4j.query.algebra.helpers
Methods in org.eclipse.rdf4j.query.algebra.helpers with parameters of type StatementPatternModifier and TypeMethodDescriptionprotected abstract void
StatementPatternVisitor.accept
(StatementPattern node) void
AbstractQueryModelVisitor.meet
(StatementPattern node) void
AbstractSimpleQueryModelVisitor.meet
(StatementPattern node) void
StatementPatternVisitor.meet
(StatementPattern node) -
Uses of StatementPattern in org.eclipse.rdf4j.query.algebra.helpers.collectors
Methods in org.eclipse.rdf4j.query.algebra.helpers.collectors that return types with arguments of type StatementPatternModifier and TypeMethodDescriptionBGPCollector.getStatementPatterns()
StatementPatternCollector.getStatementPatterns()
static List
<StatementPattern> StatementPatternCollector.process
(QueryModelNode node) Methods in org.eclipse.rdf4j.query.algebra.helpers.collectors with parameters of type StatementPatternModifier and TypeMethodDescriptionvoid
BGPCollector.meet
(StatementPattern sp) void
StatementPatternCollector.meet
(StatementPattern node) -
Uses of StatementPattern in org.eclipse.rdf4j.queryrender
Methods in org.eclipse.rdf4j.queryrender that return StatementPatternModifier 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.Methods in org.eclipse.rdf4j.queryrender with parameters of type StatementPatternModifier and TypeMethodDescriptionvoid
BaseTupleExprRenderer.meet
(StatementPattern theStatementPattern) -
Uses of StatementPattern in org.eclipse.rdf4j.queryrender.sparql
Methods in org.eclipse.rdf4j.queryrender.sparql with parameters of type StatementPatternModifier and TypeMethodDescriptionvoid
ContextCollector.meet
(StatementPattern thePattern) void
SparqlTupleExprRenderer.meet
(StatementPattern thePattern) -
Uses of StatementPattern in org.eclipse.rdf4j.sail.base
Methods in org.eclipse.rdf4j.sail.base that return types with arguments of type StatementPatternModifier and TypeMethodDescriptionChangeset.getObservations()
Deprecated.Use getObserved() instead! -
Uses of StatementPattern in org.eclipse.rdf4j.sail.lucene
Methods in org.eclipse.rdf4j.sail.lucene that return StatementPatternModifier 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()
Methods in org.eclipse.rdf4j.sail.lucene with parameters of type StatementPatternModifier and TypeMethodDescriptionvoid
DistanceQuerySpec.setGeometryPattern
(StatementPattern sp) void
GeoRelationQuerySpec.setGeometryPattern
(StatementPattern sp) Constructors in org.eclipse.rdf4j.sail.lucene with parameters of type StatementPatternModifierConstructorDescriptionQueryParam
(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