class SimpleRecordSchema implements RecordSchema {

    @Override
    public Optional<DataType> getDataType(final String fieldName) {
        final RecordField field = fieldMap.get(fieldName);
        if (field == null) {
            return Optional.empty();
        }
        return Optional.of(field.getDataType());
    }

    public  SimpleRecordSchema(final List<RecordField> fields);
    public  SimpleRecordSchema(final List<RecordField> fields, final SchemaIdentifier id);
    public  SimpleRecordSchema(final String text, final String schemaFormat, final SchemaIdentifier id);
    public  SimpleRecordSchema(final List<RecordField> fields, final String text, final String schemaFormat, final SchemaIdentifier id);
    private  SimpleRecordSchema(final List<RecordField> fields, final String text, final String schemaFormat, final boolean textAvailable, final SchemaIdentifier id);
    private  SimpleRecordSchema(final String text, final String schemaFormat, final boolean textAvailable, final SchemaIdentifier id);

}