Class OuterQuery<T extends OuterQuery<T>>

  • Type Parameters:
    T - The query type. Used to support fluency.
    All Implemented Interfaces:
    QueryElement
    Direct Known Subclasses:
    ConstructQuery, SelectQuery

    public abstract class OuterQuery<T extends OuterQuery<T>>
    extends Query<T>
    A non-subquery query.
    • Constructor Detail

      • OuterQuery

        public OuterQuery()
    • Method Detail

      • base

        public T base​(Iri iri)
        Set the base IRI of this query
        Parameters:
        iri - the base IRI
        Returns:
        this
      • base

        public T base​(IRI iri)
        Set the base IRI of this query
        Parameters:
        iri - the base IRI
        Returns:
        this
      • base

        public T base​(Base base)
        Set the Base clause of this query
        Parameters:
        base - the Base clause to set
        Returns:
        this
      • prefix

        public T prefix​(Prefix... prefixes)
        Add prefix declarations to this query
        Parameters:
        prefixes - the prefixes to add
        Returns:
        this
      • prefix

        public T prefix​(Namespace... namespaces)
        Add prefix declarations to this query
        Parameters:
        namespaces - the namespaces to use for prefixes
        Returns: