public OnDiskAtom readNext ( ) throws IOException { Composite name = nameDeserializer . readNext ( ) ; assert ! name . isEmpty ( ) ; // This would imply hasNext() hasn't been called nextFlags = nextFlags == Integer . MIN_VALUE ? in . readUnsignedByte ( ) : nextFlags ; OnDiskAtom atom = ( nextFlags & ColumnSerializer . RANGE_TOMBSTONE_MASK ) != 0 ? type . rangeTombstoneSerializer ( ) . deserializeBody ( in , name , version ) : type . columnSerializer ( ) . deserializeColumnBody ( in , ( CellName ) name , nextFlags , flag , expireBefore ) ; nextFlags = Integer . MIN_VALUE ; return atom ; }
Returns the next atom .