public class GenericAvroRecord extends Object
| Modifier and Type | Field and Description |
|---|---|
protected List<Field> |
fields |
protected byte[] |
schemaVersion |
| Constructor and Description |
|---|
GenericAvroRecord(byte[] schemaVersion,
org.apache.avro.Schema schema,
List<Field> fields,
org.apache.avro.generic.GenericRecord record) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.avro.generic.GenericRecord |
getAvroRecord() |
Object |
getField(String fieldName) |
List<Field> |
getFields() |
Object |
getNativeObject() |
SchemaType |
getSchemaType() |
byte[] |
getSchemaVersion() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFieldpublic org.apache.avro.generic.GenericRecord getAvroRecord()
public Object getNativeObject()
public SchemaType getSchemaType()
public byte[] getSchemaVersion()
getSchemaVersion in interface GenericRecordpublic List<Field> getFields()
getFields in interface GenericRecordCopyright © 2017–2021 Apache Software Foundation. All rights reserved.