Package org.neo4j.kernel.impl.nioneo.store

Examples of org.neo4j.kernel.impl.nioneo.store.RelationshipChainPosition


    }

    Pair<ArrayMap<String,RelIdArray>,Map<Long,RelationshipImpl>> getMoreRelationships( NodeImpl node )
    {
        long nodeId = node.getId();
        RelationshipChainPosition position = node.getRelChainPosition();
        Iterable<RelationshipData> rels =
            persistenceManager.getMoreRelationships( nodeId, position );
        ArrayMap<String,RelIdArray> newRelationshipMap =
            new ArrayMap<String,RelIdArray>();
        Map<Long,RelationshipImpl> relsMap = new HashMap<Long,RelationshipImpl>( 150 );
View Full Code Here


    public RelationshipChainPosition getRelationshipChainPosition( long nodeId )
    {
        NodeRecord nodeRecord = getNodeRecord( nodeId );
        if ( nodeRecord != null && nodeRecord.isCreated() )
        {
            return new RelationshipChainPosition(
                  Record.NO_NEXT_RELATIONSHIP.intValue() );
        }
        nodeRecord = getNodeStore().getRecord( nodeId );
        long nextRel = nodeRecord.getNextRel();
        return new RelationshipChainPosition( nextRel );
    }
View Full Code Here

    {
        super( id, newNode );
        if ( newNode )
        {
            relationshipMap = new ArrayMap<String,RelIdArray>();
            relChainPosition = new RelationshipChainPosition(
                Record.NO_NEXT_RELATIONSHIP.intValue() );
        }
    }
View Full Code Here

    public RelationshipChainPosition getRelationshipChainPosition( long nodeId )
    {
        NodeRecord nodeRecord = getNodeStore().getRecord( nodeId );
        long nextRel = nodeRecord.getNextRel();
        return new RelationshipChainPosition( nextRel );
    }
View Full Code Here

TOP

Related Classes of org.neo4j.kernel.impl.nioneo.store.RelationshipChainPosition

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.