Class QueryElementCollection<T extends QueryElement>

    • Constructor Detail

      • QueryElementCollection

        protected QueryElementCollection()
      • QueryElementCollection

        protected QueryElementCollection​(String delimiter)
      • QueryElementCollection

        protected QueryElementCollection​(String delimiter,
                                         Collection<T> elements)
    • Method Detail

      • isEmpty

        public boolean isEmpty()
        Returns:
        if this collection is empty
      • addElements

        protected void addElements​(T... queryElements)
      • addElements

        protected <O> void addElements​(Function<? super O,​? extends T> mapper,
                                       O... os)
      • getQueryString

        public String getQueryString()
        Specified by:
        getQueryString in interface QueryElement
        Returns:
        the String representing the SPARQL syntax of this element