Class LoadQuery

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Iri from  
      private static java.lang.String INTO_GRAPH  
      private static java.lang.String LOAD  
      private java.util.Optional<Iri> to  
    • Constructor Summary

      Constructors 
      Constructor Description
      LoadQuery()  
    • Constructor Detail

      • LoadQuery

        LoadQuery()
    • Method Detail

      • from

        public LoadQuery from​(Iri from)
        Specify which graph to load form
        Parameters:
        from - the IRI identifying the graph to load triples from
        Returns:
        this LoadQuery instance
      • from

        public LoadQuery from​(IRI from)
        Specify which graph to load form
        Parameters:
        from - the IRI identifying the graph to load triples from
        Returns:
        this LoadQuery instance
      • to

        public LoadQuery to​(Iri to)
        Specify which graph to load into, if not the default graph
        Parameters:
        to - the IRI identifying the graph to load into
        Returns:
        this LoadQuery instance
      • to

        public LoadQuery to​(IRI to)
        Specify which graph to load into, if not the default graph
        Parameters:
        to - the IRI identifying the graph to load into
        Returns:
        this LoadQuery instance
      • getQueryString

        public java.lang.String getQueryString()
        Returns:
        the String representing the SPARQL syntax of this element