public class RowRecordReader extends org.apache.hadoop.mapreduce.RecordReader<Key,Row>
ResultSet
objects. The user is not expected to advance the result set's cursor.| Modifier and Type | Field and Description |
|---|---|
protected com.pivotal.gemfirexd.internal.impl.jdbc.EmbedStatement |
es |
protected org.slf4j.Logger |
logger |
protected com.pivotal.gemfirexd.internal.impl.jdbc.EmbedResultSet |
rs |
protected com.gemstone.gemfire.cache.hdfs.internal.hoplog.mapreduce.HDFSSplitIterator |
splitIterator |
| Constructor and Description |
|---|
RowRecordReader() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Key |
getCurrentKey() |
Row |
getCurrentValue() |
float |
getProgress() |
protected float |
getResultSetProgress() |
protected byte[] |
getRowKeyBytes() |
void |
initialize(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context) |
protected void |
instantiateGfxdLoner(org.apache.hadoop.conf.Configuration conf) |
boolean |
nextKeyValue() |
protected boolean |
nextRow() |
protected com.gemstone.gemfire.cache.hdfs.internal.hoplog.mapreduce.HDFSSplitIterator splitIterator
protected com.pivotal.gemfirexd.internal.impl.jdbc.EmbedStatement es
protected com.pivotal.gemfirexd.internal.impl.jdbc.EmbedResultSet rs
protected final org.slf4j.Logger logger
public void initialize(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context)
throws java.io.IOException
protected void instantiateGfxdLoner(org.apache.hadoop.conf.Configuration conf)
throws java.io.IOException
java.io.IOExceptionpublic final boolean nextKeyValue()
throws java.io.IOException,
java.lang.InterruptedException
protected final boolean nextRow()
throws java.io.IOException
java.io.IOExceptionpublic final Key getCurrentKey() throws java.io.IOException, java.lang.InterruptedException
protected final byte[] getRowKeyBytes()
throws java.io.IOException
java.io.IOExceptionpublic final Row getCurrentValue() throws java.io.IOException, java.lang.InterruptedException
public float getProgress()
throws java.io.IOException,
java.lang.InterruptedException
protected float getResultSetProgress()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.