org.apache.hadoop.hive.ql.exec
Interface RecordReader
- All Known Implementing Classes:
- BinaryRecordReader, TextRecordReader
public interface RecordReader
RecordReader.
initialize
void initialize(InputStream in,
Configuration conf,
Properties tbl)
throws IOException
- Throws:
IOException
createRow
Writable createRow()
throws IOException
- Throws:
IOException
next
int next(Writable row)
throws IOException
- Returns the number of bytes that we consumed.
-1 means end of stream.
- Throws:
IOException
close
void close()
throws IOException
- Throws:
IOException
Copyright © 2012 The Apache Software Foundation