Class RequestMultiple

    • Field Detail

      • roots

        protected java.util.Set<java.lang.String> roots
      • queries

        protected java.util.List<Query> queries
      • facets

        protected java.util.List<Facet> facets
      • threshold

        protected java.lang.Long threshold
    • Constructor Detail

      • RequestMultiple

        public RequestMultiple()
    • Method Detail

      • resetQueries

        public final RequestMultiple resetQueries()
        Returns:
        this Request
      • resetRoots

        public final RequestMultiple resetRoots()
        Returns:
        this Request
      • addRoots

        public final RequestMultiple addRoots​(com.fasterxml.jackson.databind.node.ArrayNode rootContent)
        Parameters:
        rootContent - array of root
        Returns:
        this Request
      • getFinal

        protected final com.fasterxml.jackson.databind.node.ObjectNode getFinal()
        Get the json final of request
        Specified by:
        getFinal in class AbstractRequest
        Returns:
        the Final containing all 3 parts: roots, queries array and filter
      • getRoots

        public final java.util.Set<java.lang.String> getRoots()
        Specified by:
        getRoots in class AbstractRequest
        Returns:
        the roots array
      • getNthQuery

        public final Query getNthQuery​(int nth)
        Parameters:
        nth - query position
        Returns:
        the nth query
      • getFacets

        public java.util.List<Facet> getFacets()
        getFacets
        Returns:
      • setFacets

        public void setFacets​(java.util.List<Facet> facets)
        setFacets
        Parameters:
        facets -
      • getData

        public com.fasterxml.jackson.databind.JsonNode getData()
        default implements of getData
        Specified by:
        getData in class AbstractRequest
        Returns:
        the data
      • getAllProjection

        public boolean getAllProjection()
        default implements of getAllProjection
        Specified by:
        getAllProjection in class AbstractRequest
        Returns:
        True if the projection is not restricted
      • getProjection

        public com.fasterxml.jackson.databind.node.ObjectNode getProjection()
        default implements of getProjection
        Specified by:
        getProjection in class AbstractRequest
        Returns:
        the projection
      • getThreshold

        public java.lang.Long getThreshold()
        Getter for threshold
        Returns:
        the threshold
      • setThreshold

        public void setThreshold​(java.lang.Long threshold)
        Setter for threshold
        Parameters:
        threshold - the value to set for the threshold
      • getActions

        public java.util.List<Action> getActions()
        default implements of getActions
        Specified by:
        getActions in class AbstractRequest
        Returns:
        list of actions