public class RecordInfoLoaderFactory
extends java.lang.Object
RecordInfoLoader
Modifier and Type | Method and Description |
---|---|
<K,V> RecordInfoLoader<K,V> |
createRILoader(JobConf jobConf)
Creates a new
RecordInfoLoader instance based on the job's configuration |
static RecordInfoLoaderFactory |
getInstance(JobConf conf)
Gets the only factory instance.
|
public <K,V> RecordInfoLoader<K,V> createRILoader(JobConf jobConf) throws java.lang.Exception
RecordInfoLoader
instance based on the job's configurationjobConf
- the job configurationRecordInfoLoader
java.lang.Exception
- an exception is thrown if there is not a suitable RecordInfoLoader
for the job's InputFormat.public static RecordInfoLoaderFactory getInstance(JobConf conf)
conf
-Copyright © 2017 Oracle and/or its affiliates. All Rights Reserved.