Interface QueryDataDecoder
- All Known Implementing Classes:
CompressedQueryDataDecoder,JsonQueryDataDecoder,Lz4QueryDataDecoder,ZstdQueryDataDecoder
public interface QueryDataDecoder
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiondecode(InputStream input, DataAttributes segmentAttributes) Decodes the input stream into a lazy ResultRows.encoding()
-
Method Details
-
decode
CloseableIterator<List<Object>> decode(InputStream input, DataAttributes segmentAttributes) throws IOException Decodes the input stream into a lazy ResultRows.Decoder is responsible for closing input stream when all values are decoded or exception was thrown.
- Parameters:
input- Input stream to decode (in memory or over the network)segmentAttributes- Attributes of the segment- Throws:
IOException- if an I/O error occurs
-
encoding
String encoding()
-