All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.ebeaninternal.dbmigration.ddlgeneration.platform.ClickHouseTableDdl Maven / Gradle / Ivy

There is a newer version: 15.8.0
Show newest version
package io.ebeaninternal.dbmigration.ddlgeneration.platform;

import io.ebean.DatabaseBuilder;
import io.ebeaninternal.dbmigration.ddlgeneration.DdlBuffer;
import io.ebeaninternal.dbmigration.migration.CreateTable;

public class ClickHouseTableDdl extends BaseTableDdl {

  public ClickHouseTableDdl(DatabaseBuilder.Settings config, PlatformDdl platformDdl) {
    super(config, platformDdl);
  }

  @Override
  protected void writePrimaryKeyConstraint(DdlBuffer buffer, String pkName, String[] pkColumns) {
    // do nothing
  }

  @Override
  protected void writeCompoundUniqueConstraints(DdlBuffer apply, CreateTable createTable) {
    // do nothing
  }

  @Override
  protected void writeUniqueConstraints(DdlBuffer apply, CreateTable createTable) {
    // do nothing
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy