public class IndexScanQuery<Key,Value> extends HGQuery<Value>
This queries simply scans all elements in a given index. The result of
execute is actually HGRandomAccessResult. One can
scan either the keys or the values of the HGIndex based on
the returnKeys boolean constructor parameter.
HGQuery.hg| Constructor and Description |
|---|
IndexScanQuery(HGIndex<Key,Value> idx,
boolean returnKeys) |
| Modifier and Type | Method and Description |
|---|---|
HGSearchResult |
execute()
Execute the query and return the result set.
|
compile, findAll, findInSet, findOne, getHyperGraph, initialValue, initialVar, make, make, NOP, setHyperGraph, var, varpublic HGSearchResult execute()
HGQuery
Execute the query and return the result set. Note that queries are lazily executed so that
results are actually obtained when one iterates (using the next and prev
of the returned object).
Copyright © 2015. All rights reserved.