Package | Description |
---|---|
com.hazelcast.nio.serialization.genericrecord |
This package contains APIs for the GenericRecords.
|
Modifier and Type | Method and Description |
---|---|
static GenericRecordBuilder |
GenericRecordBuilder.compact(String typeName)
/** Creates a Builder that will build a
GenericRecord in
Compact format
with the given type name and schema: |
GenericRecordBuilder |
GenericRecord.newBuilder()
Creates a
GenericRecordBuilder allows to create a new object. |
GenericRecordBuilder |
GenericRecord.newBuilderWithClone()
Returned
GenericRecordBuilder can be used to have exact copy and
also just to update a couple of fields. |
static GenericRecordBuilder |
GenericRecordBuilder.portable(ClassDefinition classDefinition)
Creates a Builder that will build a
GenericRecord in
Portable format with a new class definition: |
GenericRecordBuilder |
GenericRecordBuilder.setArrayOfBoolean(String fieldName,
boolean[] value)
It is legal to set the field again only when Builder is created with
GenericRecord.newBuilderWithClone() . |
GenericRecordBuilder |
GenericRecordBuilder.setArrayOfChar(String fieldName,
char[] value)
It is legal to set the field again only when Builder is created with
GenericRecord.newBuilderWithClone() . |
GenericRecordBuilder |
GenericRecordBuilder.setArrayOfDate(String fieldName,
LocalDate[] value)
It is legal to set the field again only when Builder is created with
GenericRecord.newBuilderWithClone() . |
GenericRecordBuilder |
GenericRecordBuilder.setArrayOfDecimal(String fieldName,
BigDecimal[] value)
It is legal to set the field again only when Builder is created with
GenericRecord.newBuilderWithClone() . |
GenericRecordBuilder |
GenericRecordBuilder.setArrayOfFloat32(String fieldName,
float[] value)
It is legal to set the field again only when Builder is created with
GenericRecord.newBuilderWithClone() . |
GenericRecordBuilder |
GenericRecordBuilder.setArrayOfFloat64(String fieldName,
double[] value)
It is legal to set the field again only when Builder is created with
GenericRecord.newBuilderWithClone() . |
GenericRecordBuilder |
GenericRecordBuilder.setArrayOfGenericRecord(String fieldName,
GenericRecord[] value)
It is legal to set the field again only when Builder is created with
GenericRecord.newBuilderWithClone() . |
GenericRecordBuilder |
GenericRecordBuilder.setArrayOfInt16(String fieldName,
short[] value)
It is legal to set the field again only when Builder is created with
GenericRecord.newBuilderWithClone() . |
GenericRecordBuilder |
GenericRecordBuilder.setArrayOfInt32(String fieldName,
int[] value)
It is legal to set the field again only when Builder is created with
GenericRecord.newBuilderWithClone() . |
GenericRecordBuilder |
GenericRecordBuilder.setArrayOfInt64(String fieldName,
long[] value)
It is legal to set the field again only when Builder is created with
GenericRecord.newBuilderWithClone() . |
GenericRecordBuilder |
GenericRecordBuilder.setArrayOfInt8(String fieldName,
byte[] value)
It is legal to set the field again only when Builder is created with
GenericRecord.newBuilderWithClone() . |
GenericRecordBuilder |
GenericRecordBuilder.setArrayOfNullableBoolean(String fieldName,
Boolean[] value)
It is legal to set the field again only when Builder is created with
GenericRecord.newBuilderWithClone() . |
GenericRecordBuilder |
GenericRecordBuilder.setArrayOfNullableFloat32(String fieldName,
Float[] value)
It is legal to set the field again only when Builder is created with
GenericRecord.newBuilderWithClone() . |
GenericRecordBuilder |
GenericRecordBuilder.setArrayOfNullableFloat64(String fieldName,
Double[] value)
It is legal to set the field again only when Builder is created with
GenericRecord.newBuilderWithClone() . |
GenericRecordBuilder |
GenericRecordBuilder.setArrayOfNullableInt16(String fieldName,
Short[] value)
It is legal to set the field again only when Builder is created with
GenericRecord.newBuilderWithClone() . |
GenericRecordBuilder |
GenericRecordBuilder.setArrayOfNullableInt32(String fieldName,
Integer[] value)
It is legal to set the field again only when Builder is created with
GenericRecord.newBuilderWithClone() . |
GenericRecordBuilder |
GenericRecordBuilder.setArrayOfNullableInt64(String fieldName,
Long[] value)
It is legal to set the field again only when Builder is created with
GenericRecord.newBuilderWithClone() . |
GenericRecordBuilder |
GenericRecordBuilder.setArrayOfNullableInt8(String fieldName,
Byte[] value)
It is legal to set the field again only when Builder is created with
GenericRecord.newBuilderWithClone() . |
GenericRecordBuilder |
GenericRecordBuilder.setArrayOfString(String fieldName,
String[] value)
It is legal to set the field again only when Builder is created with
GenericRecord.newBuilderWithClone() . |
GenericRecordBuilder |
GenericRecordBuilder.setArrayOfTime(String fieldName,
LocalTime[] value)
It is legal to set the field again only when Builder is created with
GenericRecord.newBuilderWithClone() . |
GenericRecordBuilder |
GenericRecordBuilder.setArrayOfTimestamp(String fieldName,
LocalDateTime[] value)
It is legal to set the field again only when Builder is created with
GenericRecord.newBuilderWithClone() . |
GenericRecordBuilder |
GenericRecordBuilder.setArrayOfTimestampWithTimezone(String fieldName,
OffsetDateTime[] value)
It is legal to set the field again only when Builder is created with
GenericRecord.newBuilderWithClone() . |
GenericRecordBuilder |
GenericRecordBuilder.setBoolean(String fieldName,
boolean value)
It is legal to set the field again only when Builder is created with
GenericRecord.newBuilderWithClone() . |
GenericRecordBuilder |
GenericRecordBuilder.setChar(String fieldName,
char value)
It is legal to set the field again only when Builder is created with
GenericRecord.newBuilderWithClone() . |
GenericRecordBuilder |
GenericRecordBuilder.setDate(String fieldName,
LocalDate value)
Sets a date field consisting of year, month of the year, and day of the
month.
|
GenericRecordBuilder |
GenericRecordBuilder.setDecimal(String fieldName,
BigDecimal value)
Sets a decimal which is arbitrary precision and scale floating-point
number.
|
GenericRecordBuilder |
GenericRecordBuilder.setFloat32(String fieldName,
float value)
It is legal to set the field again only when Builder is created with
GenericRecord.newBuilderWithClone() . |
GenericRecordBuilder |
GenericRecordBuilder.setFloat64(String fieldName,
double value)
It is legal to set the field again only when Builder is created with
GenericRecord.newBuilderWithClone() . |
GenericRecordBuilder |
GenericRecordBuilder.setGenericRecord(String fieldName,
GenericRecord value)
It is legal to set the field again only when Builder is created with
GenericRecord.newBuilderWithClone() . |
GenericRecordBuilder |
GenericRecordBuilder.setInt16(String fieldName,
short value)
It is legal to set the field again only when Builder is created with
GenericRecord.newBuilderWithClone() . |
GenericRecordBuilder |
GenericRecordBuilder.setInt32(String fieldName,
int value)
It is legal to set the field again only when Builder is created with
GenericRecord.newBuilderWithClone() . |
GenericRecordBuilder |
GenericRecordBuilder.setInt64(String fieldName,
long value)
It is legal to set the field again only when Builder is created with
GenericRecord.newBuilderWithClone() . |
GenericRecordBuilder |
GenericRecordBuilder.setInt8(String fieldName,
byte value)
It is legal to set the field again only when Builder is created with
GenericRecord.newBuilderWithClone() . |
GenericRecordBuilder |
GenericRecordBuilder.setNullableBoolean(String fieldName,
Boolean value)
It is legal to set the field again only when Builder is created with
GenericRecord.newBuilderWithClone() . |
GenericRecordBuilder |
GenericRecordBuilder.setNullableFloat32(String fieldName,
Float value)
It is legal to set the field again only when Builder is created with
GenericRecord.newBuilderWithClone() . |
GenericRecordBuilder |
GenericRecordBuilder.setNullableFloat64(String fieldName,
Double value)
It is legal to set the field again only when Builder is created with
GenericRecord.newBuilderWithClone() . |
GenericRecordBuilder |
GenericRecordBuilder.setNullableInt16(String fieldName,
Short value)
It is legal to set the field again only when Builder is created with
GenericRecord.newBuilderWithClone() . |
GenericRecordBuilder |
GenericRecordBuilder.setNullableInt32(String fieldName,
Integer value)
It is legal to set the field again only when Builder is created with
GenericRecord.newBuilderWithClone() . |
GenericRecordBuilder |
GenericRecordBuilder.setNullableInt64(String fieldName,
Long value)
It is legal to set the field again only when Builder is created with
GenericRecord.newBuilderWithClone() . |
GenericRecordBuilder |
GenericRecordBuilder.setNullableInt8(String fieldName,
Byte value)
It is legal to set the field again only when Builder is created with
GenericRecord.newBuilderWithClone() . |
GenericRecordBuilder |
GenericRecordBuilder.setString(String fieldName,
String value)
It is legal to set the field again only when Builder is created with
GenericRecord.newBuilderWithClone() . |
GenericRecordBuilder |
GenericRecordBuilder.setTime(String fieldName,
LocalTime value)
Sets a time field consisting of hour, minute, seconds, and nanos parts.
|
GenericRecordBuilder |
GenericRecordBuilder.setTimestamp(String fieldName,
LocalDateTime value)
Sets a timestamp field consisting of year, month of the year, and day of
the month, hour, minute, seconds, nanos parts.
|
GenericRecordBuilder |
GenericRecordBuilder.setTimestampWithTimezone(String fieldName,
OffsetDateTime value)
Sets a timestamp with timezone field consisting of year, month of the
year and day of the month, offset seconds, hour, minute, seconds, nanos
parts.
|
Copyright © 2023 Hazelcast, Inc.. All rights reserved.