Package com.attivio.sdk.search.facet
Class SchemaFieldBucket
- java.lang.Object
-
- com.attivio.sdk.search.facet.FacetBucket
-
- com.attivio.sdk.search.facet.SchemaFieldBucket
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable
public class SchemaFieldBucket extends FacetBucket
A bucket returned for aSchemaFacetRequest.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.attivio.sdk.search.facet.FacetBucket
children, count, value
-
-
Constructor Summary
Constructors Constructor Description SchemaFieldBucket(java.lang.String field, long count)SchemaFieldBucket(java.lang.String field, long count, long valueCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(FacetBucket other)Add the count forotherto this bucket.booleanequals(java.lang.Object other)java.lang.StringgetField()QuerygetQueryFilter(java.lang.String field)Get theQueryto use for drilling down on this bucket viafield.longgetValueCount()Get the number of unique field values for the field represented by this bucket.inthashCode()voidsetField(java.lang.String value)voidsetValueCount(long value)Get the number of unique field values for the field represented by this bucket.java.lang.StringtoString()-
Methods inherited from class com.attivio.sdk.search.facet.FacetBucket
booleanValue, clone, clone, dateValue, decimalValue, doubleValue, equals, floatValue, getChildren, getCount, getDate, getDisplayValue, getDisplayValue, getFilter, getQueryFilter, getRange, getSortValue, getStatistics, getValue, getValue_json, intValue, longValue, pointValue, setChildren, setCount, setDate, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue_json, stringValue
-
-
-
-
Method Detail
-
getField
public java.lang.String getField()
-
setField
public void setField(java.lang.String value)
-
getQueryFilter
public Query getQueryFilter(java.lang.String field)
Get theQueryto use for drilling down on this bucket viafield.- Overrides:
getQueryFilterin classFacetBucket
-
getValueCount
public long getValueCount()
Get the number of unique field values for the field represented by this bucket.
-
setValueCount
public void setValueCount(long value)
Get the number of unique field values for the field represented by this bucket.
-
add
public void add(FacetBucket other)
Description copied from class:FacetBucketAdd the count forotherto this bucket.- Overrides:
addin classFacetBucket
-
toString
public java.lang.String toString()
- Overrides:
toStringin classFacetBucket
-
hashCode
public int hashCode()
- Overrides:
hashCodein classFacetBucket
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classFacetBucket
-
-