public class ResultJsonParserV2 extends Object
This is the Java version of the ODBC's ResultJsonParserV2 class
| Constructor and Description |
|---|
ResultJsonParserV2() |
| Modifier and Type | Method and Description |
|---|---|
void |
continueParsing(ByteBuffer in,
SFBaseSession session)
Continue parsing with the given data
|
void |
endParsing(SFBaseSession session)
Check if the chunk has been parsed correctly.
|
void |
startParsing(JsonResultChunk resultChunk,
SFBaseSession session) |
public void startParsing(JsonResultChunk resultChunk, SFBaseSession session) throws SnowflakeSQLException
SnowflakeSQLExceptionpublic void endParsing(SFBaseSession session) throws SnowflakeSQLException
SnowflakeSQLExceptionpublic void continueParsing(ByteBuffer in, SFBaseSession session) throws SnowflakeSQLException
in - readOnly byteBuffer backed by an array (the data to be reed is from position to
limit)SnowflakeSQLExceptionCopyright © 2022. All rights reserved.