public class BucketInfo extends Object implements Serializable
A container for the calculated facet values and counts.
| Constructor and Description |
|---|
BucketInfo() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<Bucket> |
getBuckets()
A list of the calculated facet values and counts.
|
int |
hashCode() |
void |
setBuckets(Collection<Bucket> buckets)
A list of the calculated facet values and counts.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
BucketInfo |
withBuckets(Bucket... buckets)
A list of the calculated facet values and counts.
|
BucketInfo |
withBuckets(Collection<Bucket> buckets)
A list of the calculated facet values and counts.
|
public List<Bucket> getBuckets()
public void setBuckets(Collection<Bucket> buckets)
buckets - A list of the calculated facet values and counts.public BucketInfo withBuckets(Bucket... buckets)
Returns a reference to this object so that method calls can be chained together.
buckets - A list of the calculated facet values and counts.public BucketInfo withBuckets(Collection<Bucket> buckets)
Returns a reference to this object so that method calls can be chained together.
buckets - A list of the calculated facet values and counts.public String toString()
toString in class ObjectObject.toString()Copyright © 2015. All rights reserved.