Documentation of 'org.apache.derby.impl.sql.catalog.SYSSTATEMENTSRowFactory' Java class
SYSSTATEMENTSRowFactory
org.apache.derby.impl.sql.catalog

Class SYSSTATEMENTSRowFactory



  • public class SYSSTATEMENTSRowFactory
    extends CatalogRowFactory
    Factory for creating a SYSSTATEMENTS row.
    • Method Detail

      • makeSYSSTATEMENTSrow

        public ExecRow makeSYSSTATEMENTSrow(boolean compileMe,
                                            SPSDescriptor spsDescriptor)
                                     throws 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.

        Parameters:
        compileMe - passed into SPSDescriptorImpl.getPreparedStatement(). if true, we (re)compile the stmt
        spsDescriptor - In-memory tuple to be converted to a disk row.
        Returns:
        Row suitable for inserting into SYSSTATEMENTS.
        Throws:
        StandardException - thrown on failure
      • buildColumnList

        public SystemColumn[] buildColumnList()
                                       throws StandardException
        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.
        Specified by:
        buildColumnList in class CatalogRowFactory
        Returns:
        array of SystemColumn suitable for making this catalog.
        Throws:
        StandardException
      • getCreateHeapProperties

        public java.util.Properties getCreateHeapProperties()
        Get the Properties associated with creating the heap.
        Overrides:
        getCreateHeapProperties in class CatalogRowFactory
        Returns:
        The Properties associated with creating the heap.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.