Class JsonIterators
java.lang.Object
io.trino.client.JsonIterators
-
Method Summary
Modifier and TypeMethodDescriptionstatic CloseableIterator<List<Object>> forInputStream(InputStream stream, JsonDecodingUtils.TypeDecoder[] decoders) static CloseableIterator<List<Object>> forJsonParser(com.fasterxml.jackson.core.JsonParser parser, List<Column> columns)
-
Method Details
-
forJsonParser
public static CloseableIterator<List<Object>> forJsonParser(com.fasterxml.jackson.core.JsonParser parser, List<Column> columns) throws IOException - Throws:
IOException
-
forInputStream
public static CloseableIterator<List<Object>> forInputStream(InputStream stream, JsonDecodingUtils.TypeDecoder[] decoders) throws IOException - Throws:
IOException
-