| Package | Description | 
|---|---|
| com.hazelcast.nio.serialization | 
 Contains interfaces/classes related to serialization,
 such as serializer interfaces, input/output streams. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
GenericRecord.Builder | 
GenericRecord.cloneWithBuilder()
Returned  
GenericRecord.Builder can be used to have exact copy and also just to update a couple of fields. | 
GenericRecord.Builder | 
GenericRecord.newBuilder()
Creates a  
GenericRecord.Builder allows to create a new object. | 
static GenericRecord.Builder | 
GenericRecord.Builder.portable(ClassDefinition classDefinition)
Creates a Builder that will build a  
GenericRecord in Portable format with a new class definition: | 
GenericRecord.Builder | 
GenericRecord.Builder.writeBoolean(String fieldName,
            boolean value)
It is legal to overwrite the field once only when Builder is created with  
GenericRecord.cloneWithBuilder(). | 
GenericRecord.Builder | 
GenericRecord.Builder.writeBooleanArray(String fieldName,
                 boolean[] value)
It is illegal to write to the same field twice. 
 | 
GenericRecord.Builder | 
GenericRecord.Builder.writeByte(String fieldName,
         byte value)
It is illegal to write to the same field twice. 
 | 
GenericRecord.Builder | 
GenericRecord.Builder.writeByteArray(String fieldName,
              byte[] value)
It is illegal to write to the same field twice. 
 | 
GenericRecord.Builder | 
GenericRecord.Builder.writeChar(String fieldName,
         char value)
It is illegal to write to the same field twice. 
 | 
GenericRecord.Builder | 
GenericRecord.Builder.writeCharArray(String fieldName,
              char[] value)
It is illegal to write to the same field twice. 
 | 
GenericRecord.Builder | 
GenericRecord.Builder.writeDouble(String fieldName,
           double value)
It is illegal to write to the same field twice. 
 | 
GenericRecord.Builder | 
GenericRecord.Builder.writeDoubleArray(String fieldName,
                double[] value)
It is illegal to write to the same field twice. 
 | 
GenericRecord.Builder | 
GenericRecord.Builder.writeFloat(String fieldName,
          float value)
It is illegal to write to the same field twice. 
 | 
GenericRecord.Builder | 
GenericRecord.Builder.writeFloatArray(String fieldName,
               float[] value)
It is illegal to write to the same field twice. 
 | 
GenericRecord.Builder | 
GenericRecord.Builder.writeGenericRecord(String fieldName,
                  GenericRecord value)
It is illegal to write to the same field twice. 
 | 
GenericRecord.Builder | 
GenericRecord.Builder.writeGenericRecordArray(String fieldName,
                       GenericRecord[] value)
It is illegal to write to the same field twice. 
 | 
GenericRecord.Builder | 
GenericRecord.Builder.writeInt(String fieldName,
        int value)
It is illegal to write to the same field twice. 
 | 
GenericRecord.Builder | 
GenericRecord.Builder.writeIntArray(String fieldName,
             int[] value)
It is illegal to write to the same field twice. 
 | 
GenericRecord.Builder | 
GenericRecord.Builder.writeLong(String fieldName,
         long value)
It is illegal to write to the same field twice. 
 | 
GenericRecord.Builder | 
GenericRecord.Builder.writeLongArray(String fieldName,
              long[] value)
It is illegal to write to the same field twice. 
 | 
GenericRecord.Builder | 
GenericRecord.Builder.writeShort(String fieldName,
          short value)
It is illegal to write to the same field twice. 
 | 
GenericRecord.Builder | 
GenericRecord.Builder.writeShortArray(String fieldName,
               short[] value)
It is illegal to write to the same field twice. 
 | 
GenericRecord.Builder | 
GenericRecord.Builder.writeUTF(String fieldName,
        String value)
It is illegal to write to the same field twice. 
 | 
GenericRecord.Builder | 
GenericRecord.Builder.writeUTFArray(String fieldName,
             String[] value)
It is illegal to write to the same field twice. 
 | 
Copyright © 2022 Hazelcast, Inc.. All rights reserved.