/** Returns the block number */ long getBlock() { return block.readLong( pos + O_BLOCK ); }
/** Returns the block number */ long getBlock() { return block.readLong( pos + O_BLOCK ); }
/** Returns the block number */ long getBlock() { return block.readLong( pos + O_BLOCK ); }
/** * Returns the indicated root rowid. A root rowid is a special rowid * that needs to be kept between sessions. It could conceivably be * stored in a special file, but as a large amount of space in the * block header is wasted anyway, it's more useful to store it where * it belongs. * * @see #NROOTS */ long getRoot(int root) { return block.readLong(offsetOfRoot(root)); }
/** * Returns the first block of the indicated list */ long getFirstOf( int list ) { return block.readLong( offsetOfFirst( list ) ); }
/** * Returns the last block of the indicated list */ long getLastOf( int list ) { return block.readLong( offsetOfLast( list ) ); }
/** Returns the previous block. */ long getPrev() { paranoiaMagicOk(); return block.readLong( O_PREV ); }
/** * Returns the first block of the indicated list */ long getFirstOf(int list) { return block.readLong(offsetOfFirst(list)); }
/** * Returns the last block of the indicated list */ long getLastOf( int list ) { return block.readLong( offsetOfLast( list ) ); }
/** * Returns the first block of the indicated list */ long getFirstOf( int list ) { return block.readLong( offsetOfFirst( list ) ); }
/** Returns the next block. */ long getNext() { paranoiaMagicOk(); return block.readLong( O_NEXT ); }
/** * Returns the last block of the indicated list */ long getLastOf(int list) { return block.readLong(offsetOfLast(list)); }
/** * @return the next block (ie the long at position 2 in the BlockIo) */ long getNext() { paranoiaMagicOk(); return blockIo.readLong( O_NEXT ); }
/** Returns the next block. */ long getNext() { paranoiaMagicOk(); return block.readLong( O_NEXT ); }
/** Returns the previous block. */ long getPrev() { paranoiaMagicOk(); return block.readLong( O_PREV ); }
/** * Returns the indicated root rowid. A root rowid is a special rowid * that needs to be kept between sessions. It could conceivably be * stored in a special file, but as a large amount of space in the * block header is wasted anyway, it's more useful to store it where * it belongs. * * @see #NROOTS */ long getRoot( int root ) { return block.readLong( offsetOfRoot( root ) ); }
/** * Returns the last block of the indicated list */ long getLastOf( int list ) { return block.readLong( offsetOfLast( list ) ); }
/** Returns the next block. */ long getNext() { paranoiaMagicOk(); return block.readLong(O_NEXT); }
/** Returns the previous block. */ long getPrev() { paranoiaMagicOk(); return block.readLong(O_PREV); }
/** * Returns the first block of the indicated list */ long getFirstOf( int list ) { return block.readLong( offsetOfFirst( list ) ); }