me.prettyprint.cassandra.io
Class ChunkInputStream<T>

java.lang.Object
  extended by java.io.InputStream
      extended by 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!


Constructor Summary
ChunkInputStream(Keyspace keyspace, String cf, T key, Serializer<T> rowKeySerializer)
           
 
Method Summary
 boolean markSupported()
          Not supported
 int read()
           
 
Methods inherited from class java.io.InputStream
available, close, mark, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChunkInputStream

public ChunkInputStream(Keyspace keyspace,
                        String cf,
                        T key,
                        Serializer<T> rowKeySerializer)
Method Detail

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.