@Beta public interface CompactWriter
Modifier and Type | Method and Description |
---|---|
void |
writeArrayOfBoolean(String fieldName,
boolean[] value)
Writes an array of booleans.
|
<T> void |
writeArrayOfCompact(String fieldName,
T[] value)
Writes an array of nested compact objects.
|
void |
writeArrayOfDate(String fieldName,
LocalDate[] value)
Writes an array of dates consisting of year, month, and day.
|
void |
writeArrayOfDecimal(String fieldName,
BigDecimal[] value)
Writes an array of arbitrary precision and scale floating point numbers.
|
void |
writeArrayOfFloat32(String fieldName,
float[] value)
Writes an array of 32-bit IEEE 754 floating point numbers.
|
void |
writeArrayOfFloat64(String fieldName,
double[] value)
Writes an array of 64-bit IEEE 754 floating point numbers.
|
void |
writeArrayOfInt16(String fieldName,
short[] value)
Writes an array of 16-bit two's complement signed integers.
|
void |
writeArrayOfInt32(String fieldName,
int[] value)
Writes an array of 32-bit two's complement signed integers.
|
void |
writeArrayOfInt64(String fieldName,
long[] value)
Writes an array of 64-bit two's complement signed integers.
|
void |
writeArrayOfInt8(String fieldName,
byte[] value)
Writes an array of 8-bit two's complement signed integers.
|
void |
writeArrayOfNullableBoolean(String fieldName,
Boolean[] value)
Writes a nullable array of nullable booleans.
|
void |
writeArrayOfNullableFloat32(String fieldName,
Float[] value)
Writes a nullable array of nullable 32-bit IEEE 754 floating point numbers.
|
void |
writeArrayOfNullableFloat64(String fieldName,
Double[] value)
Writes a nullable array of nullable 64-bit IEEE 754 floating point numbers.
|
void |
writeArrayOfNullableInt16(String fieldName,
Short[] value)
Writes a nullable array of nullable 16-bit two's complement signed integers.
|
void |
writeArrayOfNullableInt32(String fieldName,
Integer[] value)
Writes a nullable array of nullable 32-bit two's complement signed integers.
|
void |
writeArrayOfNullableInt64(String fieldName,
Long[] value)
Writes a nullable array of nullable 64-bit two's complement signed integers.
|
void |
writeArrayOfNullableInt8(String fieldName,
Byte[] value)
Writes a nullable array of nullable 8-bit two's complement signed integers.
|
void |
writeArrayOfString(String fieldName,
String[] value)
Writes an array of UTF-8 encoded strings.
|
void |
writeArrayOfTime(String fieldName,
LocalTime[] value)
Writes an array of times consisting of hour, minute, second, and nano seconds.
|
void |
writeArrayOfTimestamp(String fieldName,
LocalDateTime[] value)
Writes an array of timestamps consisting of date and time.
|
void |
writeArrayOfTimestampWithTimezone(String fieldName,
OffsetDateTime[] value)
Writes an array of timestamps with timezone consisting of date, time and timezone offset.
|
void |
writeBoolean(String fieldName,
boolean value)
Writes a boolean.
|
<T> void |
writeCompact(String fieldName,
T value)
Writes a nested compact object.
|
void |
writeDate(String fieldName,
LocalDate value)
Writes a date consisting of year, month, and day.
|
void |
writeDecimal(String fieldName,
BigDecimal value)
Writes an arbitrary precision and scale floating point number.
|
void |
writeFloat32(String fieldName,
float value)
Writes a 32-bit IEEE 754 floating point number.
|
void |
writeFloat64(String fieldName,
double value)
Writes a 64-bit IEEE 754 floating point number.
|
void |
writeInt16(String fieldName,
short value)
Writes a 16-bit two's complement signed integer.
|
void |
writeInt32(String fieldName,
int value)
Writes a 32-bit two's complement signed integer.
|
void |
writeInt64(String fieldName,
long value)
Writes a 64-bit two's complement signed integer.
|
void |
writeInt8(String fieldName,
byte value)
Writes an 8-bit two's complement signed integer.
|
void |
writeNullableBoolean(String fieldName,
Boolean value)
Writes a nullable boolean.
|
void |
writeNullableFloat32(String fieldName,
Float value)
Writes a nullable 32-bit IEEE 754 floating point number.
|
void |
writeNullableFloat64(String fieldName,
Double value)
Writes a nullable 64-bit IEEE 754 floating point number.
|
void |
writeNullableInt16(String fieldName,
Short value)
Writes a nullable 16-bit two's complement signed integer.
|
void |
writeNullableInt32(String fieldName,
Integer value)
Writes a nullable 32-bit two's complement signed integer.
|
void |
writeNullableInt64(String fieldName,
Long value)
Writes a nullable 64-bit two's complement signed integer.
|
void |
writeNullableInt8(String fieldName,
Byte value)
Writes a nullable 8-bit two's complement signed integer.
|
void |
writeString(String fieldName,
String value)
Writes an UTF-8 encoded string.
|
void |
writeTime(String fieldName,
LocalTime value)
Writes a time consisting of hour, minute, second, and nano seconds.
|
void |
writeTimestamp(String fieldName,
LocalDateTime value)
Writes a timestamp consisting of date and time.
|
void |
writeTimestampWithTimezone(String fieldName,
OffsetDateTime value)
Reads a timestamp with timezone consisting of date, time and timezone offset.
|
void writeBoolean(@Nonnull String fieldName, boolean value)
fieldName
- name of the field.value
- to be written.void writeInt8(@Nonnull String fieldName, byte value)
fieldName
- name of the field.value
- to be written.void writeInt16(@Nonnull String fieldName, short value)
fieldName
- name of the field.value
- to be written.void writeInt32(@Nonnull String fieldName, int value)
fieldName
- name of the field.value
- to be written.void writeInt64(@Nonnull String fieldName, long value)
fieldName
- name of the field.value
- to be written.void writeFloat32(@Nonnull String fieldName, float value)
fieldName
- name of the field.value
- to be written.void writeFloat64(@Nonnull String fieldName, double value)
fieldName
- name of the field.value
- to be written.void writeString(@Nonnull String fieldName, String value)
fieldName
- name of the field.value
- to be written.void writeDecimal(@Nonnull String fieldName, @Nullable BigDecimal value)
fieldName
- name of the field.value
- to be written.void writeTime(@Nonnull String fieldName, @Nonnull LocalTime value)
fieldName
- name of the field.value
- to be written.void writeDate(@Nonnull String fieldName, @Nonnull LocalDate value)
fieldName
- name of the field.value
- to be written.void writeTimestamp(@Nonnull String fieldName, @Nonnull LocalDateTime value)
fieldName
- name of the field.value
- to be written.void writeTimestampWithTimezone(@Nonnull String fieldName, @Nonnull OffsetDateTime value)
fieldName
- name of the field.value
- to be written.<T> void writeCompact(@Nonnull String fieldName, @Nullable T value)
fieldName
- name of the field.value
- to be written.void writeArrayOfBoolean(@Nonnull String fieldName, @Nullable boolean[] value)
fieldName
- name of the field.value
- to be written.void writeArrayOfInt8(@Nonnull String fieldName, @Nullable byte[] value)
fieldName
- name of the field.value
- to be written.void writeArrayOfInt16(@Nonnull String fieldName, @Nullable short[] value)
fieldName
- name of the field.value
- to be written.void writeArrayOfInt32(@Nonnull String fieldName, @Nullable int[] value)
fieldName
- name of the field.value
- to be written.void writeArrayOfInt64(@Nonnull String fieldName, @Nullable long[] value)
fieldName
- name of the field.value
- to be written.void writeArrayOfFloat32(@Nonnull String fieldName, @Nullable float[] value)
fieldName
- name of the field.value
- to be written.void writeArrayOfFloat64(@Nonnull String fieldName, @Nullable double[] value)
fieldName
- name of the field.value
- to be written.void writeArrayOfString(@Nonnull String fieldName, @Nullable String[] value)
fieldName
- name of the field.value
- to be written.void writeArrayOfDecimal(@Nonnull String fieldName, @Nullable BigDecimal[] value)
fieldName
- name of the field.value
- to be written.void writeArrayOfTime(@Nonnull String fieldName, @Nullable LocalTime[] value)
fieldName
- name of the field.value
- to be written.void writeArrayOfDate(@Nonnull String fieldName, @Nullable LocalDate[] value)
fieldName
- name of the field.value
- to be written.void writeArrayOfTimestamp(@Nonnull String fieldName, @Nullable LocalDateTime[] value)
fieldName
- name of the field.value
- to be written.void writeArrayOfTimestampWithTimezone(@Nonnull String fieldName, @Nullable OffsetDateTime[] value)
fieldName
- name of the field.value
- to be written.<T> void writeArrayOfCompact(@Nonnull String fieldName, @Nullable T[] value)
fieldName
- name of the field.value
- to be written.void writeNullableBoolean(@Nonnull String fieldName, @Nullable Boolean value)
fieldName
- name of the field.value
- to be written.void writeNullableInt8(@Nonnull String fieldName, @Nullable Byte value)
fieldName
- name of the field.value
- to be written.void writeNullableInt16(@Nonnull String fieldName, @Nullable Short value)
fieldName
- name of the field.value
- to be written.void writeNullableInt32(@Nonnull String fieldName, @Nullable Integer value)
fieldName
- name of the field.value
- to be written.void writeNullableInt64(@Nonnull String fieldName, @Nullable Long value)
fieldName
- name of the field.value
- to be written.void writeNullableFloat32(@Nonnull String fieldName, @Nullable Float value)
fieldName
- name of the field.value
- to be written.void writeNullableFloat64(@Nonnull String fieldName, @Nullable Double value)
fieldName
- name of the field.value
- to be written.void writeArrayOfNullableBoolean(@Nonnull String fieldName, @Nullable Boolean[] value)
fieldName
- name of the field.value
- to be written.void writeArrayOfNullableInt8(@Nonnull String fieldName, @Nullable Byte[] value)
fieldName
- name of the field.value
- to be written.void writeArrayOfNullableInt16(@Nonnull String fieldName, @Nullable Short[] value)
fieldName
- name of the field.value
- to be written.void writeArrayOfNullableInt32(@Nonnull String fieldName, @Nullable Integer[] value)
fieldName
- name of the field.value
- to be written.void writeArrayOfNullableInt64(@Nonnull String fieldName, @Nullable Long[] value)
fieldName
- name of the field.value
- to be written.void writeArrayOfNullableFloat32(@Nonnull String fieldName, @Nullable Float[] value)
fieldName
- name of the field.value
- to be written.Copyright © 2023 Hazelcast, Inc.. All rights reserved.