| java.lang.Object org.apache.derby.impl.store.access.conglomerate.ConglomerateUtil
ConglomerateUtil | final public class ConglomerateUtil (Code) | | Static utility routine package for all Conglomerates.
A collection of static utility routines that are shared by multiple
Conglomerate implementations.
|
createFormatIds | public static int[] createFormatIds(DataValueDescriptor[] template)(Code) | | Given an array of objects, return an array of format id's.
An array of format id's describing the input array of objects. Parameters: template - a row. |
createRawStorePropertySet | public static Properties createRawStorePropertySet(Properties prop)(Code) | | Create a list of all the properties that Access wants to export
through the getInternalTablePropertySet() call.
This utility routine creates a list of properties that are shared by
all conglomerates. This list contains the following:
derby.storage.initialPages
derby.storage.minimumRecordSize
derby.storage.pageReservedSpace
derby.storage.pageSize
derby.storage.reusableRecordId
The Property set filled in. Parameters: prop - If non-null the property set to fill in. |
createUserRawStorePropertySet | public static Properties createUserRawStorePropertySet(Properties prop)(Code) | | Create a list of all the properties that Access wants to export
through the getInternalTablePropertySet() call.
This utility routine creates a list of properties that are shared by
all conglomerates. This list contains the following:
derby.storage.initialPages
derby.storage.minimumRecordSize
derby.storage.pageReservedSpace
derby.storage.pageSize
The Property set filled in. Parameters: prop - If non-null the property set to fill in. |
readFormatIdArray | public static int[] readFormatIdArray(int num, ObjectInput in) throws IOException(Code) | | Read a format id array in from a stream.
A new array of format id's. Parameters: num - The number of format ids to read. Parameters: in - The stream to read the array of format id's from. exception: IOException - Thown on read error. |
writeFormatIdArray | public static void writeFormatIdArray(int[] format_id_array, ObjectOutput out) throws IOException(Code) | | Write a format id array to a stream.
Parameters: format_id_array - The number of format ids to read. Parameters: out - The stream to write the array of format id's to. exception: IOException - Thown on write error. |
|
|