## Uses of Class
org.eclipse.rdf4j.query.algebra.StatementPattern

- Packages that use StatementPattern
  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.

- - ### Uses of StatementPattern in org.eclipse.rdf4j.federated.algebra

    Subclasses of StatementPattern in org.eclipse.rdf4j.federated.algebra
    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.

    Methods in org.eclipse.rdf4j.federated.algebra that return StatementPattern
    Modifier and Type | Method and Description
    --- | ---
    `StatementPattern` | CheckStatementPattern.`getStatementPattern()`

    Constructors in org.eclipse.rdf4j.federated.algebra with parameters of type StatementPattern
    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)`

  - ### Uses of StatementPattern in org.eclipse.rdf4j.federated.evaluation

    Methods in org.eclipse.rdf4j.federated.evaluation with parameters of type StatementPattern
    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)`

  - ### Uses of StatementPattern in org.eclipse.rdf4j.federated.evaluation.iterator

    Fields in org.eclipse.rdf4j.federated.evaluation.iterator declared as StatementPattern
    Modifier and Type | Field and Description
    --- | ---
    `protected StatementPattern` | StatementConversionIteration.`stmt`

    Constructors in org.eclipse.rdf4j.federated.evaluation.iterator with parameters of type StatementPattern
    Constructor and Description
    `StatementConversionIteration(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 StatementPattern
    Modifier and Type | Field and Description
    --- | ---
    `protected StatementPattern` | ParallelUnionTask.`stmt`

    Constructors in org.eclipse.rdf4j.federated.evaluation.union with parameters of type StatementPattern
    Constructor and Description
    `ParallelUnionTask(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 StatementPattern
    Modifier and Type | Field and Description
    --- | ---
    `protected StatementPattern` | SourceSelection.ParallelCheckTask.`stmt`
    `StatementPattern` | SourceSelection.CheckTaskPair.`t`

    Fields in org.eclipse.rdf4j.federated.optimizer with type parameters of type StatementPattern
    Modifier and Type | Field and Description
    --- | ---
    `protected 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 StatementPattern
    Modifier and Type | Method and Description
    --- | ---
    `List<StatementPattern>` | GenericInfoOptimizer.`getStatements()`

    Methods in org.eclipse.rdf4j.federated.optimizer with parameters of type StatementPattern
    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)`

    Method parameters in org.eclipse.rdf4j.federated.optimizer with type arguments of type StatementPattern
    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.

    Constructors in org.eclipse.rdf4j.federated.optimizer with parameters of type StatementPattern
    Constructor and Description
    `CheckTaskPair(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
    Constructor and Description
    `SubQuery(StatementPattern stmt, Dataset dataset)`

  - ### Uses of StatementPattern in org.eclipse.rdf4j.federated.util

    Methods in org.eclipse.rdf4j.federated.util that return StatementPattern
    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)`

    Methods in org.eclipse.rdf4j.federated.util with parameters of type StatementPattern
    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)` Returns a `Dataset` representation of the given `StatementPattern` and `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 StatementPattern
    Modifier and Type | Method and Description
    --- | ---
    `StatementPattern` | StatementPattern.`clone()`

    Methods in org.eclipse.rdf4j.query.algebra with parameters of type StatementPattern
    Modifier and Type | Method and Description
    --- | ---
    `void` | QueryModelVisitor.`meet(StatementPattern node)`

  - ### Uses of StatementPattern in org.eclipse.rdf4j.query.algebra.evaluation.impl

    Methods in org.eclipse.rdf4j.query.algebra.evaluation.impl with parameters of type StatementPattern
    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)`

  - ### Uses of StatementPattern in org.eclipse.rdf4j.query.algebra.helpers

    Methods in org.eclipse.rdf4j.query.algebra.helpers that return types with arguments of type StatementPattern
    Modifier and Type | Method and Description
    --- | ---
    `List<StatementPattern>` | BGPCollector.`getStatementPatterns()`
    `List<StatementPattern>` | StatementPatternCollector.`getStatementPatterns()`
    `static List<StatementPattern>` | StatementPatternCollector.`process(QueryModelNode node)`

    Methods in org.eclipse.rdf4j.query.algebra.helpers with parameters of type StatementPattern
    Modifier and Type | Method and Description
    --- | ---
    `void` | BGPCollector.`meet(StatementPattern sp)`
    `void` | StatementPatternCollector.`meet(StatementPattern node)`
    `void` | AbstractQueryModelVisitor.`meet(StatementPattern node)`

  - ### Uses of StatementPattern in org.eclipse.rdf4j.queryrender

    Methods in org.eclipse.rdf4j.queryrender that return StatementPattern
    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.

    Methods in org.eclipse.rdf4j.queryrender with parameters of type StatementPattern
    Modifier and Type | Method and Description
    --- | ---
    `void` | BaseTupleExprRenderer.`meet(StatementPattern theStatementPattern)`

  - ### Uses of StatementPattern in org.eclipse.rdf4j.queryrender.builder

    Fields in org.eclipse.rdf4j.queryrender.builder with type parameters of type StatementPattern
    Modifier and Type | Field and Description
    --- | ---
    `protected List<StatementPattern>` | AbstractQueryBuilder.`mProjectionPatterns` Deprecated.

    Methods in org.eclipse.rdf4j.queryrender.builder that return types with arguments of type StatementPattern
    Modifier and Type | Method and Description
    --- | ---
    `Collection<StatementPattern>` | BasicGroup.`getPatterns()` Deprecated.

    Methods in org.eclipse.rdf4j.queryrender.builder with parameters of type StatementPattern
    Modifier and Type | Method and Description
    --- | ---
    `GroupBuilder<T,E>` | GroupBuilder.`atom(StatementPattern... thePatterns)` Deprecated.
    `GroupBuilder<T,E>` | GroupBuilder.`atom(StatementPattern thePattern)` Deprecated.

    Method parameters in org.eclipse.rdf4j.queryrender.builder with type arguments of type StatementPattern
    Modifier and Type | Method and Description
    --- | ---
    `GroupBuilder<T,E>` | GroupBuilder.`atoms(Set<StatementPattern> thePatterns)` Deprecated.

  - ### Uses of StatementPattern in org.eclipse.rdf4j.queryrender.sparql

    Methods in org.eclipse.rdf4j.queryrender.sparql with parameters of type StatementPattern
    Modifier and Type | Method and Description
    --- | ---
    `void` | SparqlTupleExprRenderer.`meet(StatementPattern thePattern)`
    `void` | ContextCollector.`meet(StatementPattern thePattern)`

  - ### Uses of StatementPattern in org.eclipse.rdf4j.sail.federation.optimizers

    Methods in org.eclipse.rdf4j.sail.federation.optimizers with parameters of type StatementPattern
    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)`

  - ### Uses of StatementPattern in org.eclipse.rdf4j.sail.lucene

    Methods in org.eclipse.rdf4j.sail.lucene that return StatementPattern
    Modifier and Type | Method and Description
    --- | ---
    `StatementPattern` | QuerySpec.`getMatchesPattern()`
    `StatementPattern` | QuerySpec.`getPropertyPattern()`
    `StatementPattern` | QuerySpec.`getQueryPattern()`
    `StatementPattern` | QuerySpec.`getScorePattern()`
    `StatementPattern` | QuerySpec.`getSnippetPattern()`
    `StatementPattern` | QuerySpec.`getTypePattern()`

    Methods in org.eclipse.rdf4j.sail.lucene with parameters of type StatementPattern
    Modifier and Type | Method and Description
    --- | ---
    `void` | GeoRelationQuerySpec.`setGeometryPattern(StatementPattern sp)`
    `void` | DistanceQuerySpec.`setGeometryPattern(StatementPattern sp)`

    Constructors in org.eclipse.rdf4j.sail.lucene with parameters of type StatementPattern
    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.