Note
this class is public so it may be used by Replication execution code. It is basically not public.
| Modifier and Type | Field and Description |
|---|---|
| private static long | rowCountBase
Row count base added for testing JDBC 4.2 |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static void | copyCloneColumns(ExecRow
Place the cloned columns here. to, ExecRow Get the columns to clone here. from, int Clone this number of columns. count)Clone an ExecRow's columns and place the coloned columns in another ExecRow. |
| public static void | copyRefColumns(ExecRow
Place the column references here. to, ExecRow Get the column references from here. from)Copy references for an ExecRow's columns to another ExecRow. |
| public static void | copyRefColumns(ExecRow
Place the column references here. to, ExecRow Get the column references from here. from, int Copy this number of column references. count)Copy references for an ExecRow's columns to another ExecRow. |
| public static void | copyRefColumns(ExecRow
Place the column references here. to, ExecRow Get the column references from here. from, int The 0 based index of the first column to copy. start, int Copy this number of column references. count)Copy references for an ExecRow's columns to another ExecRow. |
| public static void | copyRefColumns(ExecRow
Place the column references here. to, int The 0-based index of the first column to replace. toStart, ExecRow Get the column references from here. from, int The 0 based index of the first column to copy. fromStart, int Copy this number of column references. count)Copy references for an ExecRow's columns to another ExecRow. |
| public static void | copyRefColumns(ExecRow
Place the column references here. to, ExecRow Get the column references from here. from, int[] array of 1-based column ids to copy from "from" to "to" positions)Copy references for an ExecRow's columns to another ExecRow. |
| public static void | copyRefColumns(ExecRow
Place the column references here. Sparse array to, ExecRow Get the column references from here. Compact array from, FormatableBitSet array of 1-based column ids to copy from "from" to "to" positions)Copy references for an ExecRow's columns to another ExecRow. |
| public static void | copyRefColumns(ExecRow
Set columns in this storable to be empty. setMe)Empty columns -- i.e. make them refer to a java null. |
| public static ExecIndexRow | Returns: the row.the number of columns in the row. columnCount, LanguageConnectionContext lcc)Get an empty ExecIndexRow. |
| public static ExecRow | Returns: the row.the number of columns in the row. columnCount, LanguageConnectionContext lcc)Get an empty ExecRow. |
| public static long | |
| public static boolean | |
| public static String | |
| public static void | setRowCountBase(long newBase)
Debug method used to test the setLargeMaxRows() method added by JDBC 4.2. |
| public static FormatableBitSet | Returns: a new FormatableBitSet with the shifted resultthe bit set bitSet, int the number of bits to shift n)Shift a FormatableBitSet N bits toward the zero end. |
| public static String | |
| public static String | |
| public static String | |
| public static String | |
| public static String | |
| public static String |
| rowCountBase | back to summary |
|---|---|
| private static long rowCountBase Row count base added for testing JDBC 4.2 | |
| RowUtil | back to summary |
|---|---|
| public RowUtil() | |
| copyCloneColumns | back to summary |
|---|---|
| public static void copyCloneColumns(ExecRow to, ExecRow from, int count) Clone an ExecRow's columns and place the coloned columns in another ExecRow. | |
| copyRefColumns | back to summary |
|---|---|
| public static void copyRefColumns(ExecRow to, ExecRow from) Copy references for an ExecRow's columns to another ExecRow. | |
| copyRefColumns | back to summary |
|---|---|
| public static void copyRefColumns(ExecRow to, ExecRow from, int count) throws StandardException Copy references for an ExecRow's columns to another ExecRow. | |
| copyRefColumns | back to summary |
|---|---|
| public static void copyRefColumns(ExecRow to, ExecRow from, int start, int count) throws StandardException Copy references for an ExecRow's columns to another ExecRow. | |
| copyRefColumns | back to summary |
|---|---|
| public static void copyRefColumns(ExecRow to, int toStart, ExecRow from, int fromStart, int count) throws StandardException Copy references for an ExecRow's columns to another ExecRow. | |
| copyRefColumns | back to summary |
|---|---|
| public static void copyRefColumns(ExecRow to, ExecRow from, int[] positions) throws StandardException Copy references for an ExecRow's columns to another ExecRow. | |
| copyRefColumns | back to summary |
|---|---|
| public static void copyRefColumns(ExecRow to, ExecRow from, FormatableBitSet positions) throws StandardException Copy references for an ExecRow's columns to another ExecRow. For copying from a compact array to a reconstituted array. E.g. if positions = {2, 4}, and from = {666, 777} then to => {null, 666, null, 777}. Will only go as far as to.getArray().length.
| |
| copyRefColumns | back to summary |
|---|---|
| public static void copyRefColumns(ExecRow setMe) throws StandardException Empty columns -- i.e. make them refer to a java null. This is useful to remove dangling references to a column.
| |
| getEmptyIndexRow | back to summary |
|---|---|
| public static ExecIndexRow getEmptyIndexRow(int columnCount, LanguageConnectionContext lcc) Get an empty ExecIndexRow.
| |
| getEmptyValueRow | back to summary |
|---|---|
| public static ExecRow getEmptyValueRow(int columnCount, LanguageConnectionContext lcc) Get an empty ExecRow.
| |
| getRowCountBase | back to summary |
|---|---|
| public static long getRowCountBase() Retrieve the row count base | |
| inAscendingOrder | back to summary |
|---|---|
| public static boolean inAscendingOrder(int[] colMap) | |
| intArrayToString | back to summary |
|---|---|
| public static String intArrayToString(int[] colMap) intArrayToString
| |
| setRowCountBase | back to summary |
|---|---|
| public static void setRowCountBase(long newBase) Debug method used to test the setLargeMaxRows() method added by JDBC 4.2. This method is a NOP on a production (insane) build of Derby. | |
| shift | back to summary |
|---|---|
| public static FormatableBitSet shift(FormatableBitSet bitSet, int n) Shift a FormatableBitSet N bits toward the zero end. e.g. shift({2,4}) -> {1,3}.
| |
| toString | back to summary |
|---|---|
| public static String toString(ExecRow row) toString | |
| toString | back to summary |
|---|---|
| public static String toString(Object[] objs) toString | |
| toString | back to summary |
|---|---|
| public static String toString(ExecRow row, int startPoint, int endPoint) toString | |
| toString | back to summary |
|---|---|
| public static String toString(Object[] objs, int startPoint, int endPoint) toString | |
| toString | back to summary |
|---|---|
| public static String toString(ExecRow row, int[] positions) toString | |
| toString | back to summary |
|---|---|
| public static String toString(Object[] objs, int[] positions) toString | |