public interface LimitSpec extends Cacheable
| 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.
|
LimitSpec |
filterColumns(Set<String> names)
Discard sorting columns not contained in given set.
|
LimitSpec |
merge(LimitSpec other) |
static LimitSpec |
nullToNoopLimitSpec(LimitSpec limitSpec) |
getCacheKeycom.google.common.base.Function<Sequence<ResultRow>,Sequence<ResultRow>> build(GroupByQuery query)
query - the query that this limit spec belongs toLimitSpec filterColumns(Set<String> names)
names - columns names to keepCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.