public class MapWriter extends DataWriter
DataEndpoint.State
lastRecord, PRODUCT, PRODUCT_VERSION, VENDOR, XML_INPUT_FACTORY_KEY
BUFFER_SIZE, captureElapsedTime, DEFAULT_READ_BUFFER_SIZE
id, log, name, TIMESTAMP_FORMAT
Constructor and Description |
---|
MapWriter(FieldPath key,
FieldPath value,
Map<?,?> map) |
MapWriter(String keyFieldPath,
String valueFieldPath,
Map<?,?> map) |
Modifier and Type | Method and Description |
---|---|
FieldPath |
getKey() |
<K,V> Map<K,V> |
getMap() |
FieldPath |
getValue() |
protected void |
writeImpl(Record record)
Overridden by subclasses to write the specified record to this
DataWriter . |
addExceptionProperties, available, getNestedEndpoint, getNestedWriter, getRootEndpoint, getRootWriter, write
close, decrementRecordCount, enableJmx, getLastRecord, getRecordCount, getRecordCountAsBigInteger, getRecordCountAsString, incrementRecordCount, isRecordCountBigInteger, open, resetRecordCount, toString
addElapsedtime, assertClosed, assertNotOpened, assertOpened, finalize, getClosedOn, getDescription, getElapsedTime, getElapsedTimeAsString, getOpenedOn, getOpenElapsedTime, getOpenElapsedTimeAsString, getSelfTime, getSelfTimeAsString, getState, isCaptureElapsedTime, isClosed, isOpen, setCaptureElapsedTime, setDescription
public FieldPath getKey()
public FieldPath getValue()
public <K,V> Map<K,V> getMap()
protected void writeImpl(Record record) throws Throwable
DataWriter
DataWriter
.writeImpl
in class DataWriter
Throwable
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.