public class ConditionalMapWriter extends Object implements MapWriter
MapWriter.EntryWriter
Modifier and Type | Field and Description |
---|---|
static BiPredicate<String,Object> |
NON_NULL_VAL |
Constructor and Description |
---|
ConditionalMapWriter(MapWriter delegate,
BiPredicate<String,Object> predicate) |
Modifier and Type | Method and Description |
---|---|
static BiPredicate<String,Object> |
dedupeKeyPredicate(Set<String> keys) |
void |
writeMap(MapWriter.EntryWriter ew) |
public static final BiPredicate<String,Object> NON_NULL_VAL
public ConditionalMapWriter(MapWriter delegate, BiPredicate<String,Object> predicate)
public void writeMap(MapWriter.EntryWriter ew) throws IOException
writeMap
in interface MapWriter
IOException
public static BiPredicate<String,Object> dedupeKeyPredicate(Set<String> keys)
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.