public class DeepRecordReader extends Object
| Constructor and Description |
|---|
DeepRecordReader(IDeepJobConfig config,
DeepTokenRange split)
public constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this input reader object.
|
Map<String,ByteBuffer> |
createKey()
Creates a new key map.
|
Map<String,ByteBuffer> |
createValue()
Creates a new value map.
|
boolean |
hasNext()
Returns a boolean indicating if the underlying rowIterator has a new element or not.
|
Pair<Map<String,ByteBuffer>,Map<String,ByteBuffer>> |
next()
Returns the next element in the underlying rowIterator.
|
public DeepRecordReader(IDeepJobConfig config, DeepTokenRange split)
config - the deep configuration object.split - the token range on which the new reader will be based.public void close()
public Map<String,ByteBuffer> createKey()
public Map<String,ByteBuffer> createValue()
public boolean hasNext()
public Pair<Map<String,ByteBuffer>,Map<String,ByteBuffer>> next()
Copyright © 2014. All rights reserved.