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