Package com.attivio.sdk.search.facet
Class QueryFacetBucket
- java.lang.Object
-
- com.attivio.sdk.search.facet.FacetBucket
-
- com.attivio.sdk.search.facet.QueryFacetBucket
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
public class QueryFacetBucket extends FacetBucket
A FacetBucket that contains a query for drilldown.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.attivio.sdk.search.facet.FacetBucket
children, count, value
-
-
Constructor Summary
Constructors Constructor Description QueryFacetBucket(java.lang.String label, Query filter, long count)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QueryFacetBucket
clone()
boolean
equals(java.lang.Object other)
java.lang.String
getDisplayValue()
Get a string value that is suitable as a display value for this bucket.Query
getFilter()
Get the filter for this bucket.java.lang.String
getLabel()
Get the label for this bucket.void
setFilter(Query value)
Set the filter for this bucket.void
setLabel(java.lang.String label)
Set the label for this bucket.-
Methods inherited from class com.attivio.sdk.search.facet.FacetBucket
add, booleanValue, clone, dateValue, decimalValue, doubleValue, equals, floatValue, getChildren, getCount, getDate, getDisplayValue, getQueryFilter, getQueryFilter, getRange, getSortValue, getStatistics, getValue, getValue_json, hashCode, intValue, longValue, pointValue, setChildren, setCount, setDate, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue_json, stringValue, toString
-
-
-
-
Constructor Detail
-
QueryFacetBucket
public QueryFacetBucket(java.lang.String label, Query filter, long count)
Constructor.
-
-
Method Detail
-
getLabel
public java.lang.String getLabel()
Get the label for this bucket.
-
setLabel
public void setLabel(java.lang.String label)
Set the label for this bucket.
-
getFilter
public Query getFilter()
Get the filter for this bucket.- Overrides:
getFilter
in classFacetBucket
-
setFilter
public void setFilter(Query value)
Set the filter for this bucket.
-
getDisplayValue
public java.lang.String getDisplayValue()
Get a string value that is suitable as a display value for this bucket.- Overrides:
getDisplayValue
in classFacetBucket
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classFacetBucket
-
clone
public QueryFacetBucket clone()
- Overrides:
clone
in classFacetBucket
-
-