public class DebugReader extends ProxyReader
DataEndpoint.State
fieldLineage, recordLineage
lastRecord, PRODUCT, PRODUCT_VERSION, VENDOR, XML_INPUT_FACTORY_KEY
BUFFER_SIZE, captureElapsedTime, DEFAULT_READ_BUFFER_SIZE
log, name, TIMESTAMP_FORMAT
Constructor and Description |
---|
DebugReader(DataReader nestedDataReader) |
DebugReader(DataReader nestedDataReader,
String id) |
DebugReader(DataReader nestedDataReader,
String id,
OutputStream outputStream) |
DebugReader(DataReader nestedDataReader,
String id,
Writer writer) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Indicates that this endpoint has finished reading or writing.
|
boolean |
getCloseWriterOnClose() |
boolean |
getIncludeElapsedTime() |
protected Record |
interceptRecord(Record record) |
void |
setCloseWriterOnClose(boolean closeWriterOnClose) |
DebugReader |
setIncludeElapsedTime(boolean includeElapsedTime) |
addExceptionProperties, available, getNestedReader, map, map, open, readImpl, setNestedDataReader, setNestedDataReader
addLineage, getBufferSize, getNestedEndpoint, getRootEndpoint, getRootReader, isExhausted, isLineageSupported, isSaveLineage, peek, pop, push, read, setSaveLineage, skip
decrementRecordCount, enableJmx, getLastRecord, getRecordCount, getRecordCountAsBigInteger, getRecordCountAsString, incrementRecordCount, isRecordCountBigInteger, resetRecordCount, toString
addElapsedtime, assertClosed, assertNotOpened, assertOpened, finalize, getClosedOn, getDescription, getElapsedTime, getElapsedTimeAsString, getOpenedOn, getOpenElapsedTime, getOpenElapsedTimeAsString, getSelfTime, getSelfTimeAsString, getState, isCaptureElapsedTime, isClosed, isOpen, setCaptureElapsedTime, setDescription
public DebugReader(DataReader nestedDataReader, String id, Writer writer)
public DebugReader(DataReader nestedDataReader, String id, OutputStream outputStream)
public DebugReader(DataReader nestedDataReader, String id)
public DebugReader(DataReader nestedDataReader)
public void close() throws DataException
DataEndpoint
close
in class ProxyReader
DataException
public boolean getCloseWriterOnClose()
public void setCloseWriterOnClose(boolean closeWriterOnClose)
public boolean getIncludeElapsedTime()
public DebugReader setIncludeElapsedTime(boolean includeElapsedTime)
protected Record interceptRecord(Record record) throws Throwable
interceptRecord
in class ProxyReader
Throwable
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.