public static interface MapWriter.EntryWriter
Modifier and Type | Method and Description |
---|---|
default MapWriter.EntryWriter |
put(String k,
boolean v) |
default MapWriter.EntryWriter |
put(String k,
double v) |
default MapWriter.EntryWriter |
put(String k,
float v) |
default MapWriter.EntryWriter |
put(String k,
int v) |
default MapWriter.EntryWriter |
put(String k,
long v) |
MapWriter.EntryWriter |
put(String k,
Object v)
Writes a key value into the map
|
default MapWriter.EntryWriter |
putIfNotNull(String k,
Object v) |
MapWriter.EntryWriter put(String k, Object v) throws IOException
k
- The keyv
- The value can be any supported objectIOException
default MapWriter.EntryWriter putIfNotNull(String k, Object v) throws IOException
IOException
default MapWriter.EntryWriter put(String k, int v) throws IOException
IOException
default MapWriter.EntryWriter put(String k, long v) throws IOException
IOException
default MapWriter.EntryWriter put(String k, float v) throws IOException
IOException
default MapWriter.EntryWriter put(String k, double v) throws IOException
IOException
default MapWriter.EntryWriter put(String k, boolean v) throws IOException
IOException
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.