org.hypergraphdb.query.cond2qry
Class ExpressionBasedQuery<ResultType>

java.lang.Object
  extended by org.hypergraphdb.HGQuery<ResultType>
      extended by org.hypergraphdb.query.cond2qry.ExpressionBasedQuery<ResultType>
All Implemented Interfaces:
HGGraphHolder

public class ExpressionBasedQuery<ResultType>
extends HGQuery<ResultType>

Author:
Borislav Iordanov

Nested Class Summary
 
Nested classes/interfaces inherited from class org.hypergraphdb.HGQuery
HGQuery.hg
 
Field Summary
 
Fields inherited from class org.hypergraphdb.HGQuery
NOP
 
Constructor Summary
ExpressionBasedQuery(HyperGraph graph, HGQueryCondition condition)
           
 
Method Summary
 HGSearchResult<ResultType> execute()
           
 HGQueryCondition getCondition()
          Return a possibly simplified and normalized version of the condition with which this query was constructed.
 
Methods inherited from class org.hypergraphdb.HGQuery
getHyperGraph, make, setHyperGraph
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpressionBasedQuery

public ExpressionBasedQuery(HyperGraph graph,
                            HGQueryCondition condition)
Method Detail

execute

public HGSearchResult<ResultType> execute()
Specified by:
execute in class HGQuery<ResultType>

getCondition

public HGQueryCondition getCondition()

Return a possibly simplified and normalized version of the condition with which this query was constructed.