E - type of Exception thrown from writer methods.public interface ValueWriter<E extends Exception>
Has functionality to write all supported primitives, as well as arrays and different representations of Strings.
| Modifier and Type | Interface and Description |
|---|---|
static class |
ValueWriter.Adapter<E extends Exception> |
static class |
ValueWriter.ArrayType |
| Modifier and Type | Method and Description |
|---|---|
void |
beginArray(int size,
ValueWriter.ArrayType arrayType) |
void |
endArray() |
void |
writeBoolean(boolean value) |
void |
writeByteArray(byte[] value) |
void |
writeDate(LocalDate localDate) |
void |
writeDateTime(ZonedDateTime zonedDateTime) |
void |
writeDuration(long months,
long days,
long seconds,
int nanos) |
void |
writeFloatingPoint(double value) |
void |
writeFloatingPoint(float value) |
void |
writeGeoPoint(GeoPoint geoPoint) |
void |
writeInteger(byte value) |
void |
writeInteger(int value) |
void |
writeInteger(long value) |
void |
writeInteger(short value) |
void |
writeLocalDateTime(LocalDateTime localDateTime) |
void |
writeLocalTime(LocalTime localTime) |
void |
writeNull() |
void |
writeString(char value) |
void |
writeString(String value) |
void |
writeTime(OffsetTime offsetTime) |
default void |
writeUTF8(byte[] bytes,
int offset,
int length) |
void beginArray(int size,
ValueWriter.ArrayType arrayType)
throws E extends Exception
void writeDuration(long months,
long days,
long seconds,
int nanos)
throws E extends Exception
void writeTime(OffsetTime offsetTime) throws E extends Exception
void writeLocalDateTime(LocalDateTime localDateTime) throws E extends Exception
void writeDateTime(ZonedDateTime zonedDateTime) throws E extends Exception
Copyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.