| Modifier and Type | Field and Description |
|---|---|
static NoopLimitSpec |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.base.Function<Sequence<ResultRow>,Sequence<ResultRow>> |
build(GroupByQuery query)
Returns a function that applies a limit to an input sequence that is assumed to be sorted on dimensions.
|
boolean |
equals(Object other) |
LimitSpec |
filterColumns(Set<String> names)
Discard sorting columns not contained in given set.
|
byte[] |
getCacheKey() |
int |
hashCode() |
static NoopLimitSpec |
instance() |
LimitSpec |
merge(LimitSpec other) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitnullToNoopLimitSpecpublic static final NoopLimitSpec INSTANCE
public static NoopLimitSpec instance()
public com.google.common.base.Function<Sequence<ResultRow>,Sequence<ResultRow>> build(GroupByQuery query)
LimitSpecpublic LimitSpec filterColumns(Set<String> names)
LimitSpecfilterColumns in interface LimitSpecnames - columns names to keeppublic byte[] getCacheKey()
getCacheKey in interface CacheableCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.