public class GenericJsonReader extends Object implements SchemaReader<GenericRecord>
| Constructor and Description |
|---|
GenericJsonReader(byte[] schemaVersion,
List<Field> fields) |
GenericJsonReader(byte[] schemaVersion,
List<Field> fields,
SchemaInfo schemaInfo) |
GenericJsonReader(List<Field> fields) |
GenericJsonReader(List<Field> fields,
SchemaInfo schemaInfo) |
| Modifier and Type | Method and Description |
|---|---|
GenericJsonRecord |
read(byte[] bytes,
int offset,
int length) |
GenericRecord |
read(InputStream inputStream) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNativeSchema, read, read, read, setSchemaInfoProviderpublic GenericJsonReader(List<Field> fields, SchemaInfo schemaInfo)
public GenericJsonReader(byte[] schemaVersion,
List<Field> fields,
SchemaInfo schemaInfo)
public GenericJsonRecord read(byte[] bytes, int offset, int length)
read in interface SchemaReader<GenericRecord>public GenericRecord read(InputStream inputStream)
read in interface SchemaReader<GenericRecord>Copyright © 2017–2021 Apache Software Foundation. All rights reserved.