public class QueryFacetBucket extends FacetBucket
count| Constructor and Description |
|---|
QueryFacetBucket(String label,
Query filter,
long count)
Constructor.
|
QueryFacetBucket(String label,
Query filter,
long count,
int ordinal)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
QueryFacetBucket |
clone() |
int |
compareValue(FacetBucket other)
Compare the value of this bucket to
other bucket. |
boolean |
equals(Object other) |
String |
getDisplayValue()
Get a string value that is suitable as a display value for this bucket.
|
Query |
getFilter()
Get the filter for this bucket.
|
String |
getLabel()
Get the label for this bucket.
|
int |
getOrdinal()
Get the ordinal or this bucket.
|
Query |
getQueryFilter(FacetResponse facet)
Get the
Query to use for drilling down on this bucket. |
Comparable<?> |
getSortValue()
Get the value suitable for ordering/hashing buckets.
|
int |
hashCode() |
void |
setFilter(Query value)
Set the filter for this bucket.
|
void |
setLabel(String label)
Set the label for this bucket.
|
void |
setOrdinal(int value)
Set the ordinal or this bucket.
|
getCount, setCountpublic String getLabel()
public void setLabel(String label)
public Query getFilter()
public void setFilter(Query value)
public int getOrdinal()
The ordinal value corresponds to the order this filter for this bucket
was added to the FilterBasedFacetRequest.
public void setOrdinal(int value)
The ordinal value corresponds to the order this filter for this bucket
was added to the FilterBasedFacetRequest.
public String getDisplayValue()
getDisplayValue in class FacetBucketpublic Query getQueryFilter(FacetResponse facet)
Query to use for drilling down on this bucket.getQueryFilter in class FacetBucketpublic Comparable<?> getSortValue()
getSortValue in class FacetBucketpublic int compareValue(FacetBucket other)
FacetBucketother bucket.
NOTE: comparison ignores case in general.
compareValue in class FacetBucketpublic int hashCode()
hashCode in class FacetBucketpublic boolean equals(Object other)
equals in class FacetBucketpublic QueryFacetBucket clone()
clone in class FacetBucketCopyright © 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.