| java.lang.Object org.apache.derby.impl.store.access.conglomerate.TemplateRow
TemplateRow | final public class TemplateRow (Code) | | |
checkColumnTypes | public static boolean checkColumnTypes(int[] format_ids, DataValueDescriptor[] row) throws StandardException(Code) | | Check that columns in the row conform to a set of format id's,
both in number and type.
boolean indicating if template matches format id's Parameters: format_ids - array of format ids which are the types of cols in row Parameters: row - the array of columns that make up the row. exception: StandardException - Standard exception policy. |
checkPartialColumnTypes | public static boolean checkPartialColumnTypes(int[] format_ids, FormatableBitSet validColumns, int[] fieldStates, DataValueDescriptor[] row) throws StandardException(Code) | | Check that columns in the row conform to a set of format id's,
both in number and type.
boolean indicating if template matches format id's Parameters: format_ids - array of format ids which are the types of cols in row Parameters: row - the array of columns that make up the row. exception: StandardException - Standard exception policy. |
newBranchRow | public static DataValueDescriptor[] newBranchRow(int[] format_ids, DataValueDescriptor page_ptr) throws StandardException(Code) | | Generate an "empty" row to match the format id + coluumn specification.
Generate an array of new'd objects matching the format id specification
passed in, and the column passed in. The new row is first made up of
columns matching the format ids, and then followed by one other column
matching the column passed in. This routine is mostly used by the
btree code to generate temporary branch rows needed during operations
like split.
The new row. Parameters: format_ids - an array of format id's, one per column in row. Parameters: page_ptr - The object to place in the last column of the template. exception: StandardException - Standard exception policy. |
newRow | public static DataValueDescriptor[] newRow(DataValueDescriptor[] template) throws StandardException(Code) | | Generate an "empty" row to match the format id specification.
Generate an array of new'd objects matching the format id specification
passed in. This routine is mostly used by the btree code to generate
temporary rows needed during operations like split. It is more
efficient to allocate new objects based on the old object vs. calling
the Monitor.
Parameters: template - An array which represents a row as described inRowUtil. exception: StandardException - Standard exception policy. The new row. See Also: RowUtil |
newRow | public static DataValueDescriptor[] newRow(FormatableBitSet column_list, int[] format_ids) throws StandardException(Code) | | Generate an "empty" row to match the format id specification.
Generate an array of new'd objects matching the format id specification
passed in. This routine is mostly used by the btree code to generate
temporary rows needed during operations like split.
The new row. Parameters: format_ids - an array of format id's, one per column in row. exception: StandardException - Standard exception policy. |
newU8Row | public static DataValueDescriptor[] newU8Row(int nkeys)(Code) | | Constuctor for creating a template row which stores n SQLLongint's
|
|
|