public abstract class FacetBucket extends Object implements Cloneable, Serializable
FacetResponse
.Modifier and Type | Field and Description |
---|---|
protected long |
count
The count
|
Modifier | Constructor and Description |
---|---|
protected |
FacetBucket() |
protected |
FacetBucket(long count) |
Modifier and Type | Method and Description |
---|---|
FacetBucket |
clone() |
abstract int |
compareValue(FacetBucket other)
Compare the value of this bucket to
other bucket. |
boolean |
equals(Object other) |
long |
getCount()
Get the count for this bucket.
|
abstract String |
getDisplayValue()
Get a string value that is suitable as a display value for this bucket.
|
abstract Query |
getQueryFilter(FacetResponse facet)
Get the
Query to use for drilling down on this bucket. |
abstract Comparable<?> |
getSortValue()
Get the value suitable for ordering/hashing buckets.
|
int |
hashCode() |
void |
setCount(long count)
Set the count for this bucket.
|
protected FacetBucket()
protected FacetBucket(long count)
public abstract String getDisplayValue()
public long getCount()
public void setCount(long count)
public abstract Query getQueryFilter(FacetResponse facet)
Query
to use for drilling down on this bucket.public abstract Comparable<?> getSortValue()
public abstract int compareValue(FacetBucket other)
other
bucket.
NOTE: comparison ignores case in general.
public FacetBucket clone()
Copyright © 2018 Attivio, Inc. All Rights Reserved.
PATENT NOTICE: Attivio, Inc. Software Related Patents. With respect to the Attivio software product(s) being used, the following patents apply: Querying Joined Data Within A Search Engine Index: United States Patent No.(s): 8,073,840. Ordered Processing of Groups of Messages: U.S. Patent No.(s) 8,495,656. Signal processing approach to sentiment analysis for entities in documents: U.S. Patent No.(s) 8,725,494. Other U.S. and International Patents Pending.