HGQuery.hg| Constructor and Description |
|---|
ResultMapQuery(HGQuery query,
Mapping mapping)
Create a query that transforms the output of a given query by
the specified mapping.
|
| Modifier and Type | Method and Description |
|---|---|
HGSearchResult |
execute()
Execute the query and return the result set.
|
Mapping |
getMapping() |
Iterator<HGQuery> |
iterator() |
void |
setMapping(Mapping mapping) |
compile, findAll, findInSet, findOne, getHyperGraph, initialValue, initialVar, make, make, NOP, setHyperGraph, var, varpublic void setMapping(Mapping mapping)
public Mapping getMapping()
public 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.