public class KeySelector extends Object
KeySelector utility that can be generated out of a given KVQuery| Constructor and Description |
|---|
KeySelector(com.google.common.base.Predicate<StaticBuffer> keyFilter,
int limit) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
include(StaticBuffer key) |
static KeySelector |
of(int limit) |
boolean |
reachedLimit() |
public KeySelector(com.google.common.base.Predicate<StaticBuffer> keyFilter, int limit)
public static final KeySelector of(int limit)
public boolean include(StaticBuffer key)
public boolean reachedLimit()
Copyright © 2012–2015. All rights reserved.