org.hypergraphdb.query.impl
Class DefaultKeyBasedQuery
java.lang.Object
org.hypergraphdb.HGQuery
org.hypergraphdb.query.impl.KeyBasedQuery
org.hypergraphdb.query.impl.DefaultKeyBasedQuery
public class DefaultKeyBasedQuery
- extends KeyBasedQuery
| Fields inherited from class org.hypergraphdb.HGQuery |
NOP |
|
Method Summary |
HGSearchResult<?> |
execute()
|
java.lang.Object |
getKey()
Retrieve the key object used to perform this query. |
void |
setKey(java.lang.Object key)
Specify the key on which this query operates. |
| Methods inherited from class org.hypergraphdb.HGQuery |
make |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultKeyBasedQuery
public DefaultKeyBasedQuery(HyperGraph graph,
HGQueryCondition cond,
ValueSetter setter)
getKey
public java.lang.Object getKey()
- Description copied from class:
KeyBasedQuery
Retrieve the key object used to perform this query.
- Specified by:
getKey in class KeyBasedQuery
setKey
public void setKey(java.lang.Object key)
- Description copied from class:
KeyBasedQuery
Specify the key on which this query operates.
- Specified by:
setKey in class KeyBasedQuery
- Parameters:
key - The key object. The value may be interpreted differently
based on the concrete HGQuery instance. Usually it
should be either a byte [] or convertible to one.
execute
public HGSearchResult<?> execute()
- Specified by:
execute in class HGQuery