Class SchemaRecordReader
java.lang.Object
org.apache.nifi.repository.schema.SchemaRecordReader
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateSchemaRecordReader(RecordSchema schema, FieldCache fieldCache) -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidfillBuffer(InputStream in, byte[] destination) static SchemaRecordReaderfromSchema(RecordSchema schema, FieldCache fieldCache) private ObjectreadField(InputStream in, RecordField field) private ObjectreadFieldValue(InputStream in, FieldType fieldType, String fieldName, List<RecordField> subFields) private Recordprivate intreadInt(InputStream in)
-
Field Details
-
schema
-
fieldCache
-
-
Constructor Details
-
SchemaRecordReader
-
-
Method Details
-
fromSchema
-
fillBuffer
- Throws:
IOException
-
readRecord
- Throws:
IOException
-
readInlineRecord
- Throws:
IOException
-
readRecords
- Throws:
IOException
-
readField
- Throws:
IOException
-
readFieldValue
private Object readFieldValue(InputStream in, FieldType fieldType, String fieldName, List<RecordField> subFields) throws IOException - Throws:
IOException
-
readInt
- Throws:
IOException
-