Package ddf.catalog.operation.impl
Class QueryRequestImpl
java.lang.Object
ddf.catalog.operation.impl.OperationImpl
ddf.catalog.operation.impl.QueryRequestImpl
- All Implemented Interfaces:
ddf.catalog.federation.Federatable,ddf.catalog.operation.Operation,ddf.catalog.operation.QueryRequest,ddf.catalog.operation.Request,Serializable
- Direct Known Subclasses:
FacetedQueryRequest
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected ddf.catalog.operation.Query -
Constructor Summary
ConstructorsConstructorDescriptionQueryRequestImpl(ddf.catalog.operation.Query query) Instantiates a new QueryRequestImpl with a $(@link Query) query,QueryRequestImpl(ddf.catalog.operation.Query query, boolean isEnterprise) Instantiates a new QueryRequestImpl with a $(@link Query) and a boolean indicating if it is an Enterprise QueryRequest.QueryRequestImpl(ddf.catalog.operation.Query query, boolean isEnterprise, Collection<String> siteNames, Map<String, Serializable> properties) Instantiates a new QueryRequestImpl with a $(@link Query), a boolean indicating if it is an Enterprise QueryRequest, a $Collectionof siteNames, and a $Mapof propertiesQueryRequestImpl(ddf.catalog.operation.Query query, Collection<String> sourceIds) Instantiates a new QueryRequestImpl with a $(@link Query) and a $Collectionof sourceIDsQueryRequestImpl(ddf.catalog.operation.Query query, Map<String, Serializable> properties) Instantiates a new QueryRequestImpl with a $(@link Query) and a $Mapof properties -
Method Summary
Methods 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
-
Field Details
-
query
protected ddf.catalog.operation.Query query -
isEnterprise
protected boolean isEnterprise
-
-
Constructor Details
-
QueryRequestImpl
public QueryRequestImpl(ddf.catalog.operation.Query query) Instantiates a new QueryRequestImpl with a $(@link Query) query,- Parameters:
query- the query
-
QueryRequestImpl
Instantiates a new QueryRequestImpl with a $(@link Query) and a $Mapof properties- Parameters:
query- the queryproperties- a Map of properties
-
QueryRequestImpl
Instantiates a new QueryRequestImpl with a $(@link Query) and a $Collectionof sourceIDs- Parameters:
query- the querysourceIds- a Collection of sourceIDs
-
QueryRequestImpl
public QueryRequestImpl(ddf.catalog.operation.Query query, boolean isEnterprise) Instantiates a new QueryRequestImpl with a $(@link Query) and a boolean indicating if it is an Enterprise QueryRequest.- Parameters:
query- the queryisEnterprise- the enterprise indicator
-
QueryRequestImpl
public QueryRequestImpl(ddf.catalog.operation.Query query, boolean isEnterprise, Collection<String> siteNames, Map<String, Serializable> properties) Instantiates a new QueryRequestImpl with a $(@link Query), a boolean indicating if it is an Enterprise QueryRequest, a $Collectionof siteNames, and a $Mapof properties- Parameters:
query- the queryisEnterprise- the enterprise indicatorsiteNames- a Collection of siteNamesproperties- the properties
-
-
Method Details
-
getQuery
public ddf.catalog.operation.Query getQuery()- Specified by:
getQueryin interfaceddf.catalog.operation.QueryRequest
-
getSourceIds
- Specified by:
getSourceIdsin interfaceddf.catalog.federation.Federatable
-
isEnterprise
public boolean isEnterprise()- Specified by:
isEnterprisein interfaceddf.catalog.federation.Federatable
-
toString
-