public class InsertDataQuery extends Object
| Modifier and Type | Field and Description | 
|---|---|
| protected Optional<GraphName> | graphName | 
| protected TriplesTemplate | triplesTemplate | 
| Constructor and Description | 
|---|
| InsertDataQuery() | 
| 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 | 
| String | getPrefix() | 
| protected String | getQueryActionString() | 
| String | getQueryString() | 
| T | graph(GraphName graph) | 
| InsertDataQuery | insertData(TriplePattern... triples)Add triples to be inserted | 
| InsertDataQuery | insertData(TriplesTemplate triplesTemplate)Set this query's triples template | 
| InsertDataQuery | into(GraphName graph)Specify a graph to insert the data into | 
| 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 InsertDataQuery insertData(TriplePattern... triples)
triples - the triples to add to this insert data querypublic InsertDataQuery insertData(TriplesTemplate triplesTemplate)
triplesTemplate - the TriplesTemplate instance to setpublic InsertDataQuery into(GraphName graph)
graph - the identifier of the graphpublic 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-2020 Eclipse Foundation. All Rights Reserved.