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 Link icon

    • TargetedGraphManagementQuery Link icon

      public TargetedGraphManagementQuery()
  • Method Details Link icon

    • graph Link icon

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

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

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

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

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

      protected abstract String getQueryActionString()
    • getQueryString Link icon

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

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

      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 Link icon

      protected void appendSilent(StringBuilder builder)