Package org.postgresql.pljava.example
Class BinaryColumnTest
- java.lang.Object
-
- org.postgresql.pljava.example.BinaryColumnTest
-
- All Implemented Interfaces:
org.postgresql.pljava.ResultSetProvider
public class BinaryColumnTest extends Object implements org.postgresql.pljava.ResultSetProvider
Example usingResultSetProvider
to return 100 rows of twobytea
columns each, which should be equal in each row, one being set byupdateBinaryStream
and the other byupdateBytes
.
-
-
Constructor Summary
Constructors Constructor Description BinaryColumnTest()
-
Method Summary
Modifier and Type Method Description boolean
assignRowValues(ResultSet rs, int rowCount)
void
close()
static org.postgresql.pljava.ResultSetProvider
getBinaryPairs()
-
-
-
Constructor Detail
-
BinaryColumnTest
public BinaryColumnTest()
-
-
Method Detail
-
getBinaryPairs
public static org.postgresql.pljava.ResultSetProvider getBinaryPairs()
-
assignRowValues
public boolean assignRowValues(ResultSet rs, int rowCount) throws SQLException
- Specified by:
assignRowValues
in interfaceorg.postgresql.pljava.ResultSetProvider
- Throws:
SQLException
-
close
public void close() throws SQLException
- Specified by:
close
in interfaceorg.postgresql.pljava.ResultSetProvider
- Throws:
SQLException
-
-