Package org.eclipse.rdf4j.sparqlbuilder.core.query

## 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:
    SPARQL CREATE Query

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected void` | `appendSilent​(StringBuilder builder)` |
    `String` | `getQueryString()` |
    `CreateQuery` | `graph​(IRI graph)` |
    `CreateQuery` | `graph​(Iri graph)` | Specify the graph to create
    `T` | `silent()` | Set the `SILENT` option to true on this query
    `T` | `silent​(boolean isSilent)` | Specify if the `SILENT` option should be on for this query

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### 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 T silent()

      Set the `SILENT` option to true on this query
      Returns:
        this query instance

    - #### silent

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