public class DeleteDataQuery extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Optional<GraphName> |
graphName |
protected TriplesTemplate |
triplesTemplate |
| Constructor and Description |
|---|
DeleteDataQuery() |
| Modifier and Type | Method and Description |
|---|---|
protected T |
addTriples(TriplePattern... triples) |
protected void |
appendNamedTriplesTemplates(StringBuilder queryString,
Optional<GraphName> graphName,
TriplesTemplate triples) |
T |
base(Base base)
Set the Base clause of this query
|
T |
base(Iri iri)
Set the base IRI of this query
|
DeleteDataQuery |
deleteData(TriplePattern... triples)
Add triples to be deleted
|
DeleteDataQuery |
deleteData(TriplesTemplate triplesTemplate)
Set this query's triples template
|
DeleteDataQuery |
from(GraphName graph)
Specify a graph to delete the data from
|
protected String |
getPrefix() |
protected String |
getQueryActionString() |
String |
getQueryString() |
T |
graph(GraphName graph) |
T |
prefix(Prefix... prefixes)
Add prefix declarations to this query
|
T |
prefix(PrefixDeclarations prefixes)
Set the Prefix declarations of this query
|
protected T |
setTriplesTemplate(TriplesTemplate triplesTemplate) |
protected TriplesTemplate triplesTemplate
public DeleteDataQuery deleteData(TriplePattern... triples)
triples - the triples to add to this delete data querypublic DeleteDataQuery deleteData(TriplesTemplate triplesTemplate)
triplesTemplate - the TriplesTemplate instance to setpublic DeleteDataQuery from(GraphName graph)
graph - the identifier of the graphprotected String getPrefix()
protected T addTriples(TriplePattern... triples)
protected T setTriplesTemplate(TriplesTemplate triplesTemplate)
public T graph(GraphName graph)
protected String getQueryActionString()
public T base(Iri iri)
iri - the base IRIpublic T base(Base base)
base - the Base clause to setpublic T prefix(Prefix... prefixes)
prefixes - the prefixes to addpublic T prefix(PrefixDeclarations prefixes)
prefixes - the PrefixDeclarations to setpublic String getQueryString()
getQueryString in interface QueryElementprotected void appendNamedTriplesTemplates(StringBuilder queryString, Optional<GraphName> graphName, TriplesTemplate triples)
Copyright © 2015-2021 Eclipse Foundation. All Rights Reserved.