|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.mapreduce.RecordReader<java.nio.ByteBuffer,java.util.SortedMap<java.nio.ByteBuffer,IColumn>>
org.apache.cassandra.hadoop.ColumnFamilyRecordReader
public class ColumnFamilyRecordReader
| Constructor Summary | |
|---|---|
ColumnFamilyRecordReader()
|
|
| Method Summary | |
|---|---|
void |
close()
Close the record reader. |
java.nio.ByteBuffer |
getCurrentKey()
Get the current key |
java.util.SortedMap<java.nio.ByteBuffer,IColumn> |
getCurrentValue()
Get the current value. |
float |
getProgress()
The current progress of the record reader through its data. |
void |
initialize(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context)
Called once at initialization. |
boolean |
nextKeyValue()
Read the next key, value pair. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ColumnFamilyRecordReader()
| Method Detail |
|---|
public void close()
org.apache.hadoop.mapreduce.RecordReader
close in interface java.io.Closeableclose in class org.apache.hadoop.mapreduce.RecordReader<java.nio.ByteBuffer,java.util.SortedMap<java.nio.ByteBuffer,IColumn>>public java.nio.ByteBuffer getCurrentKey()
org.apache.hadoop.mapreduce.RecordReader
getCurrentKey in class org.apache.hadoop.mapreduce.RecordReader<java.nio.ByteBuffer,java.util.SortedMap<java.nio.ByteBuffer,IColumn>>public java.util.SortedMap<java.nio.ByteBuffer,IColumn> getCurrentValue()
org.apache.hadoop.mapreduce.RecordReader
getCurrentValue in class org.apache.hadoop.mapreduce.RecordReader<java.nio.ByteBuffer,java.util.SortedMap<java.nio.ByteBuffer,IColumn>>public float getProgress()
org.apache.hadoop.mapreduce.RecordReader
getProgress in class org.apache.hadoop.mapreduce.RecordReader<java.nio.ByteBuffer,java.util.SortedMap<java.nio.ByteBuffer,IColumn>>
public void initialize(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context)
throws java.io.IOException
org.apache.hadoop.mapreduce.RecordReader
initialize in class org.apache.hadoop.mapreduce.RecordReader<java.nio.ByteBuffer,java.util.SortedMap<java.nio.ByteBuffer,IColumn>>split - the split that defines the range of records to readcontext - the information about the task
java.io.IOException
public boolean nextKeyValue()
throws java.io.IOException
org.apache.hadoop.mapreduce.RecordReader
nextKeyValue in class org.apache.hadoop.mapreduce.RecordReader<java.nio.ByteBuffer,java.util.SortedMap<java.nio.ByteBuffer,IColumn>>java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||