| java.lang.Object org.apache.derbyTesting.functionTests.tests.store.streamingColumn
streamingColumn | public class streamingColumn (Code) | | Test of JDBC result set Stream calls.
author: djd |
Method Summary | |
static String | getLongString(Connection conn, int key) | static int | insertLongString(Connection conn, int key, String data, boolean binaryColumn) | public static void | main(String[] args) | static String | pad(String base, long length) | public static int | streamInLongCol(PreparedStatement ps, Object data) | static int | streamInStringCol(PreparedStatement ps, String data, boolean binaryColumn) | static void | streamTest2(Connection conn, long length) | static void | streamTest3(Connection conn, long length) | static void | streamTest5(Connection conn, long length) | static void | streamTest6(Connection conn, long length) | static void | streamTest7(Connection conn) | static void | streamTest8(Connection conn, int stream1_len, int stream2_len) long row test of insert/backout case, using setAsciiStream().
The heap tries to make rows all fit on one page if possible. | static void | streamTest9(Connection conn, int stream1_len, int stream2_len) long row test of insert/backout case, using setBinaryStream().
The heap tries to make rows all fit on one page if possible. | static int | updateLongString(Connection conn, int oldkey, int newkey) | static void | verifyExistence(Connection conn, int key, String base, long length) | static void | verifyLength(int a, int columnSize, long[] fileLength) |
fileLength | static long[] fileLength(Code) | | |
streamTest8 | static void streamTest8(Connection conn, int stream1_len, int stream2_len)(Code) | | long row test of insert/backout case, using setAsciiStream().
The heap tries to make rows all fit on one page if possible. So it
first asks raw store to try inserting without overflowing rows or
columns. If that doesn't work it then asks raw store for a mostly
empty page and tries to insert it there with overflow, If that doesn't
work then an empty page is picked.
If input parameters are conn,10,2500 - then the second row inserted
will have the 1st column fit, but the second not fit which caused
track #2240.
exception: StandardException - Standard exception policy. |
streamTest9 | static void streamTest9(Connection conn, int stream1_len, int stream2_len)(Code) | | long row test of insert/backout case, using setBinaryStream().
The heap tries to make rows all fit on one page if possible. So it
first asks raw store to try inserting without overflowing rows or
columns. If that doesn't work it then asks raw store for a mostly
empty page and tries to insert it there with overflow, If that doesn't
work then an empty page is picked.
If input parameters are conn,10,2500 - then the second row inserted
will have the 1st column fit, but the second not fit which caused
track #2240.
exception: StandardException - Standard exception policy. |
verifyLength | static void verifyLength(int a, int columnSize, long[] fileLength)(Code) | | |
|
|