public class ConditionalKeyMapWriter extends Object implements MapWriter
Modifier and Type | Class and Description |
---|---|
static class |
ConditionalKeyMapWriter.EntryWriterWrapper |
MapWriter.EntryWriter
Constructor and Description |
---|
ConditionalKeyMapWriter(MapWriter delegate,
Predicate<CharSequence> predicate) |
Modifier and Type | Method and Description |
---|---|
static Predicate<CharSequence> |
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 ConditionalKeyMapWriter(MapWriter delegate, Predicate<CharSequence> predicate)
public void writeMap(MapWriter.EntryWriter ew) throws IOException
writeMap
in interface MapWriter
IOException
public static Predicate<CharSequence> dedupeKeyPredicate(Set<CharSequence> keys)
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.