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, setCount
public SchemaFieldBucket(String field, long count)
public SchemaFieldBucket(String field, long count, long valueCount)
public String getField()
public void setField(String value)
public String getDisplayValue()
FacetBucket
getDisplayValue
in class FacetBucket
public Query getQueryFilter(FacetResponse facet)
Query
to use for drilling down on this bucket.getQueryFilter
in class FacetBucket
public long getValueCount()
public void setValueCount(long count)
public Comparable<?> getSortValue()
FacetBucket
getSortValue
in class FacetBucket
public int compareValue(FacetBucket other)
FacetBucket
other
bucket.
NOTE: comparison ignores case in general.
compareValue
in class FacetBucket
public int hashCode()
hashCode
in class FacetBucket
public boolean equals(Object other)
equals
in class FacetBucket
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.