Class CreateQuery

java.lang.Object
org.eclipse.rdf4j.sparqlbuilder.core.query.CreateQuery
All Implemented Interfaces:
QueryElement

public class CreateQuery extends Object
A SPARQL CREATE Query
See Also:
  • Method Details

    • graph

      public CreateQuery graph(Iri graph)
      Specify the graph to create
      Parameters:
      graph - the IRI identifier for the new graph
      Returns:
      this CreateQuery instance
    • graph

      public CreateQuery graph(IRI graph)
    • getQueryString

      public String getQueryString()
      Returns:
      the String representing the SPARQL syntax of this element
    • silent

      public CreateQuery silent()
      Set the SILENT option to true on this query
      Returns:
      this query instance
    • silent

      public CreateQuery silent(boolean isSilent)
      Specify if the SILENT option should be on for this query
      Parameters:
      isSilent - if this should be a SILENT operation or not
      Returns:
      this query instance
    • appendSilent

      protected void appendSilent(StringBuilder builder)