public class UUIDWriter extends AbstractAvroWriter<UUID>
| Constructor and Description |
|---|
UUIDWriter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createRecordFields(List<org.apache.avro.Schema.Field> fields)
Create a list containing the Schema.Fields for the fields that this class writes
|
Class |
getObjectClass() |
void |
write(UUID value,
org.apache.avro.io.Encoder out)
Write the value to the encoder
|
getRecordName, getRecordNameSpace, writeArray, writeMap, writeMap, writeMap, writeOptional, writeStringArray, writeUnion, writeUnionArraycreateEnumSchema, createSchema, createSchemaField, createUnionSchema, createUnionSchema, getRecordDoc, getUnion, registerUnion, rewriteNameSpaceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateSchemapublic Class getObjectClass()
public void write(UUID value, org.apache.avro.io.Encoder out) throws IOException
AvroWritervalue - the value to writeout - the encoderIOExceptionprotected void createRecordFields(List<org.apache.avro.Schema.Field> fields)
AvroIOcreateRecordFields in class AvroIO<AbstractAvroWriter>fields - the list to add the fields toCopyright © 2016. All Rights Reserved.