public class SelectResultValueBuilder extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SelectResultValueBuilder.MergeBuilder |
Modifier and Type | Field and Description |
---|---|
protected boolean |
descending |
protected Set<String> |
dimensions |
protected Set<String> |
metrics |
protected Map<String,Integer> |
pagingIdentifiers |
protected PagingSpec |
pagingSpec |
protected Queue<EventHolder> |
pQueue |
protected org.joda.time.DateTime |
timestamp |
Constructor and Description |
---|
SelectResultValueBuilder(org.joda.time.DateTime timestamp,
PagingSpec pagingSpec,
boolean descending) |
Modifier and Type | Method and Description |
---|---|
void |
addDimension(String dimension) |
void |
addDimensions(Set<String> dimensions) |
void |
addEntry(EventHolder event) |
void |
addMetric(String metric) |
void |
addMetrics(Set<String> metrics) |
Result<SelectResultValue> |
build() |
void |
finished(String segmentId,
int lastOffset) |
protected List<EventHolder> |
getEventHolders() |
protected Queue<EventHolder> |
instantiatePQueue() |
protected final org.joda.time.DateTime timestamp
protected final PagingSpec pagingSpec
protected final boolean descending
protected final Queue<EventHolder> pQueue
public SelectResultValueBuilder(org.joda.time.DateTime timestamp, PagingSpec pagingSpec, boolean descending)
public void addEntry(EventHolder event)
public void finished(String segmentId, int lastOffset)
public void addDimension(String dimension)
public void addMetric(String metric)
public Result<SelectResultValue> build()
protected List<EventHolder> getEventHolders()
protected Queue<EventHolder> instantiatePQueue()
Copyright © 2011–2017. All rights reserved.