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

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


        return propertyMap;
    }

    ArrayMap<Integer,PropertyData> nodeGetProperties( long nodeId )
    {
        NodeRecord nodeRecord = getNodeStore().getRecord( nodeId );
           
        long nextProp = nodeRecord.getNextProp();
        ArrayMap<Integer,PropertyData> propertyMap =
            new ArrayMap<Integer,PropertyData>( 9, false, true );
        while ( nextProp != Record.NO_NEXT_PROPERTY.intValue() )
        {
            PropertyRecord propRecord = getPropertyStore().getLightRecord( nextProp );
View Full Code Here


            }
            else if ( inUseFlag != Record.NOT_IN_USE.byteValue() )
            {
                throw new IOException( "Illegal in use flag: " + inUseFlag );
            }
            NodeRecord record = new NodeRecord( id );
            record.setInUse( inUse );
            if ( inUse )
            {
                buffer.clear();
                buffer.limit( 16 );
                if ( byteChannel.read( buffer ) != buffer.limit() )
                {
                    return null;
                }
                buffer.flip();
                record.setNextRel( buffer.getLong() );
                record.setNextProp( buffer.getLong() );
            }
            return new NodeCommand( neoStore.getNodeStore(), record );
        }
View Full Code Here

TOP

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

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.