initializes the sequence for reading . this method needs to be called before the first call to #getnext . otherwise the results of #getnext are not predictable . concode_field_sep File currentSpillFile concode_elem_sep String spillFilePrefix concode_elem_sep ByteBuffer readBuffer concode_elem_sep ByteBuffer[] sources concode_elem_sep int fileCounter concode_elem_sep int HEADER_LENGTH concode_elem_sep int pageSize concode_elem_sep FileChannel currentChannel concode_elem_sep boolean opened concode_elem_sep boolean hasWritten concode_elem_sep File file concode_elem_sep int READ_BUFFER_SIZE concode_elem_sep ByteBuffer headBuffer concode_elem_sep File tempDir concode_elem_sep ByteBuffer buffer concode_elem_sep AtomicInteger DIRECTORY_INDEX concode_elem_sep FileChannel fileChannel concode_field_sep void add concode_elem_sep void cleanup concode_elem_sep void createSpillingChannel concode_elem_sep SpilledBufferOrEventSequence rollOverInternal concode_elem_sep SpilledBufferOrEventSequence rollOverWithNewBuffer concode_elem_sep BufferOrEvent getNext concode_elem_sep SpilledBufferOrEventSequence rollOver concode_elem_sep void close concode_elem_sep File getCurrentSpillFile concode_elem_sep FileChannel getCurrentChannel
void function ( ) { if ( ! opened ) { opened = true ; buffer . position ( 0 ) ; buffer . limit ( 0 ) ; } }