Class CqlChunkedPayloadStream
- java.lang.Object
-
- java.io.InputStream
-
- org.linuxforhealth.fhir.persistence.cassandra.payload.CqlChunkedPayloadStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public class CqlChunkedPayloadStream extends java.io.InputStream
Reads the payload from CQL. Cassandra imposes both hard and practical upper limits on the length of a column value. Because FHIR payloads can be an arbitrary size, we separate payloads into chunks spread across multiple rows. This class reads those rows in sequence and presents the results as an ordinary stream of bytes
-
-
Constructor Summary
Constructors Constructor Description CqlChunkedPayloadStream(IBufferProvider bp)
Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
read()
int
read(byte[] dst, int off, int len)
-
-
-
Constructor Detail
-
CqlChunkedPayloadStream
public CqlChunkedPayloadStream(IBufferProvider bp)
Public constructor- Parameters:
rs
-
-
-