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 void
add(FacetBucket other)
Add the count forother
to this bucket.boolean
equals(java.lang.Object other)
java.lang.String
getField()
Query
getQueryFilter(java.lang.String field)
Get theQuery
to use for drilling down on this bucket viafield
.long
getValueCount()
Get the number of unique field values for the field represented by this bucket.int
hashCode()
void
setField(java.lang.String value)
void
setValueCount(long value)
Get the number of unique field values for the field represented by this bucket.java.lang.String
toString()
-
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 theQuery
to use for drilling down on this bucket viafield
.- Overrides:
getQueryFilter
in 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:FacetBucket
Add the count forother
to this bucket.- Overrides:
add
in classFacetBucket
-
toString
public java.lang.String toString()
- Overrides:
toString
in classFacetBucket
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classFacetBucket
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classFacetBucket
-
-