@InterfaceAudience.Public @InterfaceStability.Stable public class PreAddSchemaVersionEvent extends PreEventContext { private final SchemaVersion schemaVersion; public PreAddSchemaVersionEvent(IHMSHandler handler, SchemaVersion schemaVersion) { super(PreEventType.ADD_SCHEMA_VERSION, handler); this.schemaVersion = schemaVersion; } public SchemaVersion getSchemaVersion() { return schemaVersion; } }
@InterfaceAudience.Public @InterfaceStability.Stable public class CreateISchemaEvent extends ListenerEvent { private final ISchema schema; public CreateISchemaEvent(boolean status, IHMSHandler handler, ISchema schema) { super(status, handler); this.schema = schema; } public ISchema getSchema() { return schema; } }
@InterfaceAudience.Public @InterfaceStability.Stable public class PreDropSchemaVersionEvent extends PreEventContext { private final SchemaVersion schemaVersion; public PreDropSchemaVersionEvent(IHMSHandler handler, SchemaVersion schemaVersion) { super(PreEventType.DROP_SCHEMA_VERSION, handler); this.schemaVersion = schemaVersion; } public SchemaVersion getSchemaVersion() { return schemaVersion; } }
@InterfaceAudience.Public @InterfaceStability.Stable public class PreDropISchemaEvent extends PreEventContext { private final ISchema schema; public PreDropISchemaEvent(IHMSHandler handler, ISchema schema) { super(PreEventType.DROP_ISCHEMA, handler); this.schema = schema; } public ISchema getSchema() { return schema; } }
@InterfaceAudience.Public @InterfaceStability.Stable public class CreateCatalogEvent extends ListenerEvent { private final Catalog cat; public CreateCatalogEvent(boolean status, IHMSHandler handler, Catalog cat) { super(status, handler); this.cat = cat; } public Catalog getCatalog() { return cat; } }
@InterfaceAudience.Public @InterfaceStability.Stable public class PreDropCatalogEvent extends PreEventContext { private final Catalog cat; public PreDropCatalogEvent(IHMSHandler handler, Catalog cat) { super(PreEventType.DROP_CATALOG, handler); this.cat = cat; } public Catalog getCatalog() { return cat; } }
@InterfaceAudience.Public @InterfaceStability.Stable public class AddPrimaryKeyEvent extends ListenerEvent { private final List<SQLPrimaryKey> pks; public AddPrimaryKeyEvent(List<SQLPrimaryKey> pks, boolean status, IHMSHandler handler) { super(status, handler); this.pks = pks; } public List<SQLPrimaryKey> getPrimaryKeyCols() { return pks; } }
@InterfaceAudience.Public @InterfaceStability.Stable public class PreReadISchemaEvent extends PreEventContext { private final ISchema schema; public PreReadISchemaEvent(IHMSHandler handler, ISchema schema) { super(PreEventType.READ_ISCHEMA, handler); this.schema = schema; } public ISchema getSchema() { return schema; } }
@InterfaceAudience.Public @InterfaceStability.Stable public class PreCreateCatalogEvent extends PreEventContext { private final Catalog cat; public PreCreateCatalogEvent(IHMSHandler handler, Catalog cat) { super(PreEventType.CREATE_CATALOG, handler); this.cat = cat; } public Catalog getCatalog() { return cat; } }
@InterfaceAudience.Public @InterfaceStability.Stable public class DropISchemaEvent extends ListenerEvent { private final ISchema schema; public DropISchemaEvent(boolean status, IHMSHandler handler, ISchema schema) { super(status, handler); this.schema = schema; } public ISchema getSchema() { return schema; } }
@InterfaceStability.Stable @InterfaceAudience.Public public class AddForeignKeyEvent extends ListenerEvent { private final List<SQLForeignKey> fks; public AddForeignKeyEvent(List<SQLForeignKey> fks, boolean status, IHMSHandler handler) { super(status, handler); this.fks = fks; } public List<SQLForeignKey> getForeignKeyCols() { return fks; } }
@InterfaceAudience.Public @InterfaceStability.Stable public class PreCreateISchemaEvent extends PreEventContext { private final ISchema schema; public PreCreateISchemaEvent(IHMSHandler handler, ISchema schema) { super(PreEventType.CREATE_ISCHEMA, handler); this.schema = schema; } public ISchema getSchema() { return schema; } }
@InterfaceAudience.Public @InterfaceStability.Stable public class PreReadCatalogEvent extends PreEventContext { private final Catalog cat; public PreReadCatalogEvent(IHMSHandler handler, Catalog cat) { super(PreEventType.READ_CATALOG, handler); this.cat = cat; } public Catalog getCatalog() { return cat; } }
@InterfaceAudience.Public @InterfaceStability.Stable public class AddSchemaVersionEvent extends ListenerEvent { private final SchemaVersion schemaVersion; public AddSchemaVersionEvent(boolean status, IHMSHandler handler, SchemaVersion schemaVersion) { super(status, handler); this.schemaVersion = schemaVersion; } public SchemaVersion getSchemaVersion() { return schemaVersion; } }
@InterfaceAudience.Public @InterfaceStability.Stable public class AddUniqueConstraintEvent extends ListenerEvent { private final List<SQLUniqueConstraint> uks; public AddUniqueConstraintEvent(List<SQLUniqueConstraint> uks, boolean status, IHMSHandler handler) { super(status, handler); this.uks = uks; } public List<SQLUniqueConstraint> getUniqueConstraintCols() { return uks; } }
@InterfaceAudience.Public @InterfaceStability.Stable public class AddNotNullConstraintEvent extends ListenerEvent { private final List<SQLNotNullConstraint> nns; public AddNotNullConstraintEvent(List<SQLNotNullConstraint> nns, boolean status, IHMSHandler handler) { super(status, handler); this.nns = nns; } public List<SQLNotNullConstraint> getNotNullConstraintCols() { return nns; } }