org.hypergraphdb.query.impl
Class ResultMapQuery
java.lang.Object
org.hypergraphdb.HGQuery
org.hypergraphdb.query.impl.ResultMapQuery
- All Implemented Interfaces:
- HGGraphHolder
public class ResultMapQuery
- extends HGQuery
A HGQuery that transforms the result of an underlying query
by applying a provided mapping.
- Author:
- Borislav Iordanov
| Fields inherited from class org.hypergraphdb.HGQuery |
NOP |
|
Constructor Summary |
ResultMapQuery(HGQuery query,
Mapping mapping)
Create a query that transforms the output of a given query by
the specified mapping. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResultMapQuery
public ResultMapQuery(HGQuery query,
Mapping mapping)
Create a query that transforms the output of a given query by
the specified mapping. You can pass null as the
mapping for the identity mapping.
setMapping
public void setMapping(Mapping mapping)
getMapping
public Mapping getMapping()
execute
public HGSearchResult execute()
- Specified by:
execute in class HGQuery