public final class Bucket
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Bucket.Builder |
| Modifier and Type | Field and Description |
|---|---|
java.util.List<Aggregation> |
aggregations |
long |
count |
java.lang.String |
key |
java.lang.Object |
value |
| Constructor and Description |
|---|
Bucket() |
| Modifier and Type | Method and Description |
|---|---|
static Bucket.Builder |
bucketBuilder() |
static Bucket.Builder |
deserializeBucket(io.polyglotted.common.model.MapResult map) |
boolean |
hasAggregations() |
public final java.lang.String key
public final java.lang.Object value
public final long count
public final java.util.List<Aggregation> aggregations
public boolean hasAggregations()
public static Bucket.Builder deserializeBucket(io.polyglotted.common.model.MapResult map)
public static Bucket.Builder bucketBuilder()