class QuotedLineBreakAccessor extends HdfsAtomicDataAccessor {

    @Override
    public void initialize(RequestContext requestContext) {
        super.initialize(requestContext);

        // true if the files are read as a single row, false otherwise
        fileAsRow = StringUtils.equalsIgnoreCase("true", context.getOption("FILE_AS_ROW"));

        if (fileAsRow && context.getTupleDescription().size() != 1) {
            throw new IllegalArgumentException(String.format("the FILE_AS_ROW " +
                    "property only supports tables with a single column in " +
                    "the table definition. %d columns were provided",
                    context.getTupleDescription().size()));
        }
    }

}