Class FacetedQueryRequest

All Implemented Interfaces:
ddf.catalog.federation.Federatable, ddf.catalog.operation.Operation, ddf.catalog.operation.QueryRequest, ddf.catalog.operation.Request, Serializable

public class FacetedQueryRequest extends QueryRequestImpl
See Also:
  • Constructor Details

    • FacetedQueryRequest

      public FacetedQueryRequest(ddf.catalog.operation.Query query, Set<String> facetAttributes)
      Instantiates a FacetedQueryRequest to facet on the provided attributes.
      Parameters:
      query - The query to be sent to the data source
      facetAttributes - A list of attributes for which to return text faceting counts
    • FacetedQueryRequest

      public FacetedQueryRequest(ddf.catalog.operation.Query query, ddf.catalog.operation.TermFacetProperties termFacetProperties)
      Instantiates a FacetedQueryRequest to facet using the provided TermFacetPropertiesImpl.
      Parameters:
      query - The query to be sent to the data source.
      termFacetProperties - Properties describing the faceting parameters.
    • FacetedQueryRequest

      public FacetedQueryRequest(ddf.catalog.operation.Query query, boolean isEnterprise, Collection<String> sourceIds, Map<String,Serializable> properties, ddf.catalog.operation.TermFacetProperties facetProperties)
      Instantiates a FacetedQueryRequest to facet on the provided attributes.
      Parameters:
      query - The query to be sent to the data source
      isEnterprise - Specifies if this FacetedQueryRequest is an enterprise query
      sourceIds - A list of sources to query
      properties - Properties supplied to this query for auth, transactions, etc
      facetProperties - A structure describing the desired faceting constraints