Class TargetedGraphManagementQuery<T extends TargetedGraphManagementQuery<T>>

java.lang.Object
org.eclipse.rdf4j.sparqlbuilder.core.query.TargetedGraphManagementQuery<T>
All Implemented Interfaces:
QueryElement
Direct Known Subclasses:
ClearQuery, DropQuery

public abstract class TargetedGraphManagementQuery<T extends TargetedGraphManagementQuery<T>> extends Object
  • Constructor Details

    • TargetedGraphManagementQuery

      public TargetedGraphManagementQuery()
  • Method Details

    • graph

      public T graph(Iri graph)
      Specify which graph to target
      Parameters:
      graph - the IRI identifying the graph to target
      Returns:
      this query instance
    • graph

      public T graph(IRI graph)
      Specify which graph to target
      Parameters:
      graph - the IRI identifying the graph to target
      Returns:
      this query instance
    • def

      public T def()
      Target the default graph
      Returns:
      this query instance
    • named

      public T named()
      Target all named graphs
      Returns:
      this query instance
    • all

      public T all()
      Target all graphs
      Returns:
      this query instance
    • getQueryActionString

      protected abstract String getQueryActionString()
    • getQueryString

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

      public TargetedGraphManagementQuery<T> silent()
      Set the SILENT option to true on this query
      Returns:
      this query instance
    • silent

      public TargetedGraphManagementQuery<T> 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)