public class IndexedAccountQuery extends IndexedQuery<Account.Id,AccountState> implements DataSource<AccountState>, Matchable<AccountState>
index, source
Constructor and Description |
---|
IndexedAccountQuery(Index<Account.Id,AccountState> index,
Predicate<AccountState> pred,
QueryOptions opts) |
Modifier and Type | Method and Description |
---|---|
int |
getCost() |
boolean |
match(AccountState accountState)
Does this predicate match this object?
|
copy, equals, getCardinality, getChild, getChildCount, getChildren, getOptions, hashCode, read, readRaw, restart, toString
and, and, any, asMatchable, estimateCost, getLeafCount, isMatchable, not, or, or
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getCardinality, read, readRaw
public IndexedAccountQuery(Index<Account.Id,AccountState> index, Predicate<AccountState> pred, QueryOptions opts) throws QueryParseException
QueryParseException
public boolean match(AccountState accountState)
Matchable
match
in interface Matchable<AccountState>
public int getCost()
getCost
in interface Matchable<AccountState>