me.prettyprint.cassandra.io
Class ChunkInputStream<T>
java.lang.Object
java.io.InputStream
me.prettyprint.cassandra.io.ChunkInputStream<T>
- Type Parameters:
T
-
- All Implemented Interfaces:
- Closeable
public class ChunkInputStream<T>
- extends InputStream
Return an InputStream which retrieve columns from a row which stores chunk of
data. See also ChunkOutputStream
This implementation is not thread-safe!
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChunkInputStream
public ChunkInputStream(Keyspace keyspace,
String cf,
T key,
Serializer<T> rowKeySerializer)
read
public int read()
throws IOException
- Specified by:
read
in class InputStream
- Throws:
IOException
markSupported
public boolean markSupported()
- Not supported
- Overrides:
markSupported
in class InputStream
Copyright © 2011. All Rights Reserved.