com.endeca.portal.data.functions
Class ResultsSummaryConfig

java.lang.Object
  extended by com.endeca.portal.data.functions.QueryFunction
      extended by com.endeca.portal.data.functions.QueryConfig
          extended by com.endeca.portal.data.functions.ResultsSummaryConfig
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class ResultsSummaryConfig
extends QueryConfig

Configure the summarization of results returned from an executed QueryState. On ENE presentation API data sources, this filter will set the number of returned ERecs and AggrERecs to 0. On discovery service data sources, this filter merely specifies that results summarization should be included in returned results, but does not preclude other results.

See Also:
Serialized Form

Field Summary
static java.lang.String DEFAULT_ID
           
static java.lang.String HANDLER_FUNCTION
           
 
Fields inherited from class com.endeca.portal.data.functions.QueryConfig
id
 
Fields inherited from class com.endeca.portal.data.functions.QueryFunction
CLASS_PROPERTY
 
Constructor Summary
ResultsSummaryConfig()
           
ResultsSummaryConfig(java.lang.String id)
           
 
Method Summary
 void applyToDiscoveryServiceQuery(com.endeca.mdex.conversation.Request query)
          Apply this function to a Request.
 java.lang.String toString()
          This class' toString is abstract: all concrete subclasses are expected to provide an implementation. toString is used in comparing QueryFunction instances for equality, so if you implement a QueryFunction subclass it is important that your toString implementation be consistent and deterministic.
 
Methods inherited from class com.endeca.portal.data.functions.QueryConfig
getId, setId
 
Methods inherited from class com.endeca.portal.data.functions.QueryFunction
beforeQueryStateAdd, clone, equals, equals, getName, hashCode, initializeFromJSON, setName
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_ID

public static final java.lang.String DEFAULT_ID
See Also:
Constant Field Values

HANDLER_FUNCTION

public static final java.lang.String HANDLER_FUNCTION
See Also:
Constant Field Values
Constructor Detail

ResultsSummaryConfig

public ResultsSummaryConfig()

ResultsSummaryConfig

public ResultsSummaryConfig(java.lang.String id)
Method Detail

applyToDiscoveryServiceQuery

public void applyToDiscoveryServiceQuery(com.endeca.mdex.conversation.Request query)
                                  throws QueryFunctionUnsupportedException
Description copied from class: QueryFunction
Apply this function to a Request. Must be implemented by subclass.

Specified by:
applyToDiscoveryServiceQuery in class QueryFunction
Throws:
QueryFunctionUnsupportedException

toString

public java.lang.String toString()
Description copied from class: QueryFunction
This class' toString is abstract: all concrete subclasses are expected to provide an implementation. toString is used in comparing QueryFunction instances for equality, so if you implement a QueryFunction subclass it is important that your toString implementation be consistent and deterministic.

Specified by:
toString in class QueryFunction