public class SchemaFieldBucket extends FacetBucket
SchemaFacetRequest.count| Constructor and Description |
|---|
SchemaFieldBucket(String field,
long count) |
SchemaFieldBucket(String field,
long count,
long valueCount) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
String |
getField() |
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.
|
long |
getValueCount()
Get the number of unique field values for the field represented by this bucket.
|
int |
hashCode() |
void |
setField(String value) |
void |
setValueCount(long count)
Get the number of unique field values for the field represented by this bucket.
|
clone, getCount, setCountpublic SchemaFieldBucket(String field, long count)
public SchemaFieldBucket(String field, long count, long valueCount)
public String getField()
public void setField(String value)
public String getDisplayValue()
FacetBucketgetDisplayValue in class FacetBucketpublic Query getQueryFilter(FacetResponse facet)
Query to use for drilling down on this bucket.getQueryFilter in class FacetBucketpublic long getValueCount()
public void setValueCount(long count)
public Comparable<?> getSortValue()
FacetBucketgetSortValue 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 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.