Uses of Interface
com.hazelcast.nio.serialization.genericrecord.GenericRecordBuilder
Package
Description
This package contains APIs for the GenericRecords.
-
Uses of GenericRecordBuilder in com.hazelcast.nio.serialization.genericrecord
Modifier and TypeMethodDescriptionstatic GenericRecordBuilder
/** Creates a Builder that will build aGenericRecord
inCompact
format with the given type name and schema:GenericRecord.newBuilder()
Creates aGenericRecordBuilder
allows to create a new object.GenericRecord.newBuilderWithClone()
ReturnedGenericRecordBuilder
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 aGenericRecord
inPortable
format with a new class definition:GenericRecordBuilder.setArrayOfBoolean
(String fieldName, boolean[] value) It is legal to set the field again only when Builder is created withGenericRecord.newBuilderWithClone()
.GenericRecordBuilder.setArrayOfChar
(String fieldName, char[] value) It is legal to set the field again only when Builder is created withGenericRecord.newBuilderWithClone()
.GenericRecordBuilder.setArrayOfDate
(String fieldName, LocalDate[] value) It is legal to set the field again only when Builder is created withGenericRecord.newBuilderWithClone()
.GenericRecordBuilder.setArrayOfDecimal
(String fieldName, BigDecimal[] value) It is legal to set the field again only when Builder is created withGenericRecord.newBuilderWithClone()
.GenericRecordBuilder.setArrayOfFloat32
(String fieldName, float[] value) It is legal to set the field again only when Builder is created withGenericRecord.newBuilderWithClone()
.GenericRecordBuilder.setArrayOfFloat64
(String fieldName, double[] value) It is legal to set the field again only when Builder is created withGenericRecord.newBuilderWithClone()
.GenericRecordBuilder.setArrayOfGenericRecord
(String fieldName, GenericRecord[] value) It is legal to set the field again only when Builder is created withGenericRecord.newBuilderWithClone()
.GenericRecordBuilder.setArrayOfInt16
(String fieldName, short[] value) It is legal to set the field again only when Builder is created withGenericRecord.newBuilderWithClone()
.GenericRecordBuilder.setArrayOfInt32
(String fieldName, int[] value) It is legal to set the field again only when Builder is created withGenericRecord.newBuilderWithClone()
.GenericRecordBuilder.setArrayOfInt64
(String fieldName, long[] value) It is legal to set the field again only when Builder is created withGenericRecord.newBuilderWithClone()
.GenericRecordBuilder.setArrayOfInt8
(String fieldName, byte[] value) It is legal to set the field again only when Builder is created withGenericRecord.newBuilderWithClone()
.GenericRecordBuilder.setArrayOfNullableBoolean
(String fieldName, Boolean[] value) It is legal to set the field again only when Builder is created withGenericRecord.newBuilderWithClone()
.GenericRecordBuilder.setArrayOfNullableFloat32
(String fieldName, Float[] value) It is legal to set the field again only when Builder is created withGenericRecord.newBuilderWithClone()
.GenericRecordBuilder.setArrayOfNullableFloat64
(String fieldName, Double[] value) It is legal to set the field again only when Builder is created withGenericRecord.newBuilderWithClone()
.GenericRecordBuilder.setArrayOfNullableInt16
(String fieldName, Short[] value) It is legal to set the field again only when Builder is created withGenericRecord.newBuilderWithClone()
.GenericRecordBuilder.setArrayOfNullableInt32
(String fieldName, Integer[] value) It is legal to set the field again only when Builder is created withGenericRecord.newBuilderWithClone()
.GenericRecordBuilder.setArrayOfNullableInt64
(String fieldName, Long[] value) It is legal to set the field again only when Builder is created withGenericRecord.newBuilderWithClone()
.GenericRecordBuilder.setArrayOfNullableInt8
(String fieldName, Byte[] value) It is legal to set the field again only when Builder is created withGenericRecord.newBuilderWithClone()
.GenericRecordBuilder.setArrayOfString
(String fieldName, String[] value) It is legal to set the field again only when Builder is created withGenericRecord.newBuilderWithClone()
.GenericRecordBuilder.setArrayOfTime
(String fieldName, LocalTime[] value) It is legal to set the field again only when Builder is created withGenericRecord.newBuilderWithClone()
.GenericRecordBuilder.setArrayOfTimestamp
(String fieldName, LocalDateTime[] value) It is legal to set the field again only when Builder is created withGenericRecord.newBuilderWithClone()
.GenericRecordBuilder.setArrayOfTimestampWithTimezone
(String fieldName, OffsetDateTime[] value) It is legal to set the field again only when Builder is created withGenericRecord.newBuilderWithClone()
.GenericRecordBuilder.setBoolean
(String fieldName, boolean value) It is legal to set the field again only when Builder is created withGenericRecord.newBuilderWithClone()
.It is legal to set the field again only when Builder is created withGenericRecord.newBuilderWithClone()
.Sets a date field consisting of year, month of the year, and day of the month.GenericRecordBuilder.setDecimal
(String fieldName, BigDecimal value) Sets a decimal which is arbitrary precision and scale floating-point number.GenericRecordBuilder.setFloat32
(String fieldName, float value) It is legal to set the field again only when Builder is created withGenericRecord.newBuilderWithClone()
.GenericRecordBuilder.setFloat64
(String fieldName, double value) It is legal to set the field again only when Builder is created withGenericRecord.newBuilderWithClone()
.GenericRecordBuilder.setGenericRecord
(String fieldName, GenericRecord value) It is legal to set the field again only when Builder is created withGenericRecord.newBuilderWithClone()
.It is legal to set the field again only when Builder is created withGenericRecord.newBuilderWithClone()
.It is legal to set the field again only when Builder is created withGenericRecord.newBuilderWithClone()
.It is legal to set the field again only when Builder is created withGenericRecord.newBuilderWithClone()
.It is legal to set the field again only when Builder is created withGenericRecord.newBuilderWithClone()
.GenericRecordBuilder.setNullableBoolean
(String fieldName, Boolean value) It is legal to set the field again only when Builder is created withGenericRecord.newBuilderWithClone()
.GenericRecordBuilder.setNullableFloat32
(String fieldName, Float value) It is legal to set the field again only when Builder is created withGenericRecord.newBuilderWithClone()
.GenericRecordBuilder.setNullableFloat64
(String fieldName, Double value) It is legal to set the field again only when Builder is created withGenericRecord.newBuilderWithClone()
.GenericRecordBuilder.setNullableInt16
(String fieldName, Short value) It is legal to set the field again only when Builder is created withGenericRecord.newBuilderWithClone()
.GenericRecordBuilder.setNullableInt32
(String fieldName, Integer value) It is legal to set the field again only when Builder is created withGenericRecord.newBuilderWithClone()
.GenericRecordBuilder.setNullableInt64
(String fieldName, Long value) It is legal to set the field again only when Builder is created withGenericRecord.newBuilderWithClone()
.GenericRecordBuilder.setNullableInt8
(String fieldName, Byte value) It is legal to set the field again only when Builder is created withGenericRecord.newBuilderWithClone()
.It is legal to set the field again only when Builder is created withGenericRecord.newBuilderWithClone()
.Sets a time field consisting of hour, minute, seconds, and nanos parts.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.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.