public class EmbeddedAvroSchemaAccessStrategy extends Object implements SchemaAccessStrategy
Modifier and Type | Field and Description |
---|---|
private Set<SchemaField> |
schemaFields |
Constructor and Description |
---|
EmbeddedAvroSchemaAccessStrategy() |
Modifier and Type | Method and Description |
---|---|
RecordSchema |
getSchema(Map<String,String> variables,
InputStream contentStream,
RecordSchema readSchema) |
Set<SchemaField> |
getSuppliedSchemaFields() |
private final Set<SchemaField> schemaFields
public RecordSchema getSchema(Map<String,String> variables, InputStream contentStream, RecordSchema readSchema) throws SchemaNotFoundException, IOException
getSchema
in interface SchemaAccessStrategy
SchemaNotFoundException
IOException
public Set<SchemaField> getSuppliedSchemaFields()
getSuppliedSchemaFields
in interface SchemaAccessStrategy
Copyright © 2019 Apache NiFi Project. All rights reserved.