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
public 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 MapWriter
IOException
public static BiPredicate<CharSequence,Object> dedupeKeyPredicate(Set<CharSequence> keys)
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.