com.northconcepts.datapipeline.core
Class SequenceReader
java.lang.Object
com.northconcepts.datapipeline.core.DataEndpoint
com.northconcepts.datapipeline.core.DataReader
com.northconcepts.datapipeline.core.SequenceReader
public class SequenceReader
- extends DataReader
| Methods inherited from class com.northconcepts.datapipeline.core.DataEndpoint |
assertNotOpened, assertOpened, decrementRecordCount, exception, exception, exception, finalize, getRecordCount, getRecordCountAsBigInteger, getRecordCountAsString, getState, incrementRecordCount, isClosed, isOpen, isRecordCountBigInteger, resetRecordCount, toString |
SequenceReader
public SequenceReader()
add
public SequenceReader add(DataReader reader)
addExceptionProperties
public DataException addExceptionProperties(DataException exception)
- Description copied from class:
DataEndpoint
- Adds this endpoint's current state to a
DataException. Since this method is called whenever an
exception is thrown, subclasses should override it to add their specific information.
- Overrides:
addExceptionProperties in class DataReader
getCount
public int getCount()
remove
public SequenceReader remove(DataReader reader)
removeAllDataReader
public SequenceReader removeAllDataReader()
get
public DataReader get(int index)
open
public void open()
throws DataException
- Description copied from class:
DataEndpoint
- Makes this endpoint ready for reading or writing.
- Overrides:
open in class DataEndpoint
- Throws:
DataException
available
public int available()
- Description copied from class:
DataReader
- Returns the number of records that can probably be read without blocking.
- Overrides:
available in class DataReader
close
public void close()
throws DataException
- Description copied from class:
DataEndpoint
- Indicates that this endpoint has finished reading or writing.
- Overrides:
close in class DataEndpoint
- Throws:
DataException
readImpl
protected Record readImpl()
throws Throwable
- Description copied from class:
DataReader
- Overridden by subclasses to read the next record from this
DataReader.
If no record is available, null will be returned.
- Specified by:
readImpl in class DataReader
- Throws:
Throwable
Copyright (c) 2007-2009 North Concepts Inc. All Rights Reserved.