use of org.apache.nifi.controller.repository.schema.RepositoryRecordFieldMap in project nifi by apache.
the class SchemaRepositoryRecordSerde method serializeRecord.
protected void serializeRecord(final RepositoryRecord record, final DataOutputStream out, RecordSchema schema, RecordSchema repositoryRecordSchema) throws IOException {
final RepositoryRecordFieldMap fieldMap = new RepositoryRecordFieldMap(record, schema, contentClaimSchema);
final RepositoryRecordUpdate update = new RepositoryRecordUpdate(fieldMap, repositoryRecordSchema);
new SchemaRecordWriter().writeRecord(update, out);
}
Aggregations