Skip to content

Commit

Permalink
Port relationship property operations to kernel API
Browse files Browse the repository at this point in the history
  • Loading branch information
pontusmelke committed Feb 23, 2018
1 parent b9f1dcb commit 1b7075d
Show file tree
Hide file tree
Showing 7 changed files with 210 additions and 104 deletions.
Expand Up @@ -23,6 +23,7 @@

import org.neo4j.internal.kernel.api.NodeCursor;
import org.neo4j.internal.kernel.api.PropertyCursor;
import org.neo4j.internal.kernel.api.RelationshipScanCursor;
import org.neo4j.internal.kernel.api.Transaction;
import org.neo4j.internal.kernel.api.security.LoginContext;
import org.neo4j.internal.kernel.api.security.SecurityContext;
Expand Down Expand Up @@ -206,6 +207,8 @@ default void close() throws TransactionFailureException

NodeCursor nodeCursor();

RelationshipScanCursor relationshipCursor();

PropertyCursor propertyCursor();

@FunctionalInterface
Expand Down
Expand Up @@ -41,6 +41,7 @@
import org.neo4j.internal.kernel.api.NodeCursor;
import org.neo4j.internal.kernel.api.PropertyCursor;
import org.neo4j.internal.kernel.api.Read;
import org.neo4j.internal.kernel.api.RelationshipScanCursor;
import org.neo4j.internal.kernel.api.SchemaRead;
import org.neo4j.internal.kernel.api.SchemaWrite;
import org.neo4j.internal.kernel.api.TokenRead;
Expand Down Expand Up @@ -1072,6 +1073,12 @@ public NodeCursor nodeCursor()
return operations.nodeCursor();
}

@Override
public RelationshipScanCursor relationshipCursor()
{
return operations.relationshipCursor();
}

@Override
public PropertyCursor propertyCursor()
{
Expand Down

0 comments on commit 1b7075d

Please sign in to comment.