public <V> DataModelSource createSource(
DataModelDefinition<V> definition,
FileExporterDescription description,
TestContext context) throws IOException {
LOG.info("エクスポート結果を取得します: {}", description);
VariableTable variables = createVariables(context);
checkType(definition, description);
Configuration conf = configurations.newInstance();
Job job = JobCompatibility.newJob(conf);
String resolved = variables.parse(description.getPathPrefix(), false);
FileInputFormat.setInputPaths(job, new Path(resolved));
TaskAttemptContext taskContext = JobCompatibility.newTaskAttemptContext(
job.getConfiguration(),
JobCompatibility.newTaskAttemptId(JobCompatibility.newTaskId(JobCompatibility.newJobId())));
FileInputFormat<?, V> format = getOpposite(conf, description.getOutputFormat());