org.knime.core.data.container
Class Buffer.FromFileIterator

java.lang.Object
  extended by org.knime.core.data.RowIterator
      extended by org.knime.core.data.container.CloseableRowIterator
          extended by org.knime.core.data.container.Buffer.FromFileIterator
All Implemented Interfaces:
Iterator<DataRow>, KNIMEStreamConstants
Direct Known Subclasses:
BufferFromFileIteratorVersion1x, BufferFromFileIteratorVersion20
Enclosing class:
Buffer

abstract static class Buffer.FromFileIterator
extends CloseableRowIterator
implements KNIMEStreamConstants

Super class of all file iterators.


Field Summary
 
Fields inherited from interface org.knime.core.data.container.KNIMEStreamConstants
BYTE_ROW_SEPARATOR, BYTE_TYPE_MISSING, BYTE_TYPE_SERIALIZATION, BYTE_TYPE_START, DUMMY_ROW_KEY, TC_ESCAPE, TC_TERMINATE
 
Constructor Summary
Buffer.FromFileIterator()
           
 
Method Summary
abstract  BlobSupportDataRow next()
          Returns the next DataRow.
(package private) abstract  boolean performClose()
          Called when the stream closing should take place.
 
Methods inherited from class org.knime.core.data.container.CloseableRowIterator
close
 
Methods inherited from class org.knime.core.data.RowIterator
hasNext, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Buffer.FromFileIterator

Buffer.FromFileIterator()
Method Detail

performClose

abstract boolean performClose()
                       throws IOException
Called when the stream closing should take place.

Returns:
Whether the stream close was actually performed (that is false when already closed.)
Throws:
IOException - If closing fails.

next

public abstract BlobSupportDataRow next()
Returns the next DataRow.

Specified by:
next in interface Iterator<DataRow>
Specified by:
next in class RowIterator
Returns:
the next row in the DataTable


Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.