org.apache.hadoop.hive.ql.exec
Class TextRecordReader
java.lang.Object
org.apache.hadoop.hive.ql.exec.TextRecordReader
- All Implemented Interfaces:
- RecordReader
public class TextRecordReader
- extends Object
- implements RecordReader
TextRecordReader.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextRecordReader
public TextRecordReader()
initialize
public void initialize(InputStream in,
Configuration conf,
Properties tbl)
throws IOException
- Specified by:
initialize
in interface RecordReader
- Throws:
IOException
createRow
public Writable createRow()
throws IOException
- Specified by:
createRow
in interface RecordReader
- Throws:
IOException
next
public int next(Writable row)
throws IOException
- Description copied from interface:
RecordReader
- Returns the number of bytes that we consumed.
-1 means end of stream.
- Specified by:
next
in interface RecordReader
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in interface RecordReader
- Throws:
IOException
Copyright © 2012 The Apache Software Foundation