public class DebugReader extends ProxyReader
DataEndpoint.StatefieldLineage, recordLineagelastRecord, PRODUCT, PRODUCT_VERSION, VENDOR, XML_INPUT_FACTORY_KEYBUFFER_SIZE, captureElapsedTime, DEFAULT_READ_BUFFER_SIZElog, 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)
Overridden by subclasses to transform, drop, or observe a record on its way through this proxy.
|
void |
setCloseWriterOnClose(boolean closeWriterOnClose) |
DebugReader |
setIncludeElapsedTime(boolean includeElapsedTime) |
addExceptionProperties, available, getNestedReader, map, map, open, readImpl, setNestedDataReader, setNestedDataReaderaddLineage, getBufferSize, getNestedEndpoint, getReader, getRootEndpoint, getRootReader, isExhausted, isLineageSupported, isSaveLineage, peek, pop, push, read, setSaveLineage, skipdecrementRecordCount, enableJmx, getLastRecord, getRecordCount, getRecordCountAsBigInteger, getRecordCountAsString, incrementRecordCount, isRecordCountBigInteger, resetRecordCount, toStringaddElapsedtime, assertClosed, assertNotOpened, assertOpened, finalize, getClosedOn, getDescription, getElapsedTime, getElapsedTimeAsString, getOpenedOn, getOpenElapsedTime, getOpenElapsedTimeAsString, getSelfTime, getSelfTimeAsString, getState, isCaptureElapsedTime, isClosed, isOpen, setCaptureElapsedTime, setDescriptionpublic 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
DataEndpointclose in class ProxyReaderDataExceptionpublic boolean getCloseWriterOnClose()
public void setCloseWriterOnClose(boolean closeWriterOnClose)
public boolean getIncludeElapsedTime()
public DebugReader setIncludeElapsedTime(boolean includeElapsedTime)
protected Record interceptRecord(Record record) throws Throwable
ProxyReaderContract for subclasses (see also docs/authoring/ProxyReader.md):
null to drop the record; the framework reads the next one.DataException with .setRecord(record).DataReader is opened and closed for you; do not read from it here.DataEndpoint.incrementRecordCount() here.interceptRecord in class ProxyReaderThrowableCopyright (c) 2006-2026 North Concepts Inc. All Rights Reserved.