@Beta public interface CompactWriter
Modifier and Type | Method and Description |
---|---|
void |
writeBoolean(String fieldName,
boolean value)
Writes a boolean.
|
void |
writeBooleanArray(String fieldName,
boolean[] values)
Writes an array of booleans.
|
void |
writeByte(String fieldName,
byte value)
Writes an 8-bit two's complement signed integer.
|
void |
writeByteArray(String fieldName,
byte[] values)
Writes an array of 8-bit two's complement signed integers.
|
void |
writeChar(String fieldName,
char value)
Writes a 16-bit unsigned integer.
|
void |
writeCharArray(String fieldName,
char[] values)
Writes an array of 16-bit unsigned integers.
|
void |
writeDate(String fieldName,
LocalDate value)
Writes a date consisting of year, month, and day.
|
void |
writeDateArray(String fieldName,
LocalDate[] values)
Writes an array of dates consisting of year, month, and day.
|
void |
writeDecimal(String fieldName,
BigDecimal value)
Writes an arbitrary precision and scale floating point number.
|
void |
writeDecimalArray(String fieldName,
BigDecimal[] values)
Writes an array of arbitrary precision and scale floating point numbers.
|
void |
writeDouble(String fieldName,
double value)
Writes a 64-bit IEEE 754 floating point number.
|
void |
writeDoubleArray(String fieldName,
double[] values)
Writes an array of 64-bit IEEE 754 floating point numbers.
|
void |
writeFloat(String fieldName,
float value)
Writes a 32-bit IEEE 754 floating point number.
|
void |
writeFloatArray(String fieldName,
float[] values)
Writes an array of 32-bit IEEE 754 floating point numbers.
|
void |
writeInt(String fieldName,
int value)
Writes a 32-bit two's complement signed integer.
|
void |
writeIntArray(String fieldName,
int[] values)
Writes an array of 32-bit two's complement signed integers.
|
void |
writeLong(String fieldName,
long value)
Writes a 64-bit two's complement signed integer.
|
void |
writeLongArray(String fieldName,
long[] values)
Writes an array of 64-bit two's complement signed integers.
|
<T> void |
writeObject(String fieldName,
T value)
Writes an arbitrary object.
|
<T> void |
writeObjectArray(String fieldName,
T[] values)
Writes an array of arbitrary objects.
|
void |
writeShort(String fieldName,
short value)
Writes a 16-bit two's complement signed integer.
|
void |
writeShortArray(String fieldName,
short[] values)
Writes an array of 16-bit two's complement signed integers.
|
void |
writeString(String fieldName,
String value)
Writes an UTF-8 encoded string.
|
void |
writeStringArray(String fieldName,
String[] values)
Writes an array of UTF-8 encoded strings.
|
void |
writeTime(String fieldName,
LocalTime value)
Writes a time consisting of hour, minute, second, and nano seconds.
|
void |
writeTimeArray(String fieldName,
LocalTime[] values)
Writes an array of times consisting of hour, minute, second, and nano seconds.
|
void |
writeTimestamp(String fieldName,
LocalDateTime value)
Writes a timestamp consisting of date and time.
|
void |
writeTimestampArray(String fieldName,
LocalDateTime[] values)
Writes an array of timestamps consisting of date and time.
|
void |
writeTimestampWithTimezone(String fieldName,
OffsetDateTime value)
Reads a timestamp with timezone consisting of date, time and timezone offset.
|
void |
writeTimestampWithTimezoneArray(String fieldName,
OffsetDateTime[] values)
Writes an array of timestamps with timezone consisting of date, time and timezone offset.
|
void writeInt(@Nonnull String fieldName, int value)
fieldName
- name of the field.value
- value to be written.void writeLong(@Nonnull String fieldName, long value)
fieldName
- name of the field.value
- value to be written.void writeString(@Nonnull String fieldName, String value)
fieldName
- name of the field.value
- value to be written.void writeBoolean(@Nonnull String fieldName, boolean value)
fieldName
- name of the field.value
- value to be written.void writeByte(@Nonnull String fieldName, byte value)
fieldName
- name of the field.value
- value to be written.void writeChar(@Nonnull String fieldName, char value)
fieldName
- name of the field.value
- value to be written.void writeDouble(@Nonnull String fieldName, double value)
fieldName
- name of the field.value
- value to be written.void writeFloat(@Nonnull String fieldName, float value)
fieldName
- name of the field.value
- value to be written.void writeShort(@Nonnull String fieldName, short value)
fieldName
- name of the field.value
- value to be written.void writeDecimal(@Nonnull String fieldName, @Nullable BigDecimal value)
fieldName
- name of the field.value
- value to be written.void writeTime(@Nonnull String fieldName, @Nonnull LocalTime value)
fieldName
- name of the field.value
- value to be written.void writeDate(@Nonnull String fieldName, @Nonnull LocalDate value)
fieldName
- name of the field.value
- value to be written.void writeTimestamp(@Nonnull String fieldName, @Nonnull LocalDateTime value)
fieldName
- name of the field.value
- value to be written.void writeTimestampWithTimezone(@Nonnull String fieldName, @Nonnull OffsetDateTime value)
fieldName
- name of the field.value
- value to be written.<T> void writeObject(@Nonnull String fieldName, @Nullable T value)
fieldName
- name of the field.value
- value to be written.void writeByteArray(@Nonnull String fieldName, @Nullable byte[] values)
fieldName
- name of the field.values
- values to be written.void writeBooleanArray(@Nonnull String fieldName, @Nullable boolean[] values)
fieldName
- name of the field.values
- value to be written.void writeCharArray(@Nonnull String fieldName, @Nullable char[] values)
fieldName
- name of the field.values
- values to be written.void writeIntArray(@Nonnull String fieldName, @Nullable int[] values)
fieldName
- name of the field.values
- values to be written.void writeLongArray(@Nonnull String fieldName, @Nullable long[] values)
fieldName
- name of the field.values
- values to be written.void writeDoubleArray(@Nonnull String fieldName, @Nullable double[] values)
fieldName
- name of the field.values
- values to be written.void writeFloatArray(@Nonnull String fieldName, @Nullable float[] values)
fieldName
- name of the field.values
- values to be written.void writeShortArray(@Nonnull String fieldName, @Nullable short[] values)
fieldName
- name of the field.values
- values to be written.void writeStringArray(@Nonnull String fieldName, @Nullable String[] values)
fieldName
- name of the field.values
- values to be written.void writeDecimalArray(@Nonnull String fieldName, @Nullable BigDecimal[] values)
fieldName
- name of the field.values
- values to be written.void writeTimeArray(@Nonnull String fieldName, @Nullable LocalTime[] values)
fieldName
- name of the field.values
- values to be written.void writeDateArray(@Nonnull String fieldName, @Nullable LocalDate[] values)
fieldName
- name of the field.values
- values to be written.void writeTimestampArray(@Nonnull String fieldName, @Nullable LocalDateTime[] values)
fieldName
- name of the field.values
- values to be written.void writeTimestampWithTimezoneArray(@Nonnull String fieldName, @Nullable OffsetDateTime[] values)
fieldName
- name of the field.values
- values to be written.Copyright © 2021 Hazelcast, Inc.. All rights reserved.