public class IterableCqlPagingRecordReader extends CqlPagingRecordReader implements java.lang.Iterable<Pair<java.util.Map<java.lang.String,java.nio.ByteBuffer>,java.util.Map<java.lang.String,java.nio.ByteBuffer>>>, java.io.Closeable
CqlPagingRecordReader
.CqlPagingRecordReader.RowIterator
DEFAULT_CQL_PAGE_LIMIT, rowIterator
Constructor and Description |
---|
IterableCqlPagingRecordReader() |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<Pair<java.util.Map<java.lang.String,java.nio.ByteBuffer>,java.util.Map<java.lang.String,java.nio.ByteBuffer>>> |
iterator() |
boolean |
next(java.util.Map<java.lang.String,java.nio.ByteBuffer> keys,
java.util.Map<java.lang.String,java.nio.ByteBuffer> value) |
boolean |
nextKeyValue() |
close, createKey, createValue, getCurrentKey, getCurrentValue, getPos, getProgress, initialize
public java.util.Iterator<Pair<java.util.Map<java.lang.String,java.nio.ByteBuffer>,java.util.Map<java.lang.String,java.nio.ByteBuffer>>> iterator()
iterator
in interface java.lang.Iterable<Pair<java.util.Map<java.lang.String,java.nio.ByteBuffer>,java.util.Map<java.lang.String,java.nio.ByteBuffer>>>
public boolean nextKeyValue() throws java.io.IOException
nextKeyValue
in class CqlPagingRecordReader
NotImplementedException
- Always throws this exception, this operation does not make sense in this implementation.java.io.IOException
public boolean next(java.util.Map<java.lang.String,java.nio.ByteBuffer> keys, java.util.Map<java.lang.String,java.nio.ByteBuffer> value) throws java.io.IOException
next
in interface org.apache.hadoop.mapred.RecordReader<java.util.Map<java.lang.String,java.nio.ByteBuffer>,java.util.Map<java.lang.String,java.nio.ByteBuffer>>
next
in class CqlPagingRecordReader
NotImplementedException
- Always throws this exception, this operation does not make sense in this implementation.java.io.IOException
Copyright © 2014 The Apache Software Foundation