com.iphrase.onestep.beans
Class DrillDownList
java.lang.Object
|
+--com.iphrase.onestep.beans.DrillDownList
- public class DrillDownList
- extends java.lang.Object
Contains data required for formatting of drilldown (RefineBy) component.
The data structure of this class is optimized for access from JSP.
Constructor Summary |
DrillDownList(com.iphrase.runtime.query.Query query,
com.iphrase.runtime.query.result.TallyFeature tallyFeature,
boolean recursive)
Constructs a DrillDownList object |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DrillDownList
public DrillDownList(com.iphrase.runtime.query.Query query,
com.iphrase.runtime.query.result.TallyFeature tallyFeature,
boolean recursive)
- Constructs a
DrillDownList
object
- Parameters:
query
- Query
object used to produce the result settallyFeature
- underlying TallyFeature
objectrecursive
- if false
only top level items are counted. This parameter is ignored when tallyFeature
doesn't represent hierarchical data.
getValues
public TallyValueHandler[] getValues()
- Returns:
- array of underlying
TallyValueHandler
values
size
public int size()
- Returns:
- count of underlying
TallyValueHandler
values
getCount
public int getCount()
- Identical to
size()
- Returns:
- count of underlying
TallyValueHandler
values