org.apache.hadoop.hive.ql.exec
Interface RecordReader

All Known Implementing Classes:
BinaryRecordReader, TextRecordReader

public interface RecordReader

RecordReader.


Method Summary
 void close()
           
 org.apache.hadoop.io.Writable createRow()
           
 void initialize(InputStream in, org.apache.hadoop.conf.Configuration conf, Properties tbl)
           
 int next(org.apache.hadoop.io.Writable row)
          Returns the number of bytes that we consumed.
 

Method Detail

initialize

void initialize(InputStream in,
                org.apache.hadoop.conf.Configuration conf,
                Properties tbl)
                throws IOException
Throws:
IOException

createRow

org.apache.hadoop.io.Writable createRow()
                                        throws IOException
Throws:
IOException

next

int next(org.apache.hadoop.io.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 © 2014 The Apache Software Foundation. All rights reserved.