public class HiveLineBreakAccessor extends HiveAccessor
HiveInputFormatFragmenter
/HiveStringPassResolver
.filterInFragmenter
conf, data, inputFormat, iter, jobConf, key, reader
Constructor and Description |
---|
HiveLineBreakAccessor(InputData input)
Constructs a HiveLineBreakAccessor.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
getReader(org.apache.hadoop.mapred.JobConf jobConf,
org.apache.hadoop.mapred.InputSplit split)
Creates the RecordReader suitable for this given split.
|
openForRead
closeForRead, getNextSplit, isThreadSafe, readNextObject
public HiveLineBreakAccessor(InputData input) throws java.lang.Exception
input
- input containing user datajava.lang.Exception
- if user data was wrongprotected java.lang.Object getReader(org.apache.hadoop.mapred.JobConf jobConf, org.apache.hadoop.mapred.InputSplit split) throws java.io.IOException
HiveAccessor
getReader
in class HiveAccessor
jobConf
- configuration data for the Hadoop frameworksplit
- the split that was allocated for reading to this accessorjava.io.IOException
- if failed to create record reader