Package deltix.qsrv.hf.tickdb.tool
Class S3RawMessageReader
- java.lang.Object
-
- deltix.util.s3.S3Reader<RawMessage>
-
- deltix.qsrv.hf.tickdb.tool.S3RawMessageReader
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
public class S3RawMessageReader extends deltix.util.s3.S3Reader<RawMessage>
-
-
Constructor Summary
Constructors Constructor Description S3RawMessageReader(deltix.util.s3.S3DataStore dataStore, java.lang.String dataKey, long startTime, long endTime, RecordClassDescriptor[] descriptors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()protected java.lang.StringgetDataFormat()S3SpaceMetadatagetSpaceMetadata()booleanisOldFormat()protected RawMessagereadNextRecord()protected voidstartBatch(java.io.InputStream batchData)
-
-
-
Constructor Detail
-
S3RawMessageReader
public S3RawMessageReader(deltix.util.s3.S3DataStore dataStore, java.lang.String dataKey, long startTime, long endTime, RecordClassDescriptor[] descriptors) throws java.io.IOException- Throws:
java.io.IOException
-
-
Method Detail
-
startBatch
protected void startBatch(java.io.InputStream batchData) throws java.io.IOException- Specified by:
startBatchin classdeltix.util.s3.S3Reader<RawMessage>- Throws:
java.io.IOException
-
readNextRecord
protected RawMessage readNextRecord()
- Specified by:
readNextRecordin classdeltix.util.s3.S3Reader<RawMessage>
-
getDataFormat
protected java.lang.String getDataFormat()
- Specified by:
getDataFormatin classdeltix.util.s3.S3Reader<RawMessage>
-
getSpaceMetadata
public S3SpaceMetadata getSpaceMetadata()
-
isOldFormat
public boolean isOldFormat()
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Overrides:
closein classdeltix.util.s3.S3Reader<RawMessage>- Throws:
java.io.IOException
-
-