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, _sizepublic ConditionalKeyMapWriter(MapWriter delegate, Predicate<CharSequence> predicate)
public void writeMap(MapWriter.EntryWriter ew) throws IOException
writeMap in interface MapWriterIOExceptionpublic static Predicate<CharSequence> dedupeKeyPredicate(Set<CharSequence> keys)
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.