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 QueryFacetBucketclone()booleanequals(java.lang.Object other)java.lang.StringgetDisplayValue()Get a string value that is suitable as a display value for this bucket.QuerygetFilter()Get the filter for this bucket.java.lang.StringgetLabel()Get the label for this bucket.voidsetFilter(Query value)Set the filter for this bucket.voidsetLabel(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:
getFilterin 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:
getDisplayValuein classFacetBucket
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classFacetBucket
-
clone
public QueryFacetBucket clone()
- Overrides:
clonein classFacetBucket
-
-