public final class Algebra extends Object
Constructor and Description |
---|
Algebra() |
Modifier and Type | Method and Description |
---|---|
static Iterator<org.openrdf.query.BindingSet> |
evaluateTupleExpr(org.openrdf.query.algebra.TupleExpr expr,
org.openrdf.query.Dataset dataset,
org.openrdf.query.BindingSet bindings,
org.openrdf.query.algebra.evaluation.EvaluationStrategy evaluationStrategy,
org.openrdf.query.algebra.evaluation.impl.EvaluationStatistics evaluationStatistics,
Function<org.openrdf.model.Value,org.openrdf.model.Value> valueNormalizer) |
static org.openrdf.model.Value |
evaluateValueExpr(org.openrdf.query.algebra.ValueExpr expr,
org.openrdf.query.BindingSet bindings) |
static org.openrdf.query.algebra.TupleExpr |
explodeFilters(org.openrdf.query.algebra.TupleExpr expr) |
static <T> List<T> |
extractNodes(org.openrdf.query.algebra.QueryModelNode expr,
Class<T> clazz,
Predicate<? super T> matchPredicate,
Predicate<org.openrdf.query.algebra.QueryModelNode> recursePredicate) |
static Set<String> |
extractVariables(org.openrdf.query.algebra.QueryModelNode expr,
boolean onlyOutputVars) |
static String |
format(org.openrdf.query.algebra.TupleExpr expr) |
static org.openrdf.query.algebra.evaluation.TripleSource |
getEmptyTripleSource() |
static org.openrdf.query.algebra.evaluation.impl.EvaluationStatistics |
getEvaluationStatistics(ToDoubleFunction<org.openrdf.query.algebra.StatementPattern> estimator) |
static org.openrdf.query.algebra.evaluation.EvaluationStrategy |
getEvaluationStrategy(org.openrdf.query.algebra.evaluation.TripleSource tripleSource,
org.openrdf.query.Dataset dataset) |
static org.openrdf.query.algebra.evaluation.federation.FederatedServiceResolver |
getFederatedServiceResolver() |
static void |
internStrings(org.openrdf.query.algebra.QueryModelNode expr) |
static boolean |
isBGP(org.openrdf.query.algebra.TupleExpr expr) |
static <T extends org.openrdf.query.algebra.QueryModelNode> |
normalize(T expr,
Function<org.openrdf.model.Value,org.openrdf.model.Value> normalizer) |
static org.openrdf.query.algebra.TupleExpr |
normalizeVars(org.openrdf.query.algebra.TupleExpr expr) |
static org.openrdf.query.parser.ParsedQuery |
parseQuery(String string,
String baseURI,
Map<String,String> namespaces) |
static org.openrdf.query.algebra.TupleExpr |
parseTupleExpr(String string,
String baseURI,
Map<String,String> namespaces) |
static org.openrdf.query.algebra.ValueExpr |
parseValueExpr(String string,
String baseURI,
Map<String,String> namespaces) |
static org.openrdf.query.algebra.TupleExpr |
pushExtensions(org.openrdf.query.algebra.TupleExpr expr) |
static org.openrdf.query.algebra.TupleExpr |
pushFilters(org.openrdf.query.algebra.TupleExpr expr) |
static String |
renderExpr(org.openrdf.query.algebra.TupleExpr expr,
Map<String,String> prefixes) |
static String |
renderQuery(org.openrdf.query.algebra.TupleExpr expr,
org.openrdf.query.Dataset dataset,
Map<String,String> prefixes,
boolean forceSelect) |
static org.openrdf.query.algebra.QueryModelNode |
replaceNode(org.openrdf.query.algebra.QueryModelNode root,
org.openrdf.query.algebra.QueryModelNode current,
org.openrdf.query.algebra.QueryModelNode replacement) |
static <T extends org.openrdf.query.algebra.QueryModelNode> |
rewrite(T node,
org.openrdf.query.BindingSet bindings) |
static <T extends org.openrdf.query.algebra.QueryModelNode> |
rewrite(T node,
Map<String,org.openrdf.query.algebra.Var> substitutions) |
static org.openrdf.query.algebra.TupleExpr |
rewriteGraph(org.openrdf.query.algebra.TupleExpr expr,
org.openrdf.query.algebra.Var graphVar) |
static org.openrdf.query.algebra.TupleExpr[] |
splitTupleExpr(org.openrdf.query.algebra.TupleExpr expr,
Predicate<org.openrdf.query.algebra.StatementPattern> predicate,
int partition) |
static org.openrdf.query.algebra.TupleExpr[] |
splitTupleExpr(org.openrdf.query.algebra.TupleExpr expr,
Set<org.openrdf.model.URI> vocabulary,
int partition) |
public static org.openrdf.query.algebra.evaluation.federation.FederatedServiceResolver getFederatedServiceResolver()
public static org.openrdf.query.algebra.evaluation.TripleSource getEmptyTripleSource()
public static org.openrdf.query.algebra.evaluation.EvaluationStrategy getEvaluationStrategy(@Nullable org.openrdf.query.algebra.evaluation.TripleSource tripleSource, @Nullable org.openrdf.query.Dataset dataset)
public static org.openrdf.query.algebra.evaluation.impl.EvaluationStatistics getEvaluationStatistics(@Nullable ToDoubleFunction<org.openrdf.query.algebra.StatementPattern> estimator)
public static org.openrdf.query.algebra.TupleExpr parseTupleExpr(String string, @Nullable String baseURI, @Nullable Map<String,String> namespaces) throws org.openrdf.query.MalformedQueryException
org.openrdf.query.MalformedQueryException
public static org.openrdf.query.algebra.ValueExpr parseValueExpr(String string, @Nullable String baseURI, @Nullable Map<String,String> namespaces) throws org.openrdf.query.MalformedQueryException
org.openrdf.query.MalformedQueryException
public static org.openrdf.query.parser.ParsedQuery parseQuery(String string, @Nullable String baseURI, @Nullable Map<String,String> namespaces) throws org.openrdf.query.MalformedQueryException
org.openrdf.query.MalformedQueryException
public static org.openrdf.model.Value evaluateValueExpr(org.openrdf.query.algebra.ValueExpr expr, org.openrdf.query.BindingSet bindings)
@Nullable public static <T extends org.openrdf.query.algebra.QueryModelNode> T normalize(@Nullable T expr, Function<org.openrdf.model.Value,org.openrdf.model.Value> normalizer)
public static Iterator<org.openrdf.query.BindingSet> evaluateTupleExpr(org.openrdf.query.algebra.TupleExpr expr, @Nullable org.openrdf.query.Dataset dataset, @Nullable org.openrdf.query.BindingSet bindings, @Nullable org.openrdf.query.algebra.evaluation.EvaluationStrategy evaluationStrategy, @Nullable org.openrdf.query.algebra.evaluation.impl.EvaluationStatistics evaluationStatistics, @Nullable Function<org.openrdf.model.Value,org.openrdf.model.Value> valueNormalizer)
public static boolean isBGP(org.openrdf.query.algebra.TupleExpr expr)
public static <T> List<T> extractNodes(@Nullable org.openrdf.query.algebra.QueryModelNode expr, Class<T> clazz, @Nullable Predicate<? super T> matchPredicate, @Nullable Predicate<org.openrdf.query.algebra.QueryModelNode> recursePredicate)
public static Set<String> extractVariables(@Nullable org.openrdf.query.algebra.QueryModelNode expr, boolean onlyOutputVars)
public static void internStrings(@Nullable org.openrdf.query.algebra.QueryModelNode expr)
@Nullable public static <T extends org.openrdf.query.algebra.QueryModelNode> T rewrite(@Nullable T node, @Nullable Map<String,org.openrdf.query.algebra.Var> substitutions)
@Nullable public static <T extends org.openrdf.query.algebra.QueryModelNode> T rewrite(@Nullable T node, @Nullable org.openrdf.query.BindingSet bindings)
@Nullable public static org.openrdf.query.algebra.TupleExpr normalizeVars(@Nullable org.openrdf.query.algebra.TupleExpr expr)
public static org.openrdf.query.algebra.TupleExpr rewriteGraph(org.openrdf.query.algebra.TupleExpr expr, org.openrdf.query.algebra.Var graphVar)
public static org.openrdf.query.algebra.QueryModelNode replaceNode(org.openrdf.query.algebra.QueryModelNode root, org.openrdf.query.algebra.QueryModelNode current, org.openrdf.query.algebra.QueryModelNode replacement)
@Nullable public static org.openrdf.query.algebra.TupleExpr explodeFilters(@Nullable org.openrdf.query.algebra.TupleExpr expr)
@Nullable public static org.openrdf.query.algebra.TupleExpr pushFilters(@Nullable org.openrdf.query.algebra.TupleExpr expr)
@Nullable public static org.openrdf.query.algebra.TupleExpr pushExtensions(@Nullable org.openrdf.query.algebra.TupleExpr expr)
public static org.openrdf.query.algebra.TupleExpr[] splitTupleExpr(org.openrdf.query.algebra.TupleExpr expr, Set<org.openrdf.model.URI> vocabulary, int partition)
public static org.openrdf.query.algebra.TupleExpr[] splitTupleExpr(@Nullable org.openrdf.query.algebra.TupleExpr expr, Predicate<org.openrdf.query.algebra.StatementPattern> predicate, int partition)
public static String renderQuery(org.openrdf.query.algebra.TupleExpr expr, @Nullable org.openrdf.query.Dataset dataset, @Nullable Map<String,String> prefixes, boolean forceSelect)
public static String renderExpr(org.openrdf.query.algebra.TupleExpr expr, @Nullable Map<String,String> prefixes)
public static String format(org.openrdf.query.algebra.TupleExpr expr)
Copyright © 2015–2016 FBK-irst. All rights reserved.