public static class ConditionalKeyMapWriter.EntryWriterWrapper extends Object implements MapWriter.EntryWriter
| Constructor and Description |
|---|
EntryWriterWrapper(MapWriter.EntryWriter delegate,
Predicate<CharSequence> predicate) |
| Modifier and Type | Method and Description |
|---|---|
MapWriter.EntryWriter |
put(CharSequence k,
boolean v) |
MapWriter.EntryWriter |
put(CharSequence k,
double v) |
MapWriter.EntryWriter |
put(CharSequence k,
float v) |
MapWriter.EntryWriter |
put(CharSequence k,
int v) |
MapWriter.EntryWriter |
put(CharSequence k,
long v) |
MapWriter.EntryWriter |
put(CharSequence k,
Object v)
Writes a key value into the map
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBiConsumer, put, put, putIfNotNull, putNoEx, putStringIfNotNullpublic EntryWriterWrapper(MapWriter.EntryWriter delegate, Predicate<CharSequence> predicate)
public MapWriter.EntryWriter put(CharSequence k, Object v) throws IOException
MapWriter.EntryWriterput in interface MapWriter.EntryWriterk - The keyv - The value can be any supported objectIOExceptionpublic MapWriter.EntryWriter put(CharSequence k, int v) throws IOException
put in interface MapWriter.EntryWriterIOExceptionpublic MapWriter.EntryWriter put(CharSequence k, long v) throws IOException
put in interface MapWriter.EntryWriterIOExceptionpublic MapWriter.EntryWriter put(CharSequence k, float v) throws IOException
put in interface MapWriter.EntryWriterIOExceptionpublic MapWriter.EntryWriter put(CharSequence k, double v) throws IOException
put in interface MapWriter.EntryWriterIOExceptionpublic MapWriter.EntryWriter put(CharSequence k, boolean v) throws IOException
put in interface MapWriter.EntryWriterIOExceptionCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.