public class PrologNode extends Object implements org.hypergraphdb.HyperNode
| Constructor and Description | 
|---|
PrologNode(org.hypergraphdb.HyperGraph graph)  | 
| Modifier and Type | Method and Description | 
|---|---|
org.hypergraphdb.HGHandle | 
add(Object atom)  | 
org.hypergraphdb.HGHandle | 
add(Object atom,
   org.hypergraphdb.HGHandle type,
   int flags)  | 
long | 
count(org.hypergraphdb.query.HGQueryCondition condition)  | 
void | 
define(org.hypergraphdb.HGHandle handle,
      org.hypergraphdb.HGHandle type,
      Object instance,
      int flags)  | 
<T> org.hypergraphdb.HGSearchResult<T> | 
find(org.hypergraphdb.query.HGQueryCondition condition)  | 
List | 
findAll(org.hypergraphdb.query.HGQueryCondition condition)  | 
<T> T | 
findOne(org.hypergraphdb.query.HGQueryCondition condition)  | 
<T> T | 
get(org.hypergraphdb.HGHandle handle)  | 
<T> List<T> | 
getAll(org.hypergraphdb.query.HGQueryCondition condition)  | 
org.hypergraphdb.HyperGraph | 
getGraph()  | 
org.hypergraphdb.HGHandle | 
getHandle(Object x)  | 
org.hypergraphdb.IncidenceSet | 
getIncidenceSet(org.hypergraphdb.HGHandle handle)  | 
<T> T | 
getOne(org.hypergraphdb.query.HGQueryCondition condition)  | 
org.hypergraphdb.HGHandle | 
getType(org.hypergraphdb.HGHandle handle)  | 
void | 
release(org.hypergraphdb.HGHandle term)
 Remove the given prolog term from the database if it is not linked by any other
 atom. 
 | 
boolean | 
remove(org.hypergraphdb.HGHandle handle)  | 
boolean | 
replace(org.hypergraphdb.HGHandle handle,
       Object newValue,
       org.hypergraphdb.HGHandle newType)  | 
public org.hypergraphdb.HyperGraph getGraph()
public org.hypergraphdb.HGHandle getHandle(Object x)
public void release(org.hypergraphdb.HGHandle term)
 Remove the given prolog term from the database if it is not linked by any other
 atom. Also, if the term is Struct, release recursively all its arguments.
 
public <T> T get(org.hypergraphdb.HGHandle handle)
get in interface org.hypergraphdb.HyperNodepublic org.hypergraphdb.HGHandle add(Object atom)
public org.hypergraphdb.HGHandle add(Object atom, org.hypergraphdb.HGHandle type, int flags)
add in interface org.hypergraphdb.HyperNodepublic void define(org.hypergraphdb.HGHandle handle,
          org.hypergraphdb.HGHandle type,
          Object instance,
          int flags)
define in interface org.hypergraphdb.HyperNodepublic boolean remove(org.hypergraphdb.HGHandle handle)
remove in interface org.hypergraphdb.HyperNodepublic boolean replace(org.hypergraphdb.HGHandle handle,
              Object newValue,
              org.hypergraphdb.HGHandle newType)
replace in interface org.hypergraphdb.HyperNodepublic org.hypergraphdb.HGHandle getType(org.hypergraphdb.HGHandle handle)
getType in interface org.hypergraphdb.HyperNodepublic org.hypergraphdb.IncidenceSet getIncidenceSet(org.hypergraphdb.HGHandle handle)
getIncidenceSet in interface org.hypergraphdb.HyperNodepublic <T> T findOne(org.hypergraphdb.query.HGQueryCondition condition)
findOne in interface org.hypergraphdb.HyperNodepublic <T> org.hypergraphdb.HGSearchResult<T> find(org.hypergraphdb.query.HGQueryCondition condition)
find in interface org.hypergraphdb.HyperNodepublic <T> T getOne(org.hypergraphdb.query.HGQueryCondition condition)
getOne in interface org.hypergraphdb.HyperNodepublic <T> List<T> getAll(org.hypergraphdb.query.HGQueryCondition condition)
getAll in interface org.hypergraphdb.HyperNodepublic List findAll(org.hypergraphdb.query.HGQueryCondition condition)
findAll in interface org.hypergraphdb.HyperNodepublic long count(org.hypergraphdb.query.HGQueryCondition condition)
count in interface org.hypergraphdb.HyperNodeCopyright © 2015. All rights reserved.