Package ddf.catalog.operation.impl
Class FacetedQueryRequest
java.lang.Object
ddf.catalog.operation.impl.OperationImpl
ddf.catalog.operation.impl.QueryRequestImpl
ddf.catalog.operation.impl.FacetedQueryRequest
- All Implemented Interfaces:
ddf.catalog.federation.Federatable,ddf.catalog.operation.Operation,ddf.catalog.operation.QueryRequest,ddf.catalog.operation.Request,Serializable
- See Also:
-
Field Summary
Fields inherited from class ddf.catalog.operation.impl.QueryRequestImpl
isEnterprise, query -
Constructor Summary
ConstructorsConstructorDescriptionFacetedQueryRequest(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.FacetedQueryRequest(ddf.catalog.operation.Query query, ddf.catalog.operation.TermFacetProperties termFacetProperties) Instantiates a FacetedQueryRequest to facet using the provided TermFacetPropertiesImpl.FacetedQueryRequest(ddf.catalog.operation.Query query, Set<String> facetAttributes) Instantiates a FacetedQueryRequest to facet on the provided attributes. -
Method Summary
Methods inherited from class ddf.catalog.operation.impl.QueryRequestImpl
getQuery, getSourceIds, isEnterprise, toStringMethods inherited from class ddf.catalog.operation.impl.OperationImpl
containsPropertyName, getProperties, getPropertyNames, getPropertyValue, hasProperties, setPropertiesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ddf.catalog.operation.Operation
containsPropertyName, getProperties, getPropertyNames, getPropertyValue, hasPropertiesMethods inherited from interface ddf.catalog.operation.Request
getStoreIds
-
Constructor Details
-
FacetedQueryRequest
Instantiates a FacetedQueryRequest to facet on the provided attributes.- Parameters:
query- The query to be sent to the data sourcefacetAttributes- 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 sourceisEnterprise- Specifies if this FacetedQueryRequest is an enterprise querysourceIds- A list of sources to queryproperties- Properties supplied to this query for auth, transactions, etcfacetProperties- A structure describing the desired faceting constraints
-