java.lang.Object
org.apache.derby.iapi.sql.dictionary.CatalogRowFactory
org.apache.derby.impl.sql.catalog.SYSSTATEMENTSRowFactory
- public class SYSSTATEMENTSRowFactory
- extends org.apache.derby.iapi.sql.dictionary.CatalogRowFactory
Factory for creating a SYSSTATEMENTS row.
- Version:
- 0.1
| Methods inherited from class org.apache.derby.iapi.sql.dictionary.CatalogRowFactory |
checkIndexNumber, convertIdCase, generateIndexName, getCanonicalHeapName, getCanonicalHeapUUID, getCanonicalIndexUUID, getCanonicalTableUUID, getCatalogName, getCreateIndexProperties, getDataValueFactory, getExecutionFactory, getHeapColumnCount, getIndexColumnCount, getIndexColumnNames, getIndexColumnPositions, getIndexName, getNumIndexes, getPrimaryKeyIndexNumber, getUUIDFactory, initInfo, isIndexUnique, makeRow |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TABLENAME_STRING
static final java.lang.String TABLENAME_STRING
- See Also:
- Constant Field Values
SYSSTATEMENTS_STMTID
public static final int SYSSTATEMENTS_STMTID
- See Also:
- Constant Field Values
SYSSTATEMENTS_STMTNAME
public static final int SYSSTATEMENTS_STMTNAME
- See Also:
- Constant Field Values
SYSSTATEMENTS_SCHEMAID
public static final int SYSSTATEMENTS_SCHEMAID
- See Also:
- Constant Field Values
SYSSTATEMENTS_TYPE
public static final int SYSSTATEMENTS_TYPE
- See Also:
- Constant Field Values
SYSSTATEMENTS_VALID
public static final int SYSSTATEMENTS_VALID
- See Also:
- Constant Field Values
SYSSTATEMENTS_TEXT
public static final int SYSSTATEMENTS_TEXT
- See Also:
- Constant Field Values
SYSSTATEMENTS_LASTCOMPILED
public static final int SYSSTATEMENTS_LASTCOMPILED
- See Also:
- Constant Field Values
SYSSTATEMENTS_COMPILATION_SCHEMAID
public static final int SYSSTATEMENTS_COMPILATION_SCHEMAID
- See Also:
- Constant Field Values
SYSSTATEMENTS_USINGTEXT
public static final int SYSSTATEMENTS_USINGTEXT
- See Also:
- Constant Field Values
SYSSTATEMENTS_CONSTANTSTATE
public static final int SYSSTATEMENTS_CONSTANTSTATE
- See Also:
- Constant Field Values
SYSSTATEMENTS_INITIALLY_COMPILABLE
public static final int SYSSTATEMENTS_INITIALLY_COMPILABLE
- See Also:
- Constant Field Values
SYSSTATEMENTS_COLUMN_COUNT
public static final int SYSSTATEMENTS_COLUMN_COUNT
- See Also:
- Constant Field Values
SYSSTATEMENTS_HIDDEN_COLUMN_COUNT
public static final int SYSSTATEMENTS_HIDDEN_COLUMN_COUNT
- See Also:
- Constant Field Values
SYSSTATEMENTS_INDEX1_ID
protected static final int SYSSTATEMENTS_INDEX1_ID
- See Also:
- Constant Field Values
SYSSTATEMENTS_INDEX2_ID
protected static final int SYSSTATEMENTS_INDEX2_ID
- See Also:
- Constant Field Values
indexColumnPositions
private static final int[][] indexColumnPositions
indexColumnNames
private static final java.lang.String[][] indexColumnNames
uniqueness
private static final boolean[] uniqueness
uuids
private static final java.lang.String[] uuids
SYSSTATEMENTSRowFactory
public SYSSTATEMENTSRowFactory(org.apache.derby.iapi.services.uuid.UUIDFactory uuidf,
org.apache.derby.iapi.sql.execute.ExecutionFactory ef,
org.apache.derby.iapi.types.DataValueFactory dvf,
boolean convertIdToLower)
makeSYSSTATEMENTSrow
public org.apache.derby.iapi.sql.execute.ExecRow makeSYSSTATEMENTSrow(boolean compileMe,
org.apache.derby.iapi.sql.dictionary.SPSDescriptor spsDescriptor)
throws org.apache.derby.iapi.error.StandardException
- Make a SYSSTATEMENTS row.
WARNING: When empty row is true, this method takes
a snapshot of the SPSD and creates a row. It is imperative
that that row remain consistent with the descriptor (the
valid and StorablePreparedStatement fields must be in sync).
If this row is to be written out and valid is true, then
this call and the insert should be synchronized on the
SPSD. This method has NO synchronization.
buildEmptyIndexRow
public org.apache.derby.iapi.sql.execute.ExecIndexRow buildEmptyIndexRow(int indexNumber,
org.apache.derby.iapi.types.RowLocation rowLocation)
throws org.apache.derby.iapi.error.StandardException
- Builds an empty index row.
buildDescriptor
public org.apache.derby.iapi.sql.dictionary.TupleDescriptor buildDescriptor(org.apache.derby.iapi.sql.execute.ExecRow row,
org.apache.derby.iapi.sql.dictionary.TupleDescriptor parentTupleDescriptor,
org.apache.derby.iapi.sql.dictionary.DataDictionary dd)
throws org.apache.derby.iapi.error.StandardException
- Make an Tuple Descriptor out of a SYSSTATEMENTS row
makeEmptyRow
public org.apache.derby.iapi.sql.execute.ExecRow makeEmptyRow()
throws org.apache.derby.iapi.error.StandardException
- Description copied from class:
org.apache.derby.iapi.sql.dictionary.CatalogRowFactory
- Return an empty row for this conglomerate.
buildColumnList
public org.apache.derby.iapi.sql.dictionary.SystemColumn[] buildColumnList()
- Builds a list of columns suitable for creating this Catalog.
The last column, the serialized statement, is not added
to the column list. This is done deliberately to make it
a 'hidden' column -- one that is not visible to customers,
but is visible to the system.
getCreateHeapProperties
public java.util.Properties getCreateHeapProperties()
- Get the Properties associated with creating the heap.