1 Star 0 Fork 0

wxz/spring-boot-starter-canal

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
DropIndexListenPoint.java 814 Bytes
一键复制 编辑 原始数据 按行查看 历史
wxz 提交于 2021-08-24 12:30 . init commit
package cn.mxtao.starter.canal.annotation.table;
import com.alibaba.otter.canal.protocol.CanalEntry;
import cn.mxtao.starter.canal.annotation.ListenPoint;
import org.springframework.core.annotation.AliasFor;
import java.lang.annotation.*;
/**
* 刪除索引操作
*
*/
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@ListenPoint(eventType = CanalEntry.EventType.DINDEX)
public @interface DropIndexListenPoint {
/**
* canal 指令
* default for all
*
*/
@AliasFor(annotation = ListenPoint.class)
String destination() default "";
/**
* 数据库实例
*
*/
@AliasFor(annotation = ListenPoint.class)
String[] schema() default {};
/**
* 监听的表
* default for all
*
*/
@AliasFor(annotation = ListenPoint.class)
String[] table() default {};
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/projectzone/spring-boot-starter-canal.git
git@gitee.com:projectzone/spring-boot-starter-canal.git
projectzone
spring-boot-starter-canal
spring-boot-starter-canal
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891