public class ConditionalMapWriter extends Object implements MapWriter
| Modifier and Type | Class and Description |
|---|---|
static class |
ConditionalMapWriter.EntryWriterWrapper |
MapWriter.EntryWriter| Modifier and Type | Field and Description |
|---|---|
static BiPredicate<CharSequence,Object> |
NON_NULL_VAL |
| Constructor and Description |
|---|
ConditionalMapWriter(MapWriter delegate,
BiPredicate<CharSequence,Object> predicate) |
| Modifier and Type | Method and Description |
|---|---|
static BiPredicate<CharSequence,Object> |
dedupeKeyPredicate(Set<CharSequence> keys) |
void |
writeMap(MapWriter.EntryWriter ew) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait_forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _getStr, _getStr, _sizepublic static final BiPredicate<CharSequence,Object> NON_NULL_VAL
public ConditionalMapWriter(MapWriter delegate, BiPredicate<CharSequence,Object> predicate)
public void writeMap(MapWriter.EntryWriter ew) throws IOException
writeMap in interface MapWriterIOExceptionpublic static BiPredicate<CharSequence,Object> dedupeKeyPredicate(Set<CharSequence> keys)
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.