Class UpdateTenantStatusDAO

  • All Implemented Interfaces:
    IDatabaseStatement

    public class UpdateTenantStatusDAO
    extends java.lang.Object
    implements IDatabaseStatement
    DAO to create a free tenant slot (to align with a new partition)
    • Constructor Summary

      Constructors 
      Constructor Description
      UpdateTenantStatusDAO​(java.lang.String schemaName, int tenantId, TenantStatus tenantStatus)
      Get partition information for all tables in the tableSchema, using the catalogSchema as the schema containing the DATAPARTITIONS system table
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run​(IDatabaseTranslator translator, java.sql.Connection c)
      Execute the statement using the connection.
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UpdateTenantStatusDAO

        public UpdateTenantStatusDAO​(java.lang.String schemaName,
                                     int tenantId,
                                     TenantStatus tenantStatus)
        Get partition information for all tables in the tableSchema, using the catalogSchema as the schema containing the DATAPARTITIONS system table
        Parameters:
        schemaName -
        tenantId -
        tenantStatus -
    • Method Detail