Class ExecuteQueryResponseChannel
- java.lang.Object
-
- com.salesforce.datacloud.jdbc.core.ExecuteQueryResponseChannel
-
- All Implemented Interfaces:
Closeable,AutoCloseable,Channel,ReadableByteChannel
public class ExecuteQueryResponseChannel extends Object implements ReadableByteChannel
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()booleanisOpen()static ExecuteQueryResponseChannelof(Stream<QueryResult> stream)intread(ByteBuffer destination)
-
-
-
Method Detail
-
of
public static ExecuteQueryResponseChannel of(Stream<QueryResult> stream)
-
read
public int read(ByteBuffer destination)
- Specified by:
readin interfaceReadableByteChannel
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceChannel- Specified by:
closein interfaceCloseable- Throws:
IOException
-
-