Search in sources :

Example 1 with INodeIterator

use of org.neo4j.android.common.INodeIterator in project neo4j-mobile-android by neo4j-contrib.

the class GraphDatabase method getAllNodes.

public NodeIterator getAllNodes() throws RemoteException, Neo4jServiceException {
    ParcelableError err = new ParcelableError();
    INodeIterator it = mProxy.getAllNodes(err);
    Util.throwServiceExceptionIfError(err);
    return new NodeIterator(it);
}
Also used : INodeIterator(org.neo4j.android.common.INodeIterator) INodeIterator(org.neo4j.android.common.INodeIterator) ParcelableError(org.neo4j.android.common.ParcelableError)

Example 2 with INodeIterator

use of org.neo4j.android.common.INodeIterator in project neo4j-mobile-android by neo4j-contrib.

the class GraphDatabase method traverse.

public NodeIterator traverse(ParcelableTraversalDescription desc, long startNodeId) throws RemoteException, Neo4jServiceException {
    ParcelableError err = new ParcelableError();
    INodeIterator result = mProxy.traverse(desc, startNodeId, err);
    Util.throwServiceExceptionIfError(err);
    return new NodeIterator(result);
}
Also used : INodeIterator(org.neo4j.android.common.INodeIterator) INodeIterator(org.neo4j.android.common.INodeIterator) ParcelableError(org.neo4j.android.common.ParcelableError)

Aggregations

INodeIterator (org.neo4j.android.common.INodeIterator)2 ParcelableError (org.neo4j.android.common.ParcelableError)2