Class AddTenantDAO

  • All Implemented Interfaces:
    IDatabaseStatement

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

      Constructors 
      Constructor Description
      AddTenantDAO​(java.lang.String schemaName, int tenantId, java.lang.String tenantName)
      Public constructor
    • 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

      • AddTenantDAO

        public AddTenantDAO​(java.lang.String schemaName,
                            int tenantId,
                            java.lang.String tenantName)
        Public constructor
        Parameters:
        schemaName -
        tenantId -
        tenantName -
    • Method Detail