| Package | Description |
|---|---|
| org.apache.jena.arq.querybuilder |
A utility package to simplify the building of ARQ queries in code.
|
| Modifier and Type | Method and Description |
|---|---|
UpdateBuilder |
UpdateBuilder.addAll(WhereHandler whereHandler)
Add all where attributes from the Where Handler argument.
|
UpdateBuilder |
UpdateBuilder.addBind(Expr expression,
Object var)
Add a bind statement to the query *
http://www.w3.org/TR/2013/REC-sparql11-query-20130321/#rGraphGraphPattern.
|
UpdateBuilder |
UpdateBuilder.addBind(Expr expr,
Var var)
Add a binding to the where clause.
|
UpdateBuilder |
UpdateBuilder.addBind(String expression,
Object var)
Add a bind statement to the query
http://www.w3.org/TR/2013/REC-sparql11-query-20130321/#rGraphGraphPattern.
|
UpdateBuilder |
UpdateBuilder.addBind(String expression,
Var var)
Add a binding to the where clause.
|
UpdateBuilder |
UpdateBuilder.addDelete(AbstractQueryBuilder<?> queryBuilder)
Add the statements from the where clause in the specified query builder
to the delete statement.
|
UpdateBuilder |
UpdateBuilder.addDelete(Collection<Triple> collection)
Add all triples to the delete statement.
|
UpdateBuilder |
UpdateBuilder.addDelete(Iterator<Triple> iter)
Add all the triples in the iterator to the delete statement.
|
UpdateBuilder |
UpdateBuilder.addDelete(Model model)
Add all the statements in the model to the delete statement.
|
UpdateBuilder |
UpdateBuilder.addDelete(Object graph,
AbstractQueryBuilder<?> queryBuilder)
Add the statements from the where clause in the specified query builder
to the delete statements for the specified graph.
|
UpdateBuilder |
UpdateBuilder.addDelete(Object g,
Collection<Triple> collection)
Add all the statements in the model to the delete statement.
|
UpdateBuilder |
UpdateBuilder.addDelete(Object g,
Iterator<Triple> iter)
Add all the statements in the model to the delete statement.
|
UpdateBuilder |
UpdateBuilder.addDelete(Object g,
Model model)
Add all the statements in the model a specified graph to the delete statement.
|
UpdateBuilder |
UpdateBuilder.addDelete(Object s,
Object p,
Object o)
Add a triple to the delete statement.
|
UpdateBuilder |
UpdateBuilder.addDelete(Object g,
Object s,
Object p,
Object o)
Add a quad to the delete statement.
|
UpdateBuilder |
UpdateBuilder.addDelete(Object g,
Triple t)
Add a triple to the delete statement.
|
UpdateBuilder |
UpdateBuilder.addDelete(Quad quad)
Add a quad to the delete statement.
|
UpdateBuilder |
UpdateBuilder.addDelete(Triple t)
Add a triple to the delete statement.
|
UpdateBuilder |
UpdateBuilder.addDeleteQuads(Collection<Quad> collection)
Add all the quads collection to the delete statement.
|
UpdateBuilder |
UpdateBuilder.addFilter(Expr expression)
Adds a filter to the where clause
Use ExprFactory or NodeValue static or the AbstractQueryBuilder.makeExpr
methods to create the expression.
|
UpdateBuilder |
UpdateBuilder.addFilter(String expression)
Add an expression string as a filter.
|
UpdateBuilder |
UpdateBuilder.addGraph(Node graph,
WhereHandler subQuery)
Add a graph to the where clause.
|
UpdateBuilder |
UpdateBuilder.addGraph(Object graph,
AbstractQueryBuilder<?> subQuery)
Add a graph statement to the query as per
http://www.w3.org/TR/2013/REC-sparql11
-query-20130321/#rGraphGraphPattern.
|
UpdateBuilder |
UpdateBuilder.addInsert(AbstractQueryBuilder<?> queryBuilder)
Add the statements from the where clause in the specified query builder
to the insert statement.
|
UpdateBuilder |
UpdateBuilder.addInsert(Collection<Triple> collection)
Add all the triples in the model to the insert statement.
|
UpdateBuilder |
UpdateBuilder.addInsert(Iterator<Triple> iter)
Add all the triples to the insert statement.
|
UpdateBuilder |
UpdateBuilder.addInsert(Model model)
Add all the statements in the model to the insert statement.
|
UpdateBuilder |
UpdateBuilder.addInsert(Object graph,
AbstractQueryBuilder<?> queryBuilder)
Add the statements from the where clause in the specified query builder
to the insert statements for the specified graph.
|
UpdateBuilder |
UpdateBuilder.addInsert(Object g,
Collection<Triple> collection)
Add triples to the insert statement.
|
UpdateBuilder |
UpdateBuilder.addInsert(Object g,
Iterator<Triple> iter)
Add triples to the insert statement.
|
UpdateBuilder |
UpdateBuilder.addInsert(Object g,
Model model)
Add all the statements in the model a specified graph to the insert statement.
|
UpdateBuilder |
UpdateBuilder.addInsert(Object s,
Object p,
Object o)
Add a triple to the insert statement.
|
UpdateBuilder |
UpdateBuilder.addInsert(Object g,
Object s,
Object p,
Object o)
Add a quad to the insert statement.
|
UpdateBuilder |
UpdateBuilder.addInsert(Object g,
Triple t)
Add a triple in a specified graph to the insert statement.
|
UpdateBuilder |
UpdateBuilder.addInsert(Quad quad)
Add a quad to the insert statement.
|
UpdateBuilder |
UpdateBuilder.addInsert(Triple t)
Add a triple to the insert statement.
|
UpdateBuilder |
UpdateBuilder.addInsertQuads(Collection<Quad> collection)
Add all the quads in the collection to the insert statement.
|
UpdateBuilder |
UpdateBuilder.addMinus(AbstractQueryBuilder<?> t)
Add a minus clause to the query.
|
UpdateBuilder |
UpdateBuilder.addOptional(AbstractQueryBuilder<?> t)
Adds an optional group pattern to the where clause.
|
UpdateBuilder |
UpdateBuilder.addOptional(FrontsTriple t)
Adds an optional triple as to the where clause.
|
UpdateBuilder |
UpdateBuilder.addOptional(Object s,
Object p,
Object o)
Adds an optional triple or triple path to the where clause.
|
UpdateBuilder |
UpdateBuilder.addOptional(Triple t)
Adds an optional triple to the where clause.
|
UpdateBuilder |
UpdateBuilder.addOptional(TriplePath t)
Add an optional triple to the where clause
|
UpdateBuilder |
UpdateBuilder.addOptional(WhereHandler whereHandler)
Add the contents of a where handler as an optional statement.
|
UpdateBuilder |
UpdateBuilder.addPrefix(String pfx,
Node uri)
Add the prefix to the prefix mapping.
|
UpdateBuilder |
UpdateBuilder.addPrefix(String pfx,
Resource uri)
Add the prefix to the prefix mapping.
|
UpdateBuilder |
UpdateBuilder.addPrefix(String pfx,
String uri)
Add the prefix to the prefix mapping.
|
UpdateBuilder |
UpdateBuilder.addPrefixes(Map<String,String> prefixes)
Add the prefixes to the prefix mapping.
|
UpdateBuilder |
UpdateBuilder.addPrefixes(PrefixMapping prefixes)
Add the prefixes to the prefix mapping.
|
UpdateBuilder |
UpdateBuilder.addSubQuery(AbstractQueryBuilder<?> subQuery)
Add a subquery to the where clause.
|
UpdateBuilder |
UpdateBuilder.addUnion(AbstractQueryBuilder<?> subQuery)
Add a union to the where clause.
|
UpdateBuilder |
UpdateBuilder.addWhere(FrontsTriple t)
Adds a triple to the where clause.
|
UpdateBuilder |
UpdateBuilder.addWhere(Object s,
Object p,
Object o)
Adds a triple or triple path to the where clause.
|
UpdateBuilder |
UpdateBuilder.addWhere(Triple t)
Adds a triple to the where clause.
|
UpdateBuilder |
UpdateBuilder.addWhere(TriplePath t)
Add the triple path to the where clause
|
UpdateBuilder |
UpdateBuilder.addWhere(WhereClause<?> whereClause)
Add the WhereClause
|
UpdateBuilder |
UpdateBuilder.with(Object iri)
Specify the graph for all inserts and deletes.
|
Licensed under the Apache License, Version 2.0