K - key typeV - value typepublic abstract class KeyValueProducer<K,V> extends Object
| Constructor and Description |
|---|
KeyValueProducer() |
| Modifier and Type | Method and Description |
|---|---|
abstract K |
getKey()
Read current key.
|
abstract V |
getValue()
Read current value.
|
abstract boolean |
readNext()
Reads the next key-value pair.
|
public abstract boolean readNext()
throws IOException,
TimeoutException
true if read was successful, false otherwiseIOException - if there was a ScaleOut hServer access errorTimeoutException - if the read timed outpublic abstract K getKey()
public abstract V getValue()
Copyright (C) 2007-2014 ScaleOut Software, Inc.