diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000000000000000000000000000000000000..11c5475022db265b7f741c055e0d15c3d38ebd5d
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,41 @@
+java/season03/*-bak
+
+# maven #
+**/target
+**/bin
+
+# eclipse #
+**/.settings
+**/.project
+**/.classpath
+**/.log
+
+# windows #
+Thumbs.db
+
+# Mac #
+.DS_Store
+**/.DS_Store
+
+# Package Files #
+*.war
+*.ear
+
+# idea #
+*.iml
+**/.idea/
+**/overlays
+
+# VSCode #
+.vscode
+**/.vscode
+
+# SML #
+**/*.sml#
+#*.sml#
+
+# node #
+node_modules
+**/node_modules
+
+
diff --git a/build/mycat-eye-structure20180505.sql b/build/mycat-eye-structure20180505.sql
new file mode 100644
index 0000000000000000000000000000000000000000..50881243c6f31f174e2d1a1e49285f2ab84b48ca
--- /dev/null
+++ b/build/mycat-eye-structure20180505.sql
@@ -0,0 +1,528 @@
+-- MySQL dump 10.13 Distrib 5.7.17, for macos10.12 (x86_64)
+--
+-- Host: 120.24.54.175 Database: mycat_eye
+-- ------------------------------------------------------
+-- Server version 5.7.21-log
+
+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
+/*!40101 SET NAMES utf8 */;
+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
+/*!40103 SET TIME_ZONE='+00:00' */;
+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
+
+--
+-- Table structure for table `mycat_backend`
+--
+
+DROP TABLE IF EXISTS `mycat_backend`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mycat_backend` (
+ `id` int(11) NOT NULL,
+ `processor` varchar(45) DEFAULT NULL,
+ `mysqlId` int(11) DEFAULT NULL,
+ `c_host` varchar(45) DEFAULT NULL,
+ `c_port` int(11) DEFAULT NULL,
+ `l_port` int(11) DEFAULT NULL COMMENT '本地端口',
+ `net_in` bigint(22) DEFAULT NULL,
+ `net_out` bigint(22) DEFAULT NULL,
+ `life` bigint(22) DEFAULT NULL,
+ `closed` varchar(10) DEFAULT NULL,
+ `borrowed` varchar(10) DEFAULT NULL,
+ `send_queue` int(11) DEFAULT NULL,
+ `c_schema` varchar(100) DEFAULT NULL,
+ `c_charset` varchar(45) DEFAULT NULL,
+ `txlevel` varchar(2) DEFAULT NULL,
+ `autocommit` varchar(10) DEFAULT NULL,
+ `mycat_id` int(11) DEFAULT NULL,
+ `collect_time` bigint(22) DEFAULT NULL,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=latin1;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `mycat_cache`
+--
+
+DROP TABLE IF EXISTS `mycat_cache`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mycat_cache` (
+ `id` int(11) NOT NULL,
+ `CACHE` varchar(100) DEFAULT NULL,
+ `MAX` int(11) DEFAULT NULL,
+ `CUR` int(11) DEFAULT NULL,
+ `ACCESS` int(11) DEFAULT NULL,
+ `HIT` int(11) DEFAULT NULL,
+ `PUT` int(11) DEFAULT NULL,
+ `LAST_ACCESS` int(11) DEFAULT NULL,
+ `LAST_PUT` int(11) DEFAULT NULL,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=latin1;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `mycat_cluster`
+--
+
+DROP TABLE IF EXISTS `mycat_cluster`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mycat_cluster` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `cluster_name` varchar(100) DEFAULT NULL,
+ `cluster_host` varchar(100) DEFAULT NULL,
+ `cluster_port` int(11) DEFAULT NULL,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `mycat_connection`
+--
+
+DROP TABLE IF EXISTS `mycat_connection`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mycat_connection` (
+ `id` int(11) NOT NULL,
+ `processor` varchar(45) DEFAULT NULL,
+ `c_host` varchar(45) DEFAULT NULL,
+ `c_port` int(11) DEFAULT NULL,
+ `l_port` int(11) DEFAULT NULL COMMENT '本地端口',
+ `net_in` bigint(22) DEFAULT NULL,
+ `net_out` bigint(22) DEFAULT NULL,
+ `c_user` varchar(45) DEFAULT NULL,
+ `c_schema` varchar(100) DEFAULT NULL,
+ `c_charset` varchar(45) DEFAULT NULL,
+ `alive_time` bigint(22) DEFAULT NULL,
+ `recv_buffer` int(11) DEFAULT NULL,
+ `send_queue` int(11) DEFAULT NULL,
+ `txlevel` varchar(2) DEFAULT NULL,
+ `autocommit` varchar(10) DEFAULT NULL,
+ `mycat_id` int(11) DEFAULT NULL,
+ `collect_time` bigint(22) DEFAULT NULL,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=latin1;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `mycat_datanode`
+--
+
+DROP TABLE IF EXISTS `mycat_datanode`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mycat_datanode` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `name` varchar(45) DEFAULT NULL,
+ `datahost` varchar(100) DEFAULT NULL,
+ `d_index` int(11) DEFAULT NULL,
+ `d_type` varchar(45) DEFAULT NULL,
+ `d_active` int(11) DEFAULT NULL,
+ `d_idle` int(11) DEFAULT NULL,
+ `d_size` int(11) DEFAULT NULL,
+ `d_execute` bigint(22) DEFAULT NULL,
+ `total_time` double DEFAULT NULL,
+ `max_time` double DEFAULT NULL,
+ `max_sql` bigint(22) DEFAULT NULL,
+ `recovery_time` bigint(22) DEFAULT NULL,
+ `collect_time` bigint(20) DEFAULT NULL,
+ `server_id` int(11) DEFAULT NULL,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=85 DEFAULT CHARSET=latin1;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `mycat_directmemory`
+--
+
+DROP TABLE IF EXISTS `mycat_directmemory`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mycat_directmemory` (
+ `id` int(11) NOT NULL,
+ `MDIRECT_MEMORY_MAXED` varchar(45) DEFAULT NULL,
+ `DIRECT_MEMORY_USED` varchar(45) DEFAULT NULL,
+ `DIRECT_MEMORY_AVAILABLE` varchar(45) DEFAULT NULL,
+ `SAFETY_FRACTION` float DEFAULT NULL,
+ `DIRECT_MEMORY_RESERVED` varchar(45) DEFAULT NULL,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=latin1;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `mycat_server`
+--
+
+DROP TABLE IF EXISTS `mycat_server`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mycat_server` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `server_name` varchar(100) DEFAULT NULL,
+ `server_host` varchar(100) DEFAULT NULL,
+ `manager_port` int(11) DEFAULT NULL,
+ `server_port` int(11) DEFAULT NULL,
+ `startup` bigint(20) DEFAULT NULL COMMENT '启动时间(时间戳)',
+ `user` varchar(45) DEFAULT NULL,
+ `password` varchar(62) DEFAULT NULL,
+ `cluster_id` int(11) DEFAULT NULL,
+ `is_cluster_node` tinyint(4) DEFAULT NULL,
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `id_UNIQUE` (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `mycat_server_status`
+--
+
+DROP TABLE IF EXISTS `mycat_server_status`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mycat_server_status` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `mycat_id` int(11) DEFAULT NULL,
+ `uptime` varchar(45) DEFAULT NULL COMMENT '16h 32m 55s',
+ `used_memory` bigint(22) DEFAULT NULL,
+ `total_memory` bigint(22) DEFAULT NULL,
+ `max_memory` bigint(22) DEFAULT NULL,
+ `reload_time` bigint(20) DEFAULT NULL COMMENT 'TIMESTAMP',
+ `rollback_time` bigint(20) DEFAULT NULL COMMENT 'TIMESTAMP',
+ `charset` varchar(45) DEFAULT NULL,
+ `status` varchar(45) DEFAULT NULL COMMENT 'ON|OFF',
+ `collect_time` bigint(20) DEFAULT NULL,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=83 DEFAULT CHARSET=latin1;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `mycat_sql`
+--
+
+DROP TABLE IF EXISTS `mycat_sql`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mycat_sql` (
+ `id` bigint(22) NOT NULL,
+ `c_user` varchar(45) DEFAULT NULL,
+ `start_time` bigint(20) DEFAULT NULL COMMENT '时间戳',
+ `execute_time` bigint(22) DEFAULT NULL,
+ `sql` varchar(255) DEFAULT NULL,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=latin1;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `mycat_sql_detail`
+--
+
+DROP TABLE IF EXISTS `mycat_sql_detail`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mycat_sql_detail` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `data_source` varchar(45) DEFAULT NULL,
+ `execute` bigint(22) DEFAULT NULL,
+ `time` double DEFAULT NULL,
+ `last_execute_timestamp` bigint(20) DEFAULT NULL COMMENT '时间戳',
+ `last_time` double DEFAULT NULL,
+ `sql_id` bigint(22) DEFAULT NULL,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=525 DEFAULT CHARSET=latin1;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `mycat_sql_execute`
+--
+
+DROP TABLE IF EXISTS `mycat_sql_execute`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mycat_sql_execute` (
+ `sql_id` bigint(22) NOT NULL,
+ `sql_execute` bigint(22) DEFAULT NULL,
+ `sql_time` double DEFAULT NULL,
+ `max_time` double DEFAULT NULL,
+ `min_time` double DEFAULT NULL,
+ `server_id` int(11) DEFAULT NULL COMMENT '服务节点ID',
+ PRIMARY KEY (`sql_id`)
+) ENGINE=InnoDB DEFAULT CHARSET=latin1;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `mycat_sql_high`
+--
+
+DROP TABLE IF EXISTS `mycat_sql_high`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mycat_sql_high` (
+ `id` int(11) NOT NULL,
+ `c_user` varchar(45) DEFAULT NULL,
+ `frequency` bigint(22) DEFAULT NULL COMMENT 'FREQUENCY',
+ `avg_time` bigint(22) DEFAULT NULL,
+ `max_time` bigint(22) DEFAULT NULL,
+ `min_time` bigint(22) DEFAULT NULL,
+ `execute_time` bigint(22) DEFAULT NULL,
+ `last_time` bigint(20) DEFAULT NULL,
+ `sql` longtext,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=latin1;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `mycat_sql_large`
+--
+
+DROP TABLE IF EXISTS `mycat_sql_large`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mycat_sql_large` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `sql_user` varchar(45) DEFAULT NULL,
+ `start_time` bigint(22) DEFAULT NULL,
+ `execute_time` bigint(22) DEFAULT NULL,
+ `sql` varchar(200) DEFAULT NULL,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `mycat_sql_large_rs`
+--
+
+DROP TABLE IF EXISTS `mycat_sql_large_rs`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mycat_sql_large_rs` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `sql_user` varchar(45) DEFAULT NULL,
+ `frequency` bigint(22) DEFAULT NULL COMMENT 'FREQUENCY',
+ `sql` varchar(200) DEFAULT NULL,
+ `resultset_size` int(11) DEFAULT NULL,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `mycat_sql_slow`
+--
+
+DROP TABLE IF EXISTS `mycat_sql_slow`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mycat_sql_slow` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `c_user` varchar(45) DEFAULT NULL,
+ `datasource` varchar(100) DEFAULT NULL,
+ `start_time` bigint(20) DEFAULT NULL,
+ `execute_time` bigint(22) DEFAULT NULL,
+ `sql` longtext,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=latin1;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `mycat_sql_sum`
+--
+
+DROP TABLE IF EXISTS `mycat_sql_sum`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mycat_sql_sum` (
+ `sid` int(11) NOT NULL,
+ `id` int(11) NOT NULL,
+ `c_user` varchar(45) DEFAULT NULL,
+ `r` int(11) DEFAULT NULL,
+ `w` int(11) DEFAULT NULL,
+ `r_p` float DEFAULT NULL,
+ `sql_max` int(11) DEFAULT NULL,
+ `net_in` int(11) DEFAULT NULL,
+ `net_out` int(11) DEFAULT NULL,
+ `time_count` varchar(100) DEFAULT NULL,
+ `ttl_count` varchar(100) DEFAULT NULL,
+ `last_time` bigint(20) DEFAULT NULL COMMENT '时间戳',
+ `sql_table` varchar(100) DEFAULT NULL,
+ `relatable` varchar(100) DEFAULT NULL,
+ `relacount` varchar(100) DEFAULT NULL,
+ `collect_type` char(1) DEFAULT NULL COMMENT '0:all | 1:user | 2:table',
+ `time_count0` int(11) DEFAULT NULL,
+ `time_count1` int(11) DEFAULT NULL,
+ `time_count2` int(11) DEFAULT NULL,
+ `time_count3` int(11) DEFAULT NULL,
+ `ttl_count0` int(11) DEFAULT NULL,
+ `ttl_count1` int(11) DEFAULT NULL,
+ `ttl_count2` int(11) DEFAULT NULL,
+ `ttl_count3` int(11) DEFAULT NULL,
+ PRIMARY KEY (`id`,`sid`),
+ UNIQUE KEY `sid_UNIQUE` (`sid`)
+) ENGINE=InnoDB DEFAULT CHARSET=latin1;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `mysql_cluster`
+--
+
+DROP TABLE IF EXISTS `mysql_cluster`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mysql_cluster` (
+ `id` bigint(20) NOT NULL AUTO_INCREMENT,
+ `name` varchar(50) NOT NULL COMMENT '集群名称',
+ `create_time` datetime NOT NULL COMMENT '创建时间',
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `mysql_server`
+--
+
+DROP TABLE IF EXISTS `mysql_server`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mysql_server` (
+ `id` bigint(10) NOT NULL AUTO_INCREMENT,
+ `host` varchar(30) COLLATE utf8_unicode_ci NOT NULL COMMENT '主机地址',
+ `port` int(10) NOT NULL COMMENT '端口',
+ `username` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '用户名',
+ `password` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '密码',
+ `tags` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '标签',
+ `cluster_id` bigint(20) DEFAULT NULL COMMENT '归属于哪个集群id',
+ `create_time` datetime DEFAULT NULL COMMENT '创建时间',
+ `ver` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '版本',
+ PRIMARY KEY (`id`),
+ KEY `idx_host` (`host`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `mysql_status_history`
+--
+
+DROP TABLE IF EXISTS `mysql_status_history`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mysql_status_history` (
+ `id` bigint(10) NOT NULL AUTO_INCREMENT,
+ `server_id` bigint(4) NOT NULL DEFAULT '0',
+ `uptime` varchar(50) NOT NULL DEFAULT '0',
+ `open_tables` int(4) NOT NULL DEFAULT '0' COMMENT '打开的表数量',
+ `threads_connected` int(10) NOT NULL DEFAULT '0' COMMENT '已连接的线程数',
+ `threads_running` int(10) NOT NULL DEFAULT '0' COMMENT '正在运行的线程数',
+ `threads_created` int(10) NOT NULL DEFAULT '0' COMMENT '已创建的线程数',
+ `threads_cached` int(10) NOT NULL DEFAULT '0' COMMENT '已缓存的线程数',
+ `connections` int(10) NOT NULL DEFAULT '0' COMMENT '连接数',
+ `aborted_clients` int(10) NOT NULL DEFAULT '0' COMMENT '中止的客户端数量',
+ `aborted_connects` int(10) NOT NULL DEFAULT '0' COMMENT '中止的连接数',
+ `bytes_received` bigint(10) NOT NULL DEFAULT '0' COMMENT '接受的数据量',
+ `bytes_received_persecond` varchar(50) NOT NULL DEFAULT '0' COMMENT '每秒接受的数据量',
+ `bytes_sent` bigint(10) NOT NULL DEFAULT '0' COMMENT '发送的数据量',
+ `bytes_sent_persecond` varchar(50) NOT NULL DEFAULT '0' COMMENT '每秒发送的数据量',
+ `com_select` bigint(11) NOT NULL DEFAULT '0' COMMENT 'select语句数量',
+ `com_select_persecond` varchar(50) NOT NULL DEFAULT '0' COMMENT '每秒select语句数量',
+ `com_insert` bigint(11) NOT NULL DEFAULT '0' COMMENT 'insert语句数量',
+ `com_insert_persecond` varchar(50) NOT NULL DEFAULT '0' COMMENT '每秒insert语句数量',
+ `com_update` bigint(11) NOT NULL DEFAULT '0' COMMENT 'update语句数量',
+ `com_update_persecond` varchar(50) NOT NULL DEFAULT '0' COMMENT '每秒update语句数量',
+ `com_delete` bigint(11) NOT NULL DEFAULT '0' COMMENT 'delete语句数量',
+ `com_delete_persecond` varchar(50) NOT NULL DEFAULT '0' COMMENT '每秒delete语句数量',
+ `com_commit` bigint(11) NOT NULL DEFAULT '0' COMMENT '事务提交数量',
+ `com_commit_persecond` varchar(50) NOT NULL DEFAULT '0' COMMENT '每秒事务提交数量',
+ `com_rollback` bigint(11) NOT NULL DEFAULT '0' COMMENT '事务回滚数量',
+ `com_rollback_persecond` varchar(50) NOT NULL DEFAULT '0' COMMENT '每秒事务回滚数量',
+ `questions` bigint(11) NOT NULL DEFAULT '0' COMMENT '请求数',
+ `questions_persecond` varchar(50) NOT NULL DEFAULT '0' COMMENT '每秒请求数',
+ `transactions` bigint(11) NOT NULL DEFAULT '0' COMMENT '事务数',
+ `transactions_persecond` varchar(50) NOT NULL DEFAULT '0' COMMENT '每秒事务数',
+ `created_tmp_tables` bigint(11) NOT NULL DEFAULT '0' COMMENT '创建临时表的数量',
+ `created_tmp_tables_persecond` varchar(50) NOT NULL DEFAULT '0' COMMENT '每秒创建临时表的数量',
+ `created_tmp_disk_tables` bigint(11) NOT NULL DEFAULT '0' COMMENT '创建临时磁盘表数量',
+ `created_tmp_disk_tables_persecond` varchar(50) NOT NULL DEFAULT '0' COMMENT '每秒创建临时磁盘表数量',
+ `created_tmp_files` bigint(11) NOT NULL DEFAULT '0' COMMENT '创建临时文件',
+ `created_tmp_files_persecond` varchar(50) NOT NULL DEFAULT '0' COMMENT '每秒创建临时文件',
+ `innodb_data_reads` bigint(10) NOT NULL DEFAULT '0' COMMENT '从文件中读取的次数',
+ `innodb_data_reads_persecond` varchar(50) NOT NULL DEFAULT '0' COMMENT '每秒从文件中读取的次数',
+ `innodb_data_writes` bigint(10) NOT NULL DEFAULT '0' COMMENT '从文件中写入的次数',
+ `innodb_data_writes_persecond` varchar(50) NOT NULL DEFAULT '0' COMMENT '每秒从文件中写入的次数',
+ `innodb_data_fsyncs` bigint(2) NOT NULL DEFAULT '0' COMMENT '进行fsync()操作的次数',
+ `innodb_data_fsyncs_persecond` varchar(50) NOT NULL DEFAULT '0' COMMENT '每秒进行fsync()操作的次数',
+ `innodb_data_read` bigint(2) NOT NULL DEFAULT '0' COMMENT '读取的数据量,单位为KB',
+ `innodb_data_read_persecond` varchar(50) NOT NULL DEFAULT '0' COMMENT '每秒读取的数据量,单位为KB',
+ `innodb_data_written` bigint(10) NOT NULL DEFAULT '0' COMMENT '写入的数据量,单位为KB',
+ `innodb_data_written_persecond` varchar(50) NOT NULL DEFAULT '0' COMMENT '每秒写入的数据量,单位为KB',
+ `innodb_buffer_pool_pages_dirty` bigint(10) NOT NULL DEFAULT '0' COMMENT '缓存池中脏页的数目-单位page',
+ `innodb_buffer_pool_pages_dirty_persecond` varchar(50) NOT NULL DEFAULT '0' COMMENT '每秒缓存池中生成脏页的数目-单位page',
+ `innodb_buffer_pool_pages_flushed` bigint(18) NOT NULL DEFAULT '0' COMMENT '缓存池中刷新页请求的数目-单位page',
+ `innodb_buffer_pool_pages_flushed_persecond` varchar(50) NOT NULL DEFAULT '0' COMMENT '每秒缓存池中刷新页请求的数目-单位page',
+ `innodb_buffer_read_hit_ratio` varchar(10) NOT NULL DEFAULT '0' COMMENT '缓冲池的读命中率: ( 1 - Innodb_buffer_pool_reads/Innodb_buffer_pool_read_requests) * 100',
+ `innodb_buffer_usage` varchar(10) NOT NULL DEFAULT '0' COMMENT '缓冲池的利用率 : ( 1 - Innodb_buffer_pool_pages_free / Innodb_buffer_pool_pages_total) * 100',
+ `innodb_rows_inserted` bigint(11) NOT NULL DEFAULT '0' COMMENT '从innodb表插入的行数',
+ `innodb_rows_inserted_persecond` varchar(10) NOT NULL DEFAULT '0' COMMENT '每秒从innodb表插入的行数',
+ `innodb_rows_updated` bigint(11) NOT NULL DEFAULT '0' COMMENT '从innodb表更新的行数',
+ `innodb_rows_updated_persecond` varchar(10) NOT NULL DEFAULT '0' COMMENT '每秒从innodb表更新的行数',
+ `innodb_rows_deleted` bigint(11) NOT NULL DEFAULT '0' COMMENT '从innodb表删除的行数',
+ `innodb_rows_deleted_persecond` varchar(10) NOT NULL DEFAULT '0' COMMENT '每秒从innodb表删除的行数',
+ `innodb_buffer_pool_pages_total` bigint(20) DEFAULT '0',
+ `innodb_buffer_pool_pages_free` bigint(20) DEFAULT '0',
+ `innodb_page_size` int(11) DEFAULT '16384',
+ `slow_queries` int(11) NOT NULL DEFAULT '0' COMMENT '慢查询数量',
+ `slave_delay` bigint(11) NOT NULL DEFAULT '0' COMMENT '备库延迟',
+ `create_time` datetime NOT NULL COMMENT '创建时间',
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `idx_server_id_create_time` (`server_id`,`create_time`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=77277 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `mysql_weak_password`
+--
+
+DROP TABLE IF EXISTS `mysql_weak_password`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mysql_weak_password` (
+ `id` bigint(20) NOT NULL AUTO_INCREMENT,
+ `plaintext` varchar(100) NOT NULL COMMENT '密码明文',
+ `ciphertext` varchar(200) NOT NULL COMMENT '密码密文',
+ PRIMARY KEY (`id`),
+ KEY `idx_ciphertext` (`ciphertext`)
+) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `sys_user`
+--
+
+DROP TABLE IF EXISTS `sys_user`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `sys_user` (
+ `id` bigint(20) NOT NULL AUTO_INCREMENT,
+ `username` varchar(50) NOT NULL COMMENT '用户名',
+ `password` varchar(50) NOT NULL COMMENT '密码(MD5密文)',
+ `create_time` datetime NOT NULL COMMENT '创建时间',
+ `modify_time` datetime NOT NULL COMMENT '修改时间',
+ PRIMARY KEY (`id`),
+ KEY `idx_username` (`username`),
+ KEY `idx_test` (`password`,`create_time`,`modify_time`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
+
+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
+
+-- Dump completed on 2018-05-05 15:37:17
diff --git a/build/mycat-eye20180511.sql b/build/mycat-eye20180511.sql
new file mode 100644
index 0000000000000000000000000000000000000000..eaf667ea1a0e8e08a8b8ecfdcbd001750c49261d
--- /dev/null
+++ b/build/mycat-eye20180511.sql
@@ -0,0 +1,556 @@
+-- MySQL dump 10.13 Distrib 5.7.17, for macos10.12 (x86_64)
+--
+-- Host: 120.24.54.175 Database: mycat_eye
+-- ------------------------------------------------------
+-- Server version 5.7.21-log
+
+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
+/*!40101 SET NAMES utf8 */;
+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
+/*!40103 SET TIME_ZONE='+00:00' */;
+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
+
+--
+-- Table structure for table `mycat_backend`
+--
+
+DROP TABLE IF EXISTS `mycat_backend`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mycat_backend` (
+ `id` int(11) NOT NULL,
+ `processor` varchar(45) DEFAULT NULL,
+ `mysqlId` int(11) DEFAULT NULL,
+ `c_host` varchar(45) DEFAULT NULL,
+ `c_port` int(11) DEFAULT NULL,
+ `l_port` int(11) DEFAULT NULL COMMENT '本地端口',
+ `net_in` bigint(22) DEFAULT NULL,
+ `net_out` bigint(22) DEFAULT NULL,
+ `life` bigint(22) DEFAULT NULL,
+ `closed` varchar(10) DEFAULT NULL,
+ `borrowed` varchar(10) DEFAULT NULL,
+ `send_queue` int(11) DEFAULT NULL,
+ `c_schema` varchar(100) DEFAULT NULL,
+ `c_charset` varchar(45) DEFAULT NULL,
+ `txlevel` varchar(2) DEFAULT NULL,
+ `autocommit` varchar(10) DEFAULT NULL,
+ `mycat_id` int(11) DEFAULT NULL,
+ `collect_time` bigint(22) DEFAULT NULL,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=latin1;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `mycat_cache`
+--
+
+DROP TABLE IF EXISTS `mycat_cache`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mycat_cache` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `cache` varchar(100) DEFAULT NULL COMMENT 'CACHE',
+ `c_max` int(11) DEFAULT NULL COMMENT 'MAX',
+ `cur` int(11) DEFAULT NULL COMMENT 'CUR',
+ `access` int(11) DEFAULT NULL COMMENT 'ACCESS',
+ `hit` int(11) DEFAULT NULL COMMENT 'HIT',
+ `put` int(11) DEFAULT NULL COMMENT 'PUT',
+ `last_access` int(11) DEFAULT NULL COMMENT 'LAST_ACCESS',
+ `last_put` int(11) DEFAULT NULL COMMENT 'LAST_PUT',
+ `server_id` int(11) DEFAULT NULL,
+ `collect_time` bigint(22) DEFAULT NULL,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=latin1;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `mycat_cluster`
+--
+
+DROP TABLE IF EXISTS `mycat_cluster`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mycat_cluster` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `cluster_name` varchar(100) DEFAULT NULL,
+ `cluster_host` varchar(100) DEFAULT NULL,
+ `cluster_port` int(11) DEFAULT NULL,
+ `create_time` bigint(22) DEFAULT NULL,
+ `last_update_time` bigint(22) DEFAULT NULL,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `mycat_connection`
+--
+
+DROP TABLE IF EXISTS `mycat_connection`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mycat_connection` (
+ `id` int(11) NOT NULL,
+ `processor` varchar(45) DEFAULT NULL,
+ `c_host` varchar(45) DEFAULT NULL,
+ `c_port` int(11) DEFAULT NULL,
+ `l_port` int(11) DEFAULT NULL COMMENT '本地端口',
+ `net_in` bigint(22) DEFAULT NULL,
+ `net_out` bigint(22) DEFAULT NULL,
+ `c_user` varchar(45) DEFAULT NULL,
+ `c_schema` varchar(100) DEFAULT NULL,
+ `c_charset` varchar(45) DEFAULT NULL,
+ `alive_time` bigint(22) DEFAULT NULL,
+ `recv_buffer` int(11) DEFAULT NULL,
+ `send_queue` int(11) DEFAULT NULL,
+ `txlevel` varchar(2) DEFAULT NULL,
+ `autocommit` varchar(10) DEFAULT NULL,
+ `mycat_id` int(11) DEFAULT NULL,
+ `collect_time` bigint(22) DEFAULT NULL,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=latin1;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `mycat_datanode`
+--
+
+DROP TABLE IF EXISTS `mycat_datanode`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mycat_datanode` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `name` varchar(45) DEFAULT NULL,
+ `datahost` varchar(100) DEFAULT NULL,
+ `d_index` int(11) DEFAULT NULL,
+ `d_type` varchar(45) DEFAULT NULL,
+ `d_active` int(11) DEFAULT NULL,
+ `d_idle` int(11) DEFAULT NULL,
+ `d_size` int(11) DEFAULT NULL,
+ `d_execute` bigint(22) DEFAULT NULL,
+ `total_time` double DEFAULT NULL,
+ `max_time` double DEFAULT NULL,
+ `max_sql` bigint(22) DEFAULT NULL,
+ `recovery_time` bigint(22) DEFAULT NULL,
+ `collect_time` bigint(20) DEFAULT NULL,
+ `server_id` int(11) DEFAULT NULL,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=366 DEFAULT CHARSET=latin1;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `mycat_directmemory`
+--
+
+DROP TABLE IF EXISTS `mycat_directmemory`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mycat_directmemory` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `thread_id` bigint(22) DEFAULT NULL COMMENT 'THREAD_ID',
+ `mem_use_type` varchar(45) DEFAULT NULL COMMENT 'MEM_USE_TYPE',
+ `m_size` varchar(45) DEFAULT NULL COMMENT 'SIZE',
+ `mdirect_memory_maxed` varchar(45) DEFAULT NULL COMMENT 'MDIRECT_MEMORY_MAXED',
+ `direct_memory_used` varchar(45) DEFAULT NULL COMMENT 'DIRECT_MEMORY_USED',
+ `direct_memory_available` varchar(45) DEFAULT NULL COMMENT 'DIRECT_MEMORY_AVAILABLE',
+ `safety_fraction` float DEFAULT NULL COMMENT 'SAFETY_FRACTION',
+ `direct_memory_reserved` varchar(45) DEFAULT NULL COMMENT 'DIRECT_MEMORY_RESERVED',
+ `server_id` int(11) DEFAULT NULL,
+ `collect_time` bigint(22) DEFAULT NULL,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=150 DEFAULT CHARSET=latin1;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `mycat_server`
+--
+
+DROP TABLE IF EXISTS `mycat_server`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mycat_server` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `server_name` varchar(100) DEFAULT NULL,
+ `server_host` varchar(100) DEFAULT NULL,
+ `manager_port` int(11) DEFAULT NULL,
+ `server_port` int(11) DEFAULT NULL,
+ `startup` bigint(20) DEFAULT NULL COMMENT '启动时间(时间戳)',
+ `user` varchar(45) DEFAULT NULL,
+ `password` varchar(62) DEFAULT NULL,
+ `cluster_id` int(11) DEFAULT NULL,
+ `is_cluster_node` tinyint(4) DEFAULT NULL,
+ `create_time` bigint(22) DEFAULT NULL,
+ `last_update_time` bigint(22) DEFAULT NULL,
+ `startup_history` tinytext COMMENT '逗号分割的时间戳,记录历史启动时间',
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `id_UNIQUE` (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `mycat_server_status`
+--
+
+DROP TABLE IF EXISTS `mycat_server_status`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mycat_server_status` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `mycat_id` int(11) DEFAULT NULL,
+ `uptime` varchar(45) DEFAULT NULL COMMENT '16h 32m 55s',
+ `used_memory` bigint(22) DEFAULT NULL,
+ `total_memory` bigint(22) DEFAULT NULL,
+ `max_memory` bigint(22) DEFAULT NULL,
+ `reload_time` bigint(20) DEFAULT NULL COMMENT 'TIMESTAMP',
+ `rollback_time` bigint(20) DEFAULT NULL COMMENT 'TIMESTAMP',
+ `charset` varchar(45) DEFAULT NULL,
+ `status` varchar(45) DEFAULT NULL COMMENT 'ON|OFF',
+ `collect_time` bigint(20) DEFAULT NULL,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=246 DEFAULT CHARSET=latin1;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `mycat_sql`
+--
+
+DROP TABLE IF EXISTS `mycat_sql`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mycat_sql` (
+ `sid` bigint(22) NOT NULL AUTO_INCREMENT,
+ `id` bigint(22) DEFAULT NULL,
+ `c_user` varchar(45) DEFAULT NULL,
+ `start_time` bigint(20) DEFAULT NULL COMMENT '时间戳',
+ `execute_time` bigint(22) DEFAULT NULL,
+ `c_sql` longtext,
+ `server_id` int(11) DEFAULT NULL,
+ `collect_time` bigint(22) DEFAULT NULL,
+ `startup_time` bigint(22) DEFAULT NULL,
+ PRIMARY KEY (`sid`)
+) ENGINE=InnoDB AUTO_INCREMENT=1816 DEFAULT CHARSET=latin1;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `mycat_sql_detail`
+--
+
+DROP TABLE IF EXISTS `mycat_sql_detail`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mycat_sql_detail` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `data_source` varchar(45) DEFAULT NULL,
+ `execute` bigint(22) DEFAULT NULL,
+ `time` double DEFAULT NULL,
+ `last_execute_timestamp` bigint(20) DEFAULT NULL COMMENT '时间戳',
+ `last_time` double DEFAULT NULL,
+ `sql_id` bigint(22) DEFAULT NULL,
+ `server_id` int(11) DEFAULT NULL,
+ `collect_time` bigint(22) DEFAULT NULL,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=1983 DEFAULT CHARSET=latin1;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `mycat_sql_execute`
+--
+
+DROP TABLE IF EXISTS `mycat_sql_execute`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mycat_sql_execute` (
+ `sql_id` bigint(22) NOT NULL,
+ `sql_execute` bigint(22) DEFAULT NULL,
+ `sql_time` double DEFAULT NULL,
+ `max_time` double DEFAULT NULL,
+ `min_time` double DEFAULT NULL,
+ `server_id` int(11) DEFAULT NULL COMMENT '服务节点ID',
+ `collect_time` bigint(22) DEFAULT NULL,
+ PRIMARY KEY (`sql_id`)
+) ENGINE=InnoDB DEFAULT CHARSET=latin1;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `mycat_sql_high`
+--
+
+DROP TABLE IF EXISTS `mycat_sql_high`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mycat_sql_high` (
+ `sid` bigint(22) NOT NULL AUTO_INCREMENT,
+ `id` bigint(22) DEFAULT NULL,
+ `c_user` varchar(45) DEFAULT NULL,
+ `frequency` bigint(22) DEFAULT NULL COMMENT 'FREQUENCY',
+ `avg_time` bigint(22) DEFAULT NULL,
+ `max_time` bigint(22) DEFAULT NULL,
+ `min_time` bigint(22) DEFAULT NULL,
+ `execute_time` bigint(22) DEFAULT NULL,
+ `last_time` bigint(20) DEFAULT NULL,
+ `c_sql` longtext,
+ `server_id` int(11) DEFAULT NULL,
+ `collect_time` bigint(22) DEFAULT NULL,
+ `startup_time` bigint(22) DEFAULT NULL,
+ PRIMARY KEY (`sid`)
+) ENGINE=InnoDB AUTO_INCREMENT=706 DEFAULT CHARSET=latin1;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `mycat_sql_large`
+--
+
+DROP TABLE IF EXISTS `mycat_sql_large`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mycat_sql_large` (
+ `id` bigint(22) NOT NULL AUTO_INCREMENT,
+ `sql_user` varchar(45) DEFAULT NULL,
+ `rows` bigint(22) DEFAULT NULL,
+ `start_time` bigint(22) DEFAULT NULL,
+ `execute_time` bigint(22) DEFAULT NULL,
+ `c_sql` longtext,
+ `server_id` int(11) DEFAULT NULL,
+ `collect_time` bigint(22) DEFAULT NULL,
+ `startup_time` bigint(22) DEFAULT NULL,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `mycat_sql_large_rs`
+--
+
+DROP TABLE IF EXISTS `mycat_sql_large_rs`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mycat_sql_large_rs` (
+ `sid` bigint(22) NOT NULL AUTO_INCREMENT,
+ `id` bigint(22) DEFAULT NULL,
+ `sql_user` varchar(45) DEFAULT NULL,
+ `frequency` bigint(22) DEFAULT NULL COMMENT 'FREQUENCY',
+ `c_sql` longtext,
+ `resultset_size` bigint(22) DEFAULT NULL,
+ `server_id` int(11) DEFAULT NULL,
+ `collect_time` bigint(22) DEFAULT NULL,
+ `startup_time` bigint(22) DEFAULT NULL,
+ PRIMARY KEY (`sid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `mycat_sql_slow`
+--
+
+DROP TABLE IF EXISTS `mycat_sql_slow`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mycat_sql_slow` (
+ `id` bigint(22) NOT NULL AUTO_INCREMENT,
+ `c_user` varchar(45) DEFAULT NULL,
+ `datasource` varchar(100) DEFAULT NULL,
+ `start_time` bigint(20) DEFAULT NULL,
+ `execute_time` bigint(22) DEFAULT NULL,
+ `c_sql` longtext,
+ `server_id` int(11) DEFAULT NULL,
+ `collect_time` bigint(22) DEFAULT NULL,
+ `startup_time` bigint(22) DEFAULT NULL,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `mycat_sql_sum`
+--
+
+DROP TABLE IF EXISTS `mycat_sql_sum`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mycat_sql_sum` (
+ `sid` int(11) NOT NULL AUTO_INCREMENT,
+ `id` bigint(22) NOT NULL,
+ `c_user` varchar(45) DEFAULT NULL,
+ `r` bigint(22) DEFAULT NULL,
+ `w` bigint(22) DEFAULT NULL,
+ `r_p` float DEFAULT NULL,
+ `sql_max` bigint(22) DEFAULT NULL,
+ `net_in` bigint(22) DEFAULT NULL,
+ `net_out` bigint(22) DEFAULT NULL,
+ `time_count` varchar(100) DEFAULT NULL,
+ `ttl_count` varchar(100) DEFAULT NULL,
+ `last_time` bigint(20) DEFAULT NULL COMMENT '时间戳',
+ `sql_table` varchar(100) DEFAULT NULL,
+ `relatable` varchar(100) DEFAULT NULL,
+ `relacount` varchar(100) DEFAULT NULL,
+ `collect_type` char(1) DEFAULT NULL COMMENT '0:all | 1:user | 2:table',
+ `server_id` int(11) DEFAULT NULL COMMENT 'mycat 节点id',
+ `collect_time` bigint(22) DEFAULT NULL,
+ PRIMARY KEY (`sid`,`id`),
+ UNIQUE KEY `sid_UNIQUE` (`sid`)
+) ENGINE=InnoDB AUTO_INCREMENT=385 DEFAULT CHARSET=latin1;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `mysql_cluster`
+--
+
+DROP TABLE IF EXISTS `mysql_cluster`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mysql_cluster` (
+ `id` bigint(20) NOT NULL AUTO_INCREMENT,
+ `name` varchar(50) NOT NULL COMMENT '集群名称',
+ `create_time` datetime NOT NULL COMMENT '创建时间',
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `mysql_server`
+--
+
+DROP TABLE IF EXISTS `mysql_server`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mysql_server` (
+ `id` bigint(10) NOT NULL AUTO_INCREMENT,
+ `host` varchar(30) COLLATE utf8_unicode_ci NOT NULL COMMENT '主机地址',
+ `port` int(10) NOT NULL COMMENT '端口',
+ `username` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '用户名',
+ `password` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '密码',
+ `tags` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '标签',
+ `cluster_id` bigint(20) DEFAULT NULL COMMENT '归属于哪个集群id',
+ `create_time` datetime DEFAULT NULL COMMENT '创建时间',
+ `ver` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '版本',
+ PRIMARY KEY (`id`),
+ KEY `idx_host` (`host`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `mysql_status_history`
+--
+
+DROP TABLE IF EXISTS `mysql_status_history`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mysql_status_history` (
+ `id` bigint(10) NOT NULL AUTO_INCREMENT,
+ `server_id` bigint(4) NOT NULL DEFAULT '0',
+ `uptime` varchar(50) NOT NULL DEFAULT '0',
+ `open_tables` int(4) NOT NULL DEFAULT '0' COMMENT '打开的表数量',
+ `threads_connected` int(10) NOT NULL DEFAULT '0' COMMENT '已连接的线程数',
+ `threads_running` int(10) NOT NULL DEFAULT '0' COMMENT '正在运行的线程数',
+ `threads_created` int(10) NOT NULL DEFAULT '0' COMMENT '已创建的线程数',
+ `threads_cached` int(10) NOT NULL DEFAULT '0' COMMENT '已缓存的线程数',
+ `connections` int(10) NOT NULL DEFAULT '0' COMMENT '连接数',
+ `aborted_clients` int(10) NOT NULL DEFAULT '0' COMMENT '中止的客户端数量',
+ `aborted_connects` int(10) NOT NULL DEFAULT '0' COMMENT '中止的连接数',
+ `bytes_received` bigint(10) NOT NULL DEFAULT '0' COMMENT '接受的数据量',
+ `bytes_received_persecond` varchar(50) NOT NULL DEFAULT '0' COMMENT '每秒接受的数据量',
+ `bytes_sent` bigint(10) NOT NULL DEFAULT '0' COMMENT '发送的数据量',
+ `bytes_sent_persecond` varchar(50) NOT NULL DEFAULT '0' COMMENT '每秒发送的数据量',
+ `com_select` bigint(11) NOT NULL DEFAULT '0' COMMENT 'select语句数量',
+ `com_select_persecond` varchar(50) NOT NULL DEFAULT '0' COMMENT '每秒select语句数量',
+ `com_insert` bigint(11) NOT NULL DEFAULT '0' COMMENT 'insert语句数量',
+ `com_insert_persecond` varchar(50) NOT NULL DEFAULT '0' COMMENT '每秒insert语句数量',
+ `com_update` bigint(11) NOT NULL DEFAULT '0' COMMENT 'update语句数量',
+ `com_update_persecond` varchar(50) NOT NULL DEFAULT '0' COMMENT '每秒update语句数量',
+ `com_delete` bigint(11) NOT NULL DEFAULT '0' COMMENT 'delete语句数量',
+ `com_delete_persecond` varchar(50) NOT NULL DEFAULT '0' COMMENT '每秒delete语句数量',
+ `com_commit` bigint(11) NOT NULL DEFAULT '0' COMMENT '事务提交数量',
+ `com_commit_persecond` varchar(50) NOT NULL DEFAULT '0' COMMENT '每秒事务提交数量',
+ `com_rollback` bigint(11) NOT NULL DEFAULT '0' COMMENT '事务回滚数量',
+ `com_rollback_persecond` varchar(50) NOT NULL DEFAULT '0' COMMENT '每秒事务回滚数量',
+ `questions` bigint(11) NOT NULL DEFAULT '0' COMMENT '请求数',
+ `questions_persecond` varchar(50) NOT NULL DEFAULT '0' COMMENT '每秒请求数',
+ `transactions` bigint(11) NOT NULL DEFAULT '0' COMMENT '事务数',
+ `transactions_persecond` varchar(50) NOT NULL DEFAULT '0' COMMENT '每秒事务数',
+ `created_tmp_tables` bigint(11) NOT NULL DEFAULT '0' COMMENT '创建临时表的数量',
+ `created_tmp_tables_persecond` varchar(50) NOT NULL DEFAULT '0' COMMENT '每秒创建临时表的数量',
+ `created_tmp_disk_tables` bigint(11) NOT NULL DEFAULT '0' COMMENT '创建临时磁盘表数量',
+ `created_tmp_disk_tables_persecond` varchar(50) NOT NULL DEFAULT '0' COMMENT '每秒创建临时磁盘表数量',
+ `created_tmp_files` bigint(11) NOT NULL DEFAULT '0' COMMENT '创建临时文件',
+ `created_tmp_files_persecond` varchar(50) NOT NULL DEFAULT '0' COMMENT '每秒创建临时文件',
+ `innodb_data_reads` bigint(10) NOT NULL DEFAULT '0' COMMENT '从文件中读取的次数',
+ `innodb_data_reads_persecond` varchar(50) NOT NULL DEFAULT '0' COMMENT '每秒从文件中读取的次数',
+ `innodb_data_writes` bigint(10) NOT NULL DEFAULT '0' COMMENT '从文件中写入的次数',
+ `innodb_data_writes_persecond` varchar(50) NOT NULL DEFAULT '0' COMMENT '每秒从文件中写入的次数',
+ `innodb_data_fsyncs` bigint(2) NOT NULL DEFAULT '0' COMMENT '进行fsync()操作的次数',
+ `innodb_data_fsyncs_persecond` varchar(50) NOT NULL DEFAULT '0' COMMENT '每秒进行fsync()操作的次数',
+ `innodb_data_read` bigint(2) NOT NULL DEFAULT '0' COMMENT '读取的数据量,单位为KB',
+ `innodb_data_read_persecond` varchar(50) NOT NULL DEFAULT '0' COMMENT '每秒读取的数据量,单位为KB',
+ `innodb_data_written` bigint(10) NOT NULL DEFAULT '0' COMMENT '写入的数据量,单位为KB',
+ `innodb_data_written_persecond` varchar(50) NOT NULL DEFAULT '0' COMMENT '每秒写入的数据量,单位为KB',
+ `innodb_buffer_pool_pages_dirty` bigint(10) NOT NULL DEFAULT '0' COMMENT '缓存池中脏页的数目-单位page',
+ `innodb_buffer_pool_pages_dirty_persecond` varchar(50) NOT NULL DEFAULT '0' COMMENT '每秒缓存池中生成脏页的数目-单位page',
+ `innodb_buffer_pool_pages_flushed` bigint(18) NOT NULL DEFAULT '0' COMMENT '缓存池中刷新页请求的数目-单位page',
+ `innodb_buffer_pool_pages_flushed_persecond` varchar(50) NOT NULL DEFAULT '0' COMMENT '每秒缓存池中刷新页请求的数目-单位page',
+ `innodb_buffer_read_hit_ratio` varchar(10) NOT NULL DEFAULT '0' COMMENT '缓冲池的读命中率: ( 1 - Innodb_buffer_pool_reads/Innodb_buffer_pool_read_requests) * 100',
+ `innodb_buffer_usage` varchar(10) NOT NULL DEFAULT '0' COMMENT '缓冲池的利用率 : ( 1 - Innodb_buffer_pool_pages_free / Innodb_buffer_pool_pages_total) * 100',
+ `innodb_rows_inserted` bigint(11) NOT NULL DEFAULT '0' COMMENT '从innodb表插入的行数',
+ `innodb_rows_inserted_persecond` varchar(10) NOT NULL DEFAULT '0' COMMENT '每秒从innodb表插入的行数',
+ `innodb_rows_updated` bigint(11) NOT NULL DEFAULT '0' COMMENT '从innodb表更新的行数',
+ `innodb_rows_updated_persecond` varchar(10) NOT NULL DEFAULT '0' COMMENT '每秒从innodb表更新的行数',
+ `innodb_rows_deleted` bigint(11) NOT NULL DEFAULT '0' COMMENT '从innodb表删除的行数',
+ `innodb_rows_deleted_persecond` varchar(10) NOT NULL DEFAULT '0' COMMENT '每秒从innodb表删除的行数',
+ `innodb_buffer_pool_pages_total` bigint(20) DEFAULT '0',
+ `innodb_buffer_pool_pages_free` bigint(20) DEFAULT '0',
+ `innodb_page_size` int(11) DEFAULT '16384',
+ `slow_queries` int(11) NOT NULL DEFAULT '0' COMMENT '慢查询数量',
+ `slave_delay` bigint(11) NOT NULL DEFAULT '0' COMMENT '备库延迟',
+ `create_time` datetime NOT NULL COMMENT '创建时间',
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `idx_server_id_create_time` (`server_id`,`create_time`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=77277 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `mysql_weak_password`
+--
+
+DROP TABLE IF EXISTS `mysql_weak_password`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mysql_weak_password` (
+ `id` bigint(20) NOT NULL AUTO_INCREMENT,
+ `plaintext` varchar(100) NOT NULL COMMENT '密码明文',
+ `ciphertext` varchar(200) NOT NULL COMMENT '密码密文',
+ PRIMARY KEY (`id`),
+ KEY `idx_ciphertext` (`ciphertext`)
+) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `sys_user`
+--
+
+DROP TABLE IF EXISTS `sys_user`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `sys_user` (
+ `id` bigint(20) NOT NULL AUTO_INCREMENT,
+ `username` varchar(50) NOT NULL COMMENT '用户名',
+ `password` varchar(50) NOT NULL COMMENT '密码(MD5密文)',
+ `create_time` datetime NOT NULL COMMENT '创建时间',
+ `modify_time` datetime NOT NULL COMMENT '修改时间',
+ PRIMARY KEY (`id`),
+ KEY `idx_username` (`username`),
+ KEY `idx_test` (`password`,`create_time`,`modify_time`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
+
+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
+
+-- Dump completed on 2018-05-11 20:57:14
diff --git a/build/mycateye-agent-0.8.jar b/build/mycateye-agent-0.8.jar
deleted file mode 100644
index ff39b306c27f4b0a0544ae09de754e115d5dced3..0000000000000000000000000000000000000000
Binary files a/build/mycateye-agent-0.8.jar and /dev/null differ
diff --git a/build/mycateye-web-0.8.jar b/build/mycateye-web-0.8.jar
deleted file mode 100644
index 13e0a625b71ac9afd3249392f68b18cae8428542..0000000000000000000000000000000000000000
Binary files a/build/mycateye-web-0.8.jar and /dev/null differ
diff --git a/doc/README.md b/doc/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..2d8c41ab67f42dbc3d095772142f4fb6494542b9
--- /dev/null
+++ b/doc/README.md
@@ -0,0 +1,280 @@
+# Mycat-eye 监控平台
+
+监控平台分为三大功能模块(MyCat监控、MySql监控、可视化配置)。监控数据从MyCat管理端口获取信息:
+
+```sql
+mysql> show @@help;
++------------------------------------------+--------------------------------------------+
+| STATEMENT | DESCRIPTION |
++------------------------------------------+--------------------------------------------+
+| show @@time.current | Report current timestamp |
+| show @@time.startup | Report startup timestamp |
+| show @@version | Report Mycat Server version |
+| show @@server | Report server status |√
+| show @@threadpool | Report threadPool status |
+| show @@database | Report databases |
+| show @@datanode | Report dataNodes |
+| show @@datanode where schema = ? | Report dataNodes |
+| show @@datasource | Report dataSources |
+| show @@datasource where dataNode = ? | Report dataSources |
+| show @@datasource.synstatus | Report datasource data synchronous |
+| show @@datasource.syndetail where name=? | Report datasource data synchronous detail |
+| show @@datasource.cluster | Report datasource galary cluster variables |
+| show @@processor | Report processor status |
+| show @@command | Report commands status |
+| show @@connection | Report connection status |√
+| show @@cache | Report system cache usage |.
+| show @@backend | Report backend connection status |√
+| show @@session | Report front session details |
+| show @@connection.sql | Report connection sql |√跟踪当前应用执行sql情况
+| show @@sql.execute | Report execute status |√
+| show @@sql.detail where id = ? | Report execute detail status |√
+| show @@sql | Report SQL list |√
+| show @@sql.high | Report Hight Frequency SQL |√
+| show @@sql.slow | Report slow SQL |√
+| show @@sql.resultset | Report BIG RESULTSET SQL |√
+| show @@sql.sum | Report User RW Stat |√
+| show @@sql.sum.user | Report User RW Stat |√
+| show @@sql.sum.table | Report Table RW Stat |√
+| show @@parser | Report parser status |
+| show @@router | Report router status |
+| show @@heartbeat | Report heartbeat status |
+| show @@heartbeat.detail where name=? | Report heartbeat current detail |
+| show @@slow where schema = ? | Report schema slow sql |
+| show @@slow where datanode = ? | Report datanode slow sql |
+| show @@sysparam | Report system param |
+| show @@syslog limit=? | Report system mycat.log |
+| show @@white | show mycat white host |
+| show @@white.set=?,? | set mycat white host,[ip,user] |
+| show @@directmemory=1 or 2 | show mycat direct memory usage |
+| switch @@datasource name:index | Switch dataSource |
+| kill @@connection id1,id2,... | Kill the specified connections |
+| stop @@heartbeat name:time | Pause dataNode heartbeat |
+| reload @@config | Reload basic config from file |
+| reload @@config_all | Reload all config from file |*
+| reload @@route | Reload route config from file |
+| reload @@user | Reload user config from file |
+| reload @@sqlslow= | Set Slow SQL Time(ms) |
+| reload @@user_stat | Reset show @@sql @@sql.sum @@sql.slow |
+| rollback @@config | Rollback all config from memory |
+| rollback @@route | Rollback route config from memory |
+| rollback @@user | Rollback user config from memory |
+| reload @@sqlstat=open | Open real-time sql stat analyzer |
+| reload @@sqlstat=close | Close real-time sql stat analyzer |
+| offline | Change MyCat status to OFF |
+| online | Change MyCat status to ON |
+| clear @@slow where schema = ? | Clear slow sql by schema |
+| clear @@slow where datanode = ? | Clear slow sql by datanode |
++------------------------------------------+--------------------------------------------+
+```
+
+## Mycat 监控
+### Mycat服务
+#### Mycat 内存分析 √
+```sql
+mysql> show @@server;
++--------------+-------------+--------------+------------+---------------+---------------+---------+--------+
+| UPTIME | USED_MEMORY | TOTAL_MEMORY | MAX_MEMORY | RELOAD_TIME | ROLLBACK_TIME | CHARSET | STATUS |
++--------------+-------------+--------------+------------+---------------+---------------+---------+--------+
+| 16h 32m 55s | 90145912 | 182976512 | 1908932608 | 1524574388986 | -1 | utf8 | ON |
++--------------+-------------+--------------+------------+---------------+---------------+---------+--------+
+```
+
+```sql
+mysql> show @@directmemory=1 or 2 ;
++----------------------+--------------------+-------------------------+-----------------+------------------------+
+| MDIRECT_MEMORY_MAXED | DIRECT_MEMORY_USED | DIRECT_MEMORY_AVAILABLE | SAFETY_FRACTION | DIRECT_MEMORY_RESERVED |
++----------------------+--------------------+-------------------------+-----------------+------------------------+
+| 1820MB | 64KB | 1274MB | 0.7 | 450MB |
++----------------------+--------------------+-------------------------+-----------------+------------------------+
+```
+
+#### Mycat 连接分析 √
+* 前端
+```sql
+mysql> show @@connection;
++------------+------+-----------+------+------------+------+--------+---------+--------+---------+---------------+-------------+------------+---------+------------+
+| PROCESSOR | ID | HOST | PORT | LOCAL_PORT | USER | SCHEMA | CHARSET | NET_IN | NET_OUT | ALIVE_TIME(S) | RECV_BUFFER | SEND_QUEUE | txlevel | autocommit |
++------------+------+-----------+------+------------+------+--------+---------+--------+---------+---------------+-------------+------------+---------+------------+
+| Processor1 | 1 | 127.0.0.1 | 9066 | 61721 | root | NULL | utf8:33 | 378 | 5399 | 1298 | 4096 | 0 | | |
++------------+------+-----------+------+------------+------+--------+---------+--------+---------+---------------+-------------+------------+---------+------------+
+```
+
+* 后端
+```sql
+mysql> show @@backend;
++------------+------+---------+---------------+------+--------+--------+---------+------+--------+----------+------------+--------+----------+---------+------------+
+| processor | id | mysqlId | host | port | l_port | net_in | net_out | life | closed | borrowed | SEND_QUEUE | schema | charset | txlevel | autocommit |
++------------+------+---------+---------------+------+--------+--------+---------+------+--------+----------+------------+--------+----------+---------+------------+
+| Processor0 | 48 | 597 | 127.0.0.1 | 3308 | 61152 | 2226 | 552 | 1919 | false | false | 0 | db3 | latin1:5 | 3 | true |
+| Processor0 | 52 | 632 | 127.0.0.1 | 3307 | 61398 | 1831 | 462 | 1746 | false | false | 0 | db3 | latin1:5 | 3 | true |
+```
+
+#### Mycat 缓存
+```sql
+mysql> show @@cache;
++-------------------------------------+-------+------+--------+------+------+-------------+----------+
+| CACHE | MAX | CUR | ACCESS | HIT | PUT | LAST_ACCESS | LAST_PUT |
++-------------------------------------+-------+------+--------+------+------+-------------+----------+
+| ER_SQL2PARENTID | 1000 | 0 | 0 | 0 | 0 | 0 | 0 |
+| SQLRouteCache | 10000 | 0 | 0 | 0 | 0 | 0 | 0 |
+| TableID2DataNodeCache.TESTDB_ORDERS | 50000 | 0 | 0 | 0 | 0 | 0 | 0 |
++-------------------------------------+-------+------+--------+------+------+-------------+----------+
+```
+
+### 数据源
+```sql
+mysql> show @@datasource;
++----------+--------+-------+---------------+------+------+--------+------+------+---------+-----------+------------+
+| DATANODE | NAME | TYPE | HOST | PORT | W/R | ACTIVE | IDLE | SIZE | EXECUTE | READ_LOAD | WRITE_LOAD |
++----------+--------+-------+---------------+------+------+--------+------+------+---------+-----------+------------+
+| dn1 | hostM1 | mysql | 127.0.0.1 | 3306 | W | 0 | 0 | 1000 | 0 | 0 | 0 |
+| dn1 | hostS1 | mysql | 127.0.0.1 | 3308 | W | 0 | 8 | 1000 | 895 | 0 | 0 |
+| dn1 | hostS2 | mysql | 127.0.0.1 | 3307 | R | 0 | 8 | 1000 | 893 | 0 | 0 |
+| dn3 | hostM1 | mysql | 127.0.0.1 | 3306 | W | 0 | 0 | 1000 | 0 | 0 | 0 |
+| dn3 | hostS1 | mysql | 127.0.0.1 | 3308 | W | 0 | 8 | 1000 | 895 | 0 | 0 |
+| dn3 | hostS2 | mysql | 127.0.0.1 | 3307 | R | 0 | 8 | 1000 | 893 | 0 | 0 |
+| dn2 | hostM1 | mysql | 127.0.0.1 | 3306 | W | 0 | 0 | 1000 | 0 | 0 | 0 |
+| dn2 | hostS1 | mysql | 127.0.0.1 | 3308 | W | 0 | 8 | 1000 | 895 | 0 | 0 |
+| dn2 | hostS2 | mysql | 127.0.0.1 | 3307 | R | 0 | 8 | 1000 | 893 | 0 | 0 |
++----------+--------+-------+---------------+------+------+--------+------+------+---------+-----------+------------+
+```
+
+### 数据节点
+```sql
+
+```
+
+### SQL 监控
+#### sql 执行信息 √
+```sql
+mysql> show @@sql.execute;
++--------+---------+-------+----------+----------+
+| SQL_ID | EXECUTE | TIME | MAX_TIME | MIN_TIME |
++--------+---------+-------+----------+----------+
+| 1000 | 100 | 898.9 | 8.8 | 1 |
+| 2000 | 100 | 898.9 | 8.8 | 1 |
+| 3000 | 100 | 898.9 | 8.8 | 1 |
++--------+---------+-------+----------+----------+
+```
+
+#### sql 执行信息明细 √
+```sql
+mysql> show @@sql.detail where id = 2000;
++-------------+---------+------+------------------------+-----------+
+| DATA_SOURCE | EXECUTE | TIME | LAST_EXECUTE_TIMESTAMP | LAST_TIME |
++-------------+---------+------+------------------------+-----------+
+| mysql_1 | 123 | 2.3 | 1279188420682 | 3.42 |
+| mysql_1 | 123 | 2.3 | 1279188420682 | 3.42 |
+| mysql_1 | 123 | 2.3 | 1279188420682 | 3.42 |
++-------------+---------+------+------------------------+-----------+
+```
+
+
+#### 显示sql列表 √
+查询用户最近执行的SQL记录
+```sql
+mysql> show @@sql;
++------+------+---------------+--------------+-------------------------------------------+
+| ID | USER | START_TIME | EXECUTE_TIME | SQL |
++------+------+---------------+--------------+-------------------------------------------+
+| 1 | root | 1524583496990 | 597 | insert into hotnews(id,nm) values(6,'nm') |
++------+------+---------------+--------------+-------------------------------------------+
+```
+* START_TIME long
+* EXECUTE_TIME long
+
+#### Report Hight Frequency SQL √
+高频 SQL
+```sql
+mysql> show @@sql.high;
++------+------+-----------+----------+----------+----------+--------------+---------------+--------------------------------------------+
+| ID | USER | FREQUENCY | AVG_TIME | MAX_TIME | MIN_TIME | EXECUTE_TIME | LAST_TIME | SQL |
++------+------+-----------+----------+----------+----------+--------------+---------------+--------------------------------------------+
+| 1 | root | 1 | 597 | 597 | 597 | 597 | 1524583497587 | INSERT INTO hotnews (id, nm) VALUES (?, ?) |
++------+------+-----------+----------+----------+----------+--------------+---------------+--------------------------------------------+
+```
+* ID long
+* FREQUENCY long
+* AVG_TIME long
+* MAX_TIME long
+* MIN_TIME long
+* LAST_TIME long
+
+#### Report slow SQL √
+```sql
+mysql> show @@sql.slow;
++------+------------+---------------+--------------+-------------------------------------------+
+| USER | DATASOURCE | START_TIME | EXECUTE_TIME | SQL |
++------+------------+---------------+--------------+-------------------------------------------+
+| root | NULL | 1524583496990 | 597 | insert into hotnews(id,nm) values(6,'nm') |
++------+------------+---------------+--------------+-------------------------------------------+
+```
+
+#### 大SQL
+```sql
+```
+* USER
+* ROWS long
+* START_TIME long
+* EXECUTE_TIME long
+* SQL String
+
+#### Report BIG RESULTSET SQL `大SQL结果集`
+```sql
+
+```
+* ID long
+* USER
+* FREQUENCY long
+* SQL
+* RESULTSET_SIZE int
+
+#### Report RW Stat √
+```sql
+mysql> show @@sql.sum;
++------+------+------+------+------+------+--------+---------+--------------+--------------+---------------+
+| ID | USER | R | W | R% | MAX | NET_IN | NET_OUT | TIME_COUNT | TTL_COUNT | LAST_TIME |
++------+------+------+------+------+------+--------+---------+--------------+--------------+---------------+
+| 1 | root | 2 | 1 | 0.67 | 1 | 41 | 779 | [3, 0, 0, 0] | [0, 2, 1, 0] | 1524583697975 |
++------+------+------+------+------+------+--------+---------+--------------+--------------+---------------+
+```
+* TIME_COUNT: `执行所在时段` | 22-06 夜间、 06-13 上午、 13-18下午、 18-22 晚间 -- new long[] { 6, 13, 18, 22 }
+* TTL_COUNT: `执行耗时` | 10毫秒内、 10 - 200毫秒内、 1秒内、 超过 1秒 -- new long[] { 10, 200, 1000, 2000 }
+* MAX: `最大的并发` | int
+* LAST_TIME: `最后执行时间` | long
+
+#### Report User RW Stat √
+```sql
+mysql> show @@sql.sum.user;
++------+------+------+------+------+------+--------+---------+--------------+--------------+---------------+
+| ID | USER | R | W | R% | MAX | NET_IN | NET_OUT | TIME_COUNT | TTL_COUNT | LAST_TIME |
++------+------+------+------+------+------+--------+---------+--------------+--------------+---------------+
+| 1 | root | 2 | 1 | 0.67 | 1 | 41 | 779 | [3, 0, 0, 0] | [0, 2, 1, 0] | 1524583697975 |
++------+------+------+------+------+------+--------+---------+--------------+--------------+---------------+
+```
+
+#### Report Table RW Stat √
+```sql
+mysql> show @@sql.sum.table;
++------+---------+------+------+------+-----------+-----------+---------------+
+| ID | TABLE | R | W | R% | RELATABLE | RELACOUNT | LAST_TIME |
++------+---------+------+------+------+-----------+-----------+---------------+
+| 1 | hotnews | 2 | 1 | 0.67 | NULL | NULL | 1524583697975 |
++------+---------+------+------+------+-----------+-----------+---------------+
+```
+* ID long
+* RELATABLE varchar 逗号分割多个关联表名
+* RELACOUNT varchar 逗号分割多个关联数量
+
+
+## Mysql 监控
+
+
+
+## 工具
+* 查看库里面所有表,批量设置
+* 验证
+
+
+
diff --git a/doc/img/mycat_admin_mycatnode.png b/doc/img/mycat_admin_mycatnode.png
new file mode 100644
index 0000000000000000000000000000000000000000..6f6a828266b528976bc4bfb1b429a8ff68e3aa49
Binary files /dev/null and b/doc/img/mycat_admin_mycatnode.png differ
diff --git a/doc/img/mycat_sql_performance.png b/doc/img/mycat_sql_performance.png
new file mode 100644
index 0000000000000000000000000000000000000000..2d3bcffbcc7d6aa19023e0a84d35decefafd25d2
Binary files /dev/null and b/doc/img/mycat_sql_performance.png differ
diff --git a/doc/img/mycat_sql_sum.png b/doc/img/mycat_sql_sum.png
new file mode 100644
index 0000000000000000000000000000000000000000..cb81568ccac417e414848d55d5c0487d7b644380
Binary files /dev/null and b/doc/img/mycat_sql_sum.png differ
diff --git a/mycateye-agent/generatorConfig.xml b/mycateye-agent/generatorConfig.xml
new file mode 100644
index 0000000000000000000000000000000000000000..4be54b5523d41a09a483fb8f6fad3aadd69d0699
--- /dev/null
+++ b/mycateye-agent/generatorConfig.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/mycateye-agent/pom.xml b/mycateye-agent/pom.xml
index f254d6970d37e1f39efd765f57d66115abd39631..8ebec11f68f6e9ec71f2bb2dcc32b5a5e6b664ad 100644
--- a/mycateye-agent/pom.xml
+++ b/mycateye-agent/pom.xml
@@ -1,105 +1,139 @@
- 4.0.0
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ 4.0.0
- io.mycat.eye
- mycateye-agent
- 0.8
- jar
+ mycateye-agent
+ 0.8
+ jar
- mycateye-agent
- mycateye-agent
+ mycateye-agent
+ mycateye-agent
-
- org.springframework.boot
- spring-boot-starter-parent
- 1.5.2.RELEASE
-
-
+
+ io.mycat.eye
+ Mycat-Eye
+ 0.8
+ ../pom.xml
+
-
- UTF-8
- UTF-8
- 1.8
-
+
+
+ io.mycat.eye
+ mycateye-common
+ 1.0-SNAPSHOT
+
-
-
- org.springframework.boot
- spring-boot-starter-web
-
+
+ org.springframework.boot
+ spring-boot-starter-web
+
-
- org.springframework.boot
- spring-boot-starter-test
- test
-
-
- org.springframework.boot
- spring-boot-devtools
-
-
-
- com.alibaba
- druid
- 1.0.26
-
-
-
- c3p0
- c3p0
- 0.9.1.2
-
-
- org.apache.commons
- commons-lang3
- 3.5
-
-
-
- org.mybatis.spring.boot
- mybatis-spring-boot-starter
- 1.1.1
-
-
- org.springframework.boot
- spring-boot-configuration-processor
- true
-
-
- mysql
- mysql-connector-java
- runtime
-
-
- com.alibaba
- fastjson
- 1.2.12
-
-
- aspectj
- aspectjweaver
- 1.5.4
-
-
- com.jcraft
- jsch
- 0.1.54
-
-
- commons-collections
- commons-collections
-
+
+ org.springframework.boot
+ spring-boot-starter-test
+ test
+
+
+ junit
+ junit
+ test
+
+
+ org.springframework.boot
+ spring-boot-devtools
+
+
+
+ com.alibaba
+ druid
+ 1.0.26
+
+
+
+ c3p0
+ c3p0
+ 0.9.1.2
+
+
+ org.apache.commons
+ commons-lang3
+ 3.5
+
+
+
+ org.mybatis.spring.boot
+ mybatis-spring-boot-starter
+ 1.1.1
+
+
+ org.springframework.boot
+ spring-boot-configuration-processor
+ true
+
+
+ mysql
+ mysql-connector-java
+ runtime
+ 5.1.35
+
+
+ com.alibaba
+ fastjson
+ 1.2.12
+
+
+ aspectj
+ aspectjweaver
+ 1.5.4
+
+
+ com.jcraft
+ jsch
+ 0.1.54
+
+
+ commons-collections
+ commons-collections
+
+
+ org.apache.curator
+ curator-framework
+ 4.0.1
+
-
+
-
-
-
- org.springframework.boot
- spring-boot-maven-plugin
-
-
-
+
+
+
+ src/main/java
+
+ **/*.xml
+
+
+
+ src/main/resources
+
+ **/*.*
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+
+ io.mycat.eye.agent.DbeyeAgentApplication
+
+
+
+
+ repackage
+
+
+
+
+
+
diff --git a/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatBackend.java b/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatBackend.java
new file mode 100644
index 0000000000000000000000000000000000000000..9e2dd2777be7b596c57e6f818783e927b57df5b6
--- /dev/null
+++ b/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatBackend.java
@@ -0,0 +1,216 @@
+package io.mycat.eye.agent.bean;
+
+import java.io.Serializable;
+
+public class MycatBackend implements Serializable {
+ private Integer id;
+
+ private String processor;
+
+ private Integer mysqlid;
+
+ private String cHost;
+
+ private Integer cPort;
+
+ private Integer lPort;
+
+ private Long netIn;
+
+ private Long netOut;
+
+ private Long life;
+
+ private String closed;
+
+ private String borrowed;
+
+ private Integer sendQueue;
+
+ private String cSchema;
+
+ private String cCharset;
+
+ private String txlevel;
+
+ private String autocommit;
+
+ private Integer mycatId;
+
+ private Long collectTime;
+
+ private static final long serialVersionUID = 1L;
+
+ public Integer getId() {
+ return id;
+ }
+
+ public void setId(Integer id) {
+ this.id = id;
+ }
+
+ public String getProcessor() {
+ return processor;
+ }
+
+ public void setProcessor(String processor) {
+ this.processor = processor;
+ }
+
+ public Integer getMysqlid() {
+ return mysqlid;
+ }
+
+ public void setMysqlid(Integer mysqlid) {
+ this.mysqlid = mysqlid;
+ }
+
+ public String getcHost() {
+ return cHost;
+ }
+
+ public void setcHost(String cHost) {
+ this.cHost = cHost;
+ }
+
+ public Integer getcPort() {
+ return cPort;
+ }
+
+ public void setcPort(Integer cPort) {
+ this.cPort = cPort;
+ }
+
+ public Integer getlPort() {
+ return lPort;
+ }
+
+ public void setlPort(Integer lPort) {
+ this.lPort = lPort;
+ }
+
+ public Long getNetIn() {
+ return netIn;
+ }
+
+ public void setNetIn(Long netIn) {
+ this.netIn = netIn;
+ }
+
+ public Long getNetOut() {
+ return netOut;
+ }
+
+ public void setNetOut(Long netOut) {
+ this.netOut = netOut;
+ }
+
+ public Long getLife() {
+ return life;
+ }
+
+ public void setLife(Long life) {
+ this.life = life;
+ }
+
+ public String getClosed() {
+ return closed;
+ }
+
+ public void setClosed(String closed) {
+ this.closed = closed;
+ }
+
+ public String getBorrowed() {
+ return borrowed;
+ }
+
+ public void setBorrowed(String borrowed) {
+ this.borrowed = borrowed;
+ }
+
+ public Integer getSendQueue() {
+ return sendQueue;
+ }
+
+ public void setSendQueue(Integer sendQueue) {
+ this.sendQueue = sendQueue;
+ }
+
+ public String getcSchema() {
+ return cSchema;
+ }
+
+ public void setcSchema(String cSchema) {
+ this.cSchema = cSchema;
+ }
+
+ public String getcCharset() {
+ return cCharset;
+ }
+
+ public void setcCharset(String cCharset) {
+ this.cCharset = cCharset;
+ }
+
+ public String getTxlevel() {
+ return txlevel;
+ }
+
+ public void setTxlevel(String txlevel) {
+ this.txlevel = txlevel;
+ }
+
+ public String getAutocommit() {
+ return autocommit;
+ }
+
+ public void setAutocommit(String autocommit) {
+ this.autocommit = autocommit;
+ }
+
+ public Integer getMycatId() {
+ return mycatId;
+ }
+
+ public void setMycatId(Integer mycatId) {
+ this.mycatId = mycatId;
+ }
+
+ public Long getCollectTime() {
+ return collectTime;
+ }
+
+ public void setCollectTime(Long collectTime) {
+ this.collectTime = collectTime;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append(getClass().getSimpleName());
+ sb.append(" [");
+ sb.append("Hash = ").append(hashCode());
+ sb.append(", id=").append(id);
+ sb.append(", processor=").append(processor);
+ sb.append(", mysqlid=").append(mysqlid);
+ sb.append(", cHost=").append(cHost);
+ sb.append(", cPort=").append(cPort);
+ sb.append(", lPort=").append(lPort);
+ sb.append(", netIn=").append(netIn);
+ sb.append(", netOut=").append(netOut);
+ sb.append(", life=").append(life);
+ sb.append(", closed=").append(closed);
+ sb.append(", borrowed=").append(borrowed);
+ sb.append(", sendQueue=").append(sendQueue);
+ sb.append(", cSchema=").append(cSchema);
+ sb.append(", cCharset=").append(cCharset);
+ sb.append(", txlevel=").append(txlevel);
+ sb.append(", autocommit=").append(autocommit);
+ sb.append(", mycatId=").append(mycatId);
+ sb.append(", collectTime=").append(collectTime);
+ sb.append(", serialVersionUID=").append(serialVersionUID);
+ sb.append("]");
+ return sb.toString();
+ }
+}
\ No newline at end of file
diff --git a/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatBackendExample.java b/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatBackendExample.java
new file mode 100644
index 0000000000000000000000000000000000000000..76a462be23e817eb6ee22e68c838c119fa6b4b4a
--- /dev/null
+++ b/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatBackendExample.java
@@ -0,0 +1,1360 @@
+package io.mycat.eye.agent.bean;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class MycatBackendExample {
+ protected String orderByClause;
+
+ protected boolean distinct;
+
+ protected List oredCriteria;
+
+ public MycatBackendExample() {
+ oredCriteria = new ArrayList();
+ }
+
+ public void setOrderByClause(String orderByClause) {
+ this.orderByClause = orderByClause;
+ }
+
+ public String getOrderByClause() {
+ return orderByClause;
+ }
+
+ public void setDistinct(boolean distinct) {
+ this.distinct = distinct;
+ }
+
+ public boolean isDistinct() {
+ return distinct;
+ }
+
+ public List getOredCriteria() {
+ return oredCriteria;
+ }
+
+ public void or(Criteria criteria) {
+ oredCriteria.add(criteria);
+ }
+
+ public Criteria or() {
+ Criteria criteria = createCriteriaInternal();
+ oredCriteria.add(criteria);
+ return criteria;
+ }
+
+ public Criteria createCriteria() {
+ Criteria criteria = createCriteriaInternal();
+ if (oredCriteria.size() == 0) {
+ oredCriteria.add(criteria);
+ }
+ return criteria;
+ }
+
+ protected Criteria createCriteriaInternal() {
+ Criteria criteria = new Criteria();
+ return criteria;
+ }
+
+ public void clear() {
+ oredCriteria.clear();
+ orderByClause = null;
+ distinct = false;
+ }
+
+ protected abstract static class GeneratedCriteria {
+ protected List criteria;
+
+ protected GeneratedCriteria() {
+ super();
+ criteria = new ArrayList();
+ }
+
+ public boolean isValid() {
+ return criteria.size() > 0;
+ }
+
+ public List getAllCriteria() {
+ return criteria;
+ }
+
+ public List getCriteria() {
+ return criteria;
+ }
+
+ protected void addCriterion(String condition) {
+ if (condition == null) {
+ throw new RuntimeException("Value for condition cannot be null");
+ }
+ criteria.add(new Criterion(condition));
+ }
+
+ protected void addCriterion(String condition, Object value, String property) {
+ if (value == null) {
+ throw new RuntimeException("Value for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value));
+ }
+
+ protected void addCriterion(String condition, Object value1, Object value2, String property) {
+ if (value1 == null || value2 == null) {
+ throw new RuntimeException("Between values for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value1, value2));
+ }
+
+ public Criteria andIdIsNull() {
+ addCriterion("id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIsNotNull() {
+ addCriterion("id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdEqualTo(Integer value) {
+ addCriterion("id =", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotEqualTo(Integer value) {
+ addCriterion("id <>", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThan(Integer value) {
+ addCriterion("id >", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThanOrEqualTo(Integer value) {
+ addCriterion("id >=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThan(Integer value) {
+ addCriterion("id <", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThanOrEqualTo(Integer value) {
+ addCriterion("id <=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIn(List values) {
+ addCriterion("id in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotIn(List values) {
+ addCriterion("id not in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdBetween(Integer value1, Integer value2) {
+ addCriterion("id between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotBetween(Integer value1, Integer value2) {
+ addCriterion("id not between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andProcessorIsNull() {
+ addCriterion("processor is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andProcessorIsNotNull() {
+ addCriterion("processor is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andProcessorEqualTo(String value) {
+ addCriterion("processor =", value, "processor");
+ return (Criteria) this;
+ }
+
+ public Criteria andProcessorNotEqualTo(String value) {
+ addCriterion("processor <>", value, "processor");
+ return (Criteria) this;
+ }
+
+ public Criteria andProcessorGreaterThan(String value) {
+ addCriterion("processor >", value, "processor");
+ return (Criteria) this;
+ }
+
+ public Criteria andProcessorGreaterThanOrEqualTo(String value) {
+ addCriterion("processor >=", value, "processor");
+ return (Criteria) this;
+ }
+
+ public Criteria andProcessorLessThan(String value) {
+ addCriterion("processor <", value, "processor");
+ return (Criteria) this;
+ }
+
+ public Criteria andProcessorLessThanOrEqualTo(String value) {
+ addCriterion("processor <=", value, "processor");
+ return (Criteria) this;
+ }
+
+ public Criteria andProcessorLike(String value) {
+ addCriterion("processor like", value, "processor");
+ return (Criteria) this;
+ }
+
+ public Criteria andProcessorNotLike(String value) {
+ addCriterion("processor not like", value, "processor");
+ return (Criteria) this;
+ }
+
+ public Criteria andProcessorIn(List values) {
+ addCriterion("processor in", values, "processor");
+ return (Criteria) this;
+ }
+
+ public Criteria andProcessorNotIn(List values) {
+ addCriterion("processor not in", values, "processor");
+ return (Criteria) this;
+ }
+
+ public Criteria andProcessorBetween(String value1, String value2) {
+ addCriterion("processor between", value1, value2, "processor");
+ return (Criteria) this;
+ }
+
+ public Criteria andProcessorNotBetween(String value1, String value2) {
+ addCriterion("processor not between", value1, value2, "processor");
+ return (Criteria) this;
+ }
+
+ public Criteria andMysqlidIsNull() {
+ addCriterion("mysqlId is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andMysqlidIsNotNull() {
+ addCriterion("mysqlId is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andMysqlidEqualTo(Integer value) {
+ addCriterion("mysqlId =", value, "mysqlid");
+ return (Criteria) this;
+ }
+
+ public Criteria andMysqlidNotEqualTo(Integer value) {
+ addCriterion("mysqlId <>", value, "mysqlid");
+ return (Criteria) this;
+ }
+
+ public Criteria andMysqlidGreaterThan(Integer value) {
+ addCriterion("mysqlId >", value, "mysqlid");
+ return (Criteria) this;
+ }
+
+ public Criteria andMysqlidGreaterThanOrEqualTo(Integer value) {
+ addCriterion("mysqlId >=", value, "mysqlid");
+ return (Criteria) this;
+ }
+
+ public Criteria andMysqlidLessThan(Integer value) {
+ addCriterion("mysqlId <", value, "mysqlid");
+ return (Criteria) this;
+ }
+
+ public Criteria andMysqlidLessThanOrEqualTo(Integer value) {
+ addCriterion("mysqlId <=", value, "mysqlid");
+ return (Criteria) this;
+ }
+
+ public Criteria andMysqlidIn(List values) {
+ addCriterion("mysqlId in", values, "mysqlid");
+ return (Criteria) this;
+ }
+
+ public Criteria andMysqlidNotIn(List values) {
+ addCriterion("mysqlId not in", values, "mysqlid");
+ return (Criteria) this;
+ }
+
+ public Criteria andMysqlidBetween(Integer value1, Integer value2) {
+ addCriterion("mysqlId between", value1, value2, "mysqlid");
+ return (Criteria) this;
+ }
+
+ public Criteria andMysqlidNotBetween(Integer value1, Integer value2) {
+ addCriterion("mysqlId not between", value1, value2, "mysqlid");
+ return (Criteria) this;
+ }
+
+ public Criteria andCHostIsNull() {
+ addCriterion("c_host is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCHostIsNotNull() {
+ addCriterion("c_host is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCHostEqualTo(String value) {
+ addCriterion("c_host =", value, "cHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andCHostNotEqualTo(String value) {
+ addCriterion("c_host <>", value, "cHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andCHostGreaterThan(String value) {
+ addCriterion("c_host >", value, "cHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andCHostGreaterThanOrEqualTo(String value) {
+ addCriterion("c_host >=", value, "cHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andCHostLessThan(String value) {
+ addCriterion("c_host <", value, "cHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andCHostLessThanOrEqualTo(String value) {
+ addCriterion("c_host <=", value, "cHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andCHostLike(String value) {
+ addCriterion("c_host like", value, "cHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andCHostNotLike(String value) {
+ addCriterion("c_host not like", value, "cHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andCHostIn(List values) {
+ addCriterion("c_host in", values, "cHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andCHostNotIn(List values) {
+ addCriterion("c_host not in", values, "cHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andCHostBetween(String value1, String value2) {
+ addCriterion("c_host between", value1, value2, "cHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andCHostNotBetween(String value1, String value2) {
+ addCriterion("c_host not between", value1, value2, "cHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andCPortIsNull() {
+ addCriterion("c_port is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCPortIsNotNull() {
+ addCriterion("c_port is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCPortEqualTo(Integer value) {
+ addCriterion("c_port =", value, "cPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andCPortNotEqualTo(Integer value) {
+ addCriterion("c_port <>", value, "cPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andCPortGreaterThan(Integer value) {
+ addCriterion("c_port >", value, "cPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andCPortGreaterThanOrEqualTo(Integer value) {
+ addCriterion("c_port >=", value, "cPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andCPortLessThan(Integer value) {
+ addCriterion("c_port <", value, "cPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andCPortLessThanOrEqualTo(Integer value) {
+ addCriterion("c_port <=", value, "cPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andCPortIn(List values) {
+ addCriterion("c_port in", values, "cPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andCPortNotIn(List values) {
+ addCriterion("c_port not in", values, "cPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andCPortBetween(Integer value1, Integer value2) {
+ addCriterion("c_port between", value1, value2, "cPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andCPortNotBetween(Integer value1, Integer value2) {
+ addCriterion("c_port not between", value1, value2, "cPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andLPortIsNull() {
+ addCriterion("l_port is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andLPortIsNotNull() {
+ addCriterion("l_port is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andLPortEqualTo(Integer value) {
+ addCriterion("l_port =", value, "lPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andLPortNotEqualTo(Integer value) {
+ addCriterion("l_port <>", value, "lPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andLPortGreaterThan(Integer value) {
+ addCriterion("l_port >", value, "lPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andLPortGreaterThanOrEqualTo(Integer value) {
+ addCriterion("l_port >=", value, "lPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andLPortLessThan(Integer value) {
+ addCriterion("l_port <", value, "lPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andLPortLessThanOrEqualTo(Integer value) {
+ addCriterion("l_port <=", value, "lPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andLPortIn(List values) {
+ addCriterion("l_port in", values, "lPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andLPortNotIn(List values) {
+ addCriterion("l_port not in", values, "lPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andLPortBetween(Integer value1, Integer value2) {
+ addCriterion("l_port between", value1, value2, "lPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andLPortNotBetween(Integer value1, Integer value2) {
+ addCriterion("l_port not between", value1, value2, "lPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInIsNull() {
+ addCriterion("net_in is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInIsNotNull() {
+ addCriterion("net_in is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInEqualTo(Long value) {
+ addCriterion("net_in =", value, "netIn");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInNotEqualTo(Long value) {
+ addCriterion("net_in <>", value, "netIn");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInGreaterThan(Long value) {
+ addCriterion("net_in >", value, "netIn");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInGreaterThanOrEqualTo(Long value) {
+ addCriterion("net_in >=", value, "netIn");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInLessThan(Long value) {
+ addCriterion("net_in <", value, "netIn");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInLessThanOrEqualTo(Long value) {
+ addCriterion("net_in <=", value, "netIn");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInIn(List values) {
+ addCriterion("net_in in", values, "netIn");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInNotIn(List values) {
+ addCriterion("net_in not in", values, "netIn");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInBetween(Long value1, Long value2) {
+ addCriterion("net_in between", value1, value2, "netIn");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInNotBetween(Long value1, Long value2) {
+ addCriterion("net_in not between", value1, value2, "netIn");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOutIsNull() {
+ addCriterion("net_out is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOutIsNotNull() {
+ addCriterion("net_out is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOutEqualTo(Long value) {
+ addCriterion("net_out =", value, "netOut");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOutNotEqualTo(Long value) {
+ addCriterion("net_out <>", value, "netOut");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOutGreaterThan(Long value) {
+ addCriterion("net_out >", value, "netOut");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOutGreaterThanOrEqualTo(Long value) {
+ addCriterion("net_out >=", value, "netOut");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOutLessThan(Long value) {
+ addCriterion("net_out <", value, "netOut");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOutLessThanOrEqualTo(Long value) {
+ addCriterion("net_out <=", value, "netOut");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOutIn(List values) {
+ addCriterion("net_out in", values, "netOut");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOutNotIn(List values) {
+ addCriterion("net_out not in", values, "netOut");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOutBetween(Long value1, Long value2) {
+ addCriterion("net_out between", value1, value2, "netOut");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOutNotBetween(Long value1, Long value2) {
+ addCriterion("net_out not between", value1, value2, "netOut");
+ return (Criteria) this;
+ }
+
+ public Criteria andLifeIsNull() {
+ addCriterion("life is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andLifeIsNotNull() {
+ addCriterion("life is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andLifeEqualTo(Long value) {
+ addCriterion("life =", value, "life");
+ return (Criteria) this;
+ }
+
+ public Criteria andLifeNotEqualTo(Long value) {
+ addCriterion("life <>", value, "life");
+ return (Criteria) this;
+ }
+
+ public Criteria andLifeGreaterThan(Long value) {
+ addCriterion("life >", value, "life");
+ return (Criteria) this;
+ }
+
+ public Criteria andLifeGreaterThanOrEqualTo(Long value) {
+ addCriterion("life >=", value, "life");
+ return (Criteria) this;
+ }
+
+ public Criteria andLifeLessThan(Long value) {
+ addCriterion("life <", value, "life");
+ return (Criteria) this;
+ }
+
+ public Criteria andLifeLessThanOrEqualTo(Long value) {
+ addCriterion("life <=", value, "life");
+ return (Criteria) this;
+ }
+
+ public Criteria andLifeIn(List values) {
+ addCriterion("life in", values, "life");
+ return (Criteria) this;
+ }
+
+ public Criteria andLifeNotIn(List values) {
+ addCriterion("life not in", values, "life");
+ return (Criteria) this;
+ }
+
+ public Criteria andLifeBetween(Long value1, Long value2) {
+ addCriterion("life between", value1, value2, "life");
+ return (Criteria) this;
+ }
+
+ public Criteria andLifeNotBetween(Long value1, Long value2) {
+ addCriterion("life not between", value1, value2, "life");
+ return (Criteria) this;
+ }
+
+ public Criteria andClosedIsNull() {
+ addCriterion("closed is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andClosedIsNotNull() {
+ addCriterion("closed is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andClosedEqualTo(String value) {
+ addCriterion("closed =", value, "closed");
+ return (Criteria) this;
+ }
+
+ public Criteria andClosedNotEqualTo(String value) {
+ addCriterion("closed <>", value, "closed");
+ return (Criteria) this;
+ }
+
+ public Criteria andClosedGreaterThan(String value) {
+ addCriterion("closed >", value, "closed");
+ return (Criteria) this;
+ }
+
+ public Criteria andClosedGreaterThanOrEqualTo(String value) {
+ addCriterion("closed >=", value, "closed");
+ return (Criteria) this;
+ }
+
+ public Criteria andClosedLessThan(String value) {
+ addCriterion("closed <", value, "closed");
+ return (Criteria) this;
+ }
+
+ public Criteria andClosedLessThanOrEqualTo(String value) {
+ addCriterion("closed <=", value, "closed");
+ return (Criteria) this;
+ }
+
+ public Criteria andClosedLike(String value) {
+ addCriterion("closed like", value, "closed");
+ return (Criteria) this;
+ }
+
+ public Criteria andClosedNotLike(String value) {
+ addCriterion("closed not like", value, "closed");
+ return (Criteria) this;
+ }
+
+ public Criteria andClosedIn(List values) {
+ addCriterion("closed in", values, "closed");
+ return (Criteria) this;
+ }
+
+ public Criteria andClosedNotIn(List values) {
+ addCriterion("closed not in", values, "closed");
+ return (Criteria) this;
+ }
+
+ public Criteria andClosedBetween(String value1, String value2) {
+ addCriterion("closed between", value1, value2, "closed");
+ return (Criteria) this;
+ }
+
+ public Criteria andClosedNotBetween(String value1, String value2) {
+ addCriterion("closed not between", value1, value2, "closed");
+ return (Criteria) this;
+ }
+
+ public Criteria andBorrowedIsNull() {
+ addCriterion("borrowed is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andBorrowedIsNotNull() {
+ addCriterion("borrowed is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andBorrowedEqualTo(String value) {
+ addCriterion("borrowed =", value, "borrowed");
+ return (Criteria) this;
+ }
+
+ public Criteria andBorrowedNotEqualTo(String value) {
+ addCriterion("borrowed <>", value, "borrowed");
+ return (Criteria) this;
+ }
+
+ public Criteria andBorrowedGreaterThan(String value) {
+ addCriterion("borrowed >", value, "borrowed");
+ return (Criteria) this;
+ }
+
+ public Criteria andBorrowedGreaterThanOrEqualTo(String value) {
+ addCriterion("borrowed >=", value, "borrowed");
+ return (Criteria) this;
+ }
+
+ public Criteria andBorrowedLessThan(String value) {
+ addCriterion("borrowed <", value, "borrowed");
+ return (Criteria) this;
+ }
+
+ public Criteria andBorrowedLessThanOrEqualTo(String value) {
+ addCriterion("borrowed <=", value, "borrowed");
+ return (Criteria) this;
+ }
+
+ public Criteria andBorrowedLike(String value) {
+ addCriterion("borrowed like", value, "borrowed");
+ return (Criteria) this;
+ }
+
+ public Criteria andBorrowedNotLike(String value) {
+ addCriterion("borrowed not like", value, "borrowed");
+ return (Criteria) this;
+ }
+
+ public Criteria andBorrowedIn(List values) {
+ addCriterion("borrowed in", values, "borrowed");
+ return (Criteria) this;
+ }
+
+ public Criteria andBorrowedNotIn(List values) {
+ addCriterion("borrowed not in", values, "borrowed");
+ return (Criteria) this;
+ }
+
+ public Criteria andBorrowedBetween(String value1, String value2) {
+ addCriterion("borrowed between", value1, value2, "borrowed");
+ return (Criteria) this;
+ }
+
+ public Criteria andBorrowedNotBetween(String value1, String value2) {
+ addCriterion("borrowed not between", value1, value2, "borrowed");
+ return (Criteria) this;
+ }
+
+ public Criteria andSendQueueIsNull() {
+ addCriterion("send_queue is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andSendQueueIsNotNull() {
+ addCriterion("send_queue is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andSendQueueEqualTo(Integer value) {
+ addCriterion("send_queue =", value, "sendQueue");
+ return (Criteria) this;
+ }
+
+ public Criteria andSendQueueNotEqualTo(Integer value) {
+ addCriterion("send_queue <>", value, "sendQueue");
+ return (Criteria) this;
+ }
+
+ public Criteria andSendQueueGreaterThan(Integer value) {
+ addCriterion("send_queue >", value, "sendQueue");
+ return (Criteria) this;
+ }
+
+ public Criteria andSendQueueGreaterThanOrEqualTo(Integer value) {
+ addCriterion("send_queue >=", value, "sendQueue");
+ return (Criteria) this;
+ }
+
+ public Criteria andSendQueueLessThan(Integer value) {
+ addCriterion("send_queue <", value, "sendQueue");
+ return (Criteria) this;
+ }
+
+ public Criteria andSendQueueLessThanOrEqualTo(Integer value) {
+ addCriterion("send_queue <=", value, "sendQueue");
+ return (Criteria) this;
+ }
+
+ public Criteria andSendQueueIn(List values) {
+ addCriterion("send_queue in", values, "sendQueue");
+ return (Criteria) this;
+ }
+
+ public Criteria andSendQueueNotIn(List values) {
+ addCriterion("send_queue not in", values, "sendQueue");
+ return (Criteria) this;
+ }
+
+ public Criteria andSendQueueBetween(Integer value1, Integer value2) {
+ addCriterion("send_queue between", value1, value2, "sendQueue");
+ return (Criteria) this;
+ }
+
+ public Criteria andSendQueueNotBetween(Integer value1, Integer value2) {
+ addCriterion("send_queue not between", value1, value2, "sendQueue");
+ return (Criteria) this;
+ }
+
+ public Criteria andCSchemaIsNull() {
+ addCriterion("c_schema is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCSchemaIsNotNull() {
+ addCriterion("c_schema is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCSchemaEqualTo(String value) {
+ addCriterion("c_schema =", value, "cSchema");
+ return (Criteria) this;
+ }
+
+ public Criteria andCSchemaNotEqualTo(String value) {
+ addCriterion("c_schema <>", value, "cSchema");
+ return (Criteria) this;
+ }
+
+ public Criteria andCSchemaGreaterThan(String value) {
+ addCriterion("c_schema >", value, "cSchema");
+ return (Criteria) this;
+ }
+
+ public Criteria andCSchemaGreaterThanOrEqualTo(String value) {
+ addCriterion("c_schema >=", value, "cSchema");
+ return (Criteria) this;
+ }
+
+ public Criteria andCSchemaLessThan(String value) {
+ addCriterion("c_schema <", value, "cSchema");
+ return (Criteria) this;
+ }
+
+ public Criteria andCSchemaLessThanOrEqualTo(String value) {
+ addCriterion("c_schema <=", value, "cSchema");
+ return (Criteria) this;
+ }
+
+ public Criteria andCSchemaLike(String value) {
+ addCriterion("c_schema like", value, "cSchema");
+ return (Criteria) this;
+ }
+
+ public Criteria andCSchemaNotLike(String value) {
+ addCriterion("c_schema not like", value, "cSchema");
+ return (Criteria) this;
+ }
+
+ public Criteria andCSchemaIn(List values) {
+ addCriterion("c_schema in", values, "cSchema");
+ return (Criteria) this;
+ }
+
+ public Criteria andCSchemaNotIn(List values) {
+ addCriterion("c_schema not in", values, "cSchema");
+ return (Criteria) this;
+ }
+
+ public Criteria andCSchemaBetween(String value1, String value2) {
+ addCriterion("c_schema between", value1, value2, "cSchema");
+ return (Criteria) this;
+ }
+
+ public Criteria andCSchemaNotBetween(String value1, String value2) {
+ addCriterion("c_schema not between", value1, value2, "cSchema");
+ return (Criteria) this;
+ }
+
+ public Criteria andCCharsetIsNull() {
+ addCriterion("c_charset is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCCharsetIsNotNull() {
+ addCriterion("c_charset is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCCharsetEqualTo(String value) {
+ addCriterion("c_charset =", value, "cCharset");
+ return (Criteria) this;
+ }
+
+ public Criteria andCCharsetNotEqualTo(String value) {
+ addCriterion("c_charset <>", value, "cCharset");
+ return (Criteria) this;
+ }
+
+ public Criteria andCCharsetGreaterThan(String value) {
+ addCriterion("c_charset >", value, "cCharset");
+ return (Criteria) this;
+ }
+
+ public Criteria andCCharsetGreaterThanOrEqualTo(String value) {
+ addCriterion("c_charset >=", value, "cCharset");
+ return (Criteria) this;
+ }
+
+ public Criteria andCCharsetLessThan(String value) {
+ addCriterion("c_charset <", value, "cCharset");
+ return (Criteria) this;
+ }
+
+ public Criteria andCCharsetLessThanOrEqualTo(String value) {
+ addCriterion("c_charset <=", value, "cCharset");
+ return (Criteria) this;
+ }
+
+ public Criteria andCCharsetLike(String value) {
+ addCriterion("c_charset like", value, "cCharset");
+ return (Criteria) this;
+ }
+
+ public Criteria andCCharsetNotLike(String value) {
+ addCriterion("c_charset not like", value, "cCharset");
+ return (Criteria) this;
+ }
+
+ public Criteria andCCharsetIn(List values) {
+ addCriterion("c_charset in", values, "cCharset");
+ return (Criteria) this;
+ }
+
+ public Criteria andCCharsetNotIn(List values) {
+ addCriterion("c_charset not in", values, "cCharset");
+ return (Criteria) this;
+ }
+
+ public Criteria andCCharsetBetween(String value1, String value2) {
+ addCriterion("c_charset between", value1, value2, "cCharset");
+ return (Criteria) this;
+ }
+
+ public Criteria andCCharsetNotBetween(String value1, String value2) {
+ addCriterion("c_charset not between", value1, value2, "cCharset");
+ return (Criteria) this;
+ }
+
+ public Criteria andTxlevelIsNull() {
+ addCriterion("txlevel is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andTxlevelIsNotNull() {
+ addCriterion("txlevel is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andTxlevelEqualTo(String value) {
+ addCriterion("txlevel =", value, "txlevel");
+ return (Criteria) this;
+ }
+
+ public Criteria andTxlevelNotEqualTo(String value) {
+ addCriterion("txlevel <>", value, "txlevel");
+ return (Criteria) this;
+ }
+
+ public Criteria andTxlevelGreaterThan(String value) {
+ addCriterion("txlevel >", value, "txlevel");
+ return (Criteria) this;
+ }
+
+ public Criteria andTxlevelGreaterThanOrEqualTo(String value) {
+ addCriterion("txlevel >=", value, "txlevel");
+ return (Criteria) this;
+ }
+
+ public Criteria andTxlevelLessThan(String value) {
+ addCriterion("txlevel <", value, "txlevel");
+ return (Criteria) this;
+ }
+
+ public Criteria andTxlevelLessThanOrEqualTo(String value) {
+ addCriterion("txlevel <=", value, "txlevel");
+ return (Criteria) this;
+ }
+
+ public Criteria andTxlevelLike(String value) {
+ addCriterion("txlevel like", value, "txlevel");
+ return (Criteria) this;
+ }
+
+ public Criteria andTxlevelNotLike(String value) {
+ addCriterion("txlevel not like", value, "txlevel");
+ return (Criteria) this;
+ }
+
+ public Criteria andTxlevelIn(List values) {
+ addCriterion("txlevel in", values, "txlevel");
+ return (Criteria) this;
+ }
+
+ public Criteria andTxlevelNotIn(List values) {
+ addCriterion("txlevel not in", values, "txlevel");
+ return (Criteria) this;
+ }
+
+ public Criteria andTxlevelBetween(String value1, String value2) {
+ addCriterion("txlevel between", value1, value2, "txlevel");
+ return (Criteria) this;
+ }
+
+ public Criteria andTxlevelNotBetween(String value1, String value2) {
+ addCriterion("txlevel not between", value1, value2, "txlevel");
+ return (Criteria) this;
+ }
+
+ public Criteria andAutocommitIsNull() {
+ addCriterion("autocommit is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andAutocommitIsNotNull() {
+ addCriterion("autocommit is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andAutocommitEqualTo(String value) {
+ addCriterion("autocommit =", value, "autocommit");
+ return (Criteria) this;
+ }
+
+ public Criteria andAutocommitNotEqualTo(String value) {
+ addCriterion("autocommit <>", value, "autocommit");
+ return (Criteria) this;
+ }
+
+ public Criteria andAutocommitGreaterThan(String value) {
+ addCriterion("autocommit >", value, "autocommit");
+ return (Criteria) this;
+ }
+
+ public Criteria andAutocommitGreaterThanOrEqualTo(String value) {
+ addCriterion("autocommit >=", value, "autocommit");
+ return (Criteria) this;
+ }
+
+ public Criteria andAutocommitLessThan(String value) {
+ addCriterion("autocommit <", value, "autocommit");
+ return (Criteria) this;
+ }
+
+ public Criteria andAutocommitLessThanOrEqualTo(String value) {
+ addCriterion("autocommit <=", value, "autocommit");
+ return (Criteria) this;
+ }
+
+ public Criteria andAutocommitLike(String value) {
+ addCriterion("autocommit like", value, "autocommit");
+ return (Criteria) this;
+ }
+
+ public Criteria andAutocommitNotLike(String value) {
+ addCriterion("autocommit not like", value, "autocommit");
+ return (Criteria) this;
+ }
+
+ public Criteria andAutocommitIn(List values) {
+ addCriterion("autocommit in", values, "autocommit");
+ return (Criteria) this;
+ }
+
+ public Criteria andAutocommitNotIn(List values) {
+ addCriterion("autocommit not in", values, "autocommit");
+ return (Criteria) this;
+ }
+
+ public Criteria andAutocommitBetween(String value1, String value2) {
+ addCriterion("autocommit between", value1, value2, "autocommit");
+ return (Criteria) this;
+ }
+
+ public Criteria andAutocommitNotBetween(String value1, String value2) {
+ addCriterion("autocommit not between", value1, value2, "autocommit");
+ return (Criteria) this;
+ }
+
+ public Criteria andMycatIdIsNull() {
+ addCriterion("mycat_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andMycatIdIsNotNull() {
+ addCriterion("mycat_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andMycatIdEqualTo(Integer value) {
+ addCriterion("mycat_id =", value, "mycatId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMycatIdNotEqualTo(Integer value) {
+ addCriterion("mycat_id <>", value, "mycatId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMycatIdGreaterThan(Integer value) {
+ addCriterion("mycat_id >", value, "mycatId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMycatIdGreaterThanOrEqualTo(Integer value) {
+ addCriterion("mycat_id >=", value, "mycatId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMycatIdLessThan(Integer value) {
+ addCriterion("mycat_id <", value, "mycatId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMycatIdLessThanOrEqualTo(Integer value) {
+ addCriterion("mycat_id <=", value, "mycatId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMycatIdIn(List values) {
+ addCriterion("mycat_id in", values, "mycatId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMycatIdNotIn(List values) {
+ addCriterion("mycat_id not in", values, "mycatId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMycatIdBetween(Integer value1, Integer value2) {
+ addCriterion("mycat_id between", value1, value2, "mycatId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMycatIdNotBetween(Integer value1, Integer value2) {
+ addCriterion("mycat_id not between", value1, value2, "mycatId");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeIsNull() {
+ addCriterion("collect_time is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeIsNotNull() {
+ addCriterion("collect_time is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeEqualTo(Long value) {
+ addCriterion("collect_time =", value, "collectTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeNotEqualTo(Long value) {
+ addCriterion("collect_time <>", value, "collectTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeGreaterThan(Long value) {
+ addCriterion("collect_time >", value, "collectTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeGreaterThanOrEqualTo(Long value) {
+ addCriterion("collect_time >=", value, "collectTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeLessThan(Long value) {
+ addCriterion("collect_time <", value, "collectTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeLessThanOrEqualTo(Long value) {
+ addCriterion("collect_time <=", value, "collectTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeIn(List values) {
+ addCriterion("collect_time in", values, "collectTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeNotIn(List values) {
+ addCriterion("collect_time not in", values, "collectTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeBetween(Long value1, Long value2) {
+ addCriterion("collect_time between", value1, value2, "collectTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeNotBetween(Long value1, Long value2) {
+ addCriterion("collect_time not between", value1, value2, "collectTime");
+ return (Criteria) this;
+ }
+ }
+
+ public static class Criteria extends GeneratedCriteria {
+
+ protected Criteria() {
+ super();
+ }
+ }
+
+ public static class Criterion {
+ private String condition;
+
+ private Object value;
+
+ private Object secondValue;
+
+ private boolean noValue;
+
+ private boolean singleValue;
+
+ private boolean betweenValue;
+
+ private boolean listValue;
+
+ private String typeHandler;
+
+ public String getCondition() {
+ return condition;
+ }
+
+ public Object getValue() {
+ return value;
+ }
+
+ public Object getSecondValue() {
+ return secondValue;
+ }
+
+ public boolean isNoValue() {
+ return noValue;
+ }
+
+ public boolean isSingleValue() {
+ return singleValue;
+ }
+
+ public boolean isBetweenValue() {
+ return betweenValue;
+ }
+
+ public boolean isListValue() {
+ return listValue;
+ }
+
+ public String getTypeHandler() {
+ return typeHandler;
+ }
+
+ protected Criterion(String condition) {
+ super();
+ this.condition = condition;
+ this.typeHandler = null;
+ this.noValue = true;
+ }
+
+ protected Criterion(String condition, Object value, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.typeHandler = typeHandler;
+ if (value instanceof List>) {
+ this.listValue = true;
+ } else {
+ this.singleValue = true;
+ }
+ }
+
+ protected Criterion(String condition, Object value) {
+ this(condition, value, null);
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.secondValue = secondValue;
+ this.typeHandler = typeHandler;
+ this.betweenValue = true;
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue) {
+ this(condition, value, secondValue, null);
+ }
+ }
+}
\ No newline at end of file
diff --git a/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatCache.java b/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatCache.java
new file mode 100644
index 0000000000000000000000000000000000000000..9c86a446d9fc888f7ed1e8f697e750c5c63b12ee
--- /dev/null
+++ b/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatCache.java
@@ -0,0 +1,139 @@
+package io.mycat.eye.agent.bean;
+
+import java.io.Serializable;
+
+public class MycatCache implements Serializable {
+ private Integer id;
+
+ private String cache;
+
+ private Integer cMax;
+
+ private Integer cur;
+
+ private Integer access;
+
+ private Integer hit;
+
+ private Integer put;
+
+ private Integer lastAccess;
+
+ private Integer lastPut;
+
+ private Integer serverId;
+
+ private Long collectTime;
+
+ private static final long serialVersionUID = 1L;
+
+ public Integer getId() {
+ return id;
+ }
+
+ public void setId(Integer id) {
+ this.id = id;
+ }
+
+ public String getCache() {
+ return cache;
+ }
+
+ public void setCache(String cache) {
+ this.cache = cache;
+ }
+
+ public Integer getcMax() {
+ return cMax;
+ }
+
+ public void setcMax(Integer cMax) {
+ this.cMax = cMax;
+ }
+
+ public Integer getCur() {
+ return cur;
+ }
+
+ public void setCur(Integer cur) {
+ this.cur = cur;
+ }
+
+ public Integer getAccess() {
+ return access;
+ }
+
+ public void setAccess(Integer access) {
+ this.access = access;
+ }
+
+ public Integer getHit() {
+ return hit;
+ }
+
+ public void setHit(Integer hit) {
+ this.hit = hit;
+ }
+
+ public Integer getPut() {
+ return put;
+ }
+
+ public void setPut(Integer put) {
+ this.put = put;
+ }
+
+ public Integer getLastAccess() {
+ return lastAccess;
+ }
+
+ public void setLastAccess(Integer lastAccess) {
+ this.lastAccess = lastAccess;
+ }
+
+ public Integer getLastPut() {
+ return lastPut;
+ }
+
+ public void setLastPut(Integer lastPut) {
+ this.lastPut = lastPut;
+ }
+
+ public Integer getServerId() {
+ return serverId;
+ }
+
+ public void setServerId(Integer serverId) {
+ this.serverId = serverId;
+ }
+
+ public Long getCollectTime() {
+ return collectTime;
+ }
+
+ public void setCollectTime(Long collectTime) {
+ this.collectTime = collectTime;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append(getClass().getSimpleName());
+ sb.append(" [");
+ sb.append("Hash = ").append(hashCode());
+ sb.append(", id=").append(id);
+ sb.append(", cache=").append(cache);
+ sb.append(", cMax=").append(cMax);
+ sb.append(", cur=").append(cur);
+ sb.append(", access=").append(access);
+ sb.append(", hit=").append(hit);
+ sb.append(", put=").append(put);
+ sb.append(", lastAccess=").append(lastAccess);
+ sb.append(", lastPut=").append(lastPut);
+ sb.append(", serverId=").append(serverId);
+ sb.append(", collectTime=").append(collectTime);
+ sb.append(", serialVersionUID=").append(serialVersionUID);
+ sb.append("]");
+ return sb.toString();
+ }
+}
\ No newline at end of file
diff --git a/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatCacheExample.java b/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatCacheExample.java
new file mode 100644
index 0000000000000000000000000000000000000000..409df66f9b1cdb04e7897f648c7af3d277bd83ef
--- /dev/null
+++ b/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatCacheExample.java
@@ -0,0 +1,870 @@
+package io.mycat.eye.agent.bean;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class MycatCacheExample {
+ protected String orderByClause;
+
+ protected boolean distinct;
+
+ protected List oredCriteria;
+
+ public MycatCacheExample() {
+ oredCriteria = new ArrayList();
+ }
+
+ public void setOrderByClause(String orderByClause) {
+ this.orderByClause = orderByClause;
+ }
+
+ public String getOrderByClause() {
+ return orderByClause;
+ }
+
+ public void setDistinct(boolean distinct) {
+ this.distinct = distinct;
+ }
+
+ public boolean isDistinct() {
+ return distinct;
+ }
+
+ public List getOredCriteria() {
+ return oredCriteria;
+ }
+
+ public void or(Criteria criteria) {
+ oredCriteria.add(criteria);
+ }
+
+ public Criteria or() {
+ Criteria criteria = createCriteriaInternal();
+ oredCriteria.add(criteria);
+ return criteria;
+ }
+
+ public Criteria createCriteria() {
+ Criteria criteria = createCriteriaInternal();
+ if (oredCriteria.size() == 0) {
+ oredCriteria.add(criteria);
+ }
+ return criteria;
+ }
+
+ protected Criteria createCriteriaInternal() {
+ Criteria criteria = new Criteria();
+ return criteria;
+ }
+
+ public void clear() {
+ oredCriteria.clear();
+ orderByClause = null;
+ distinct = false;
+ }
+
+ protected abstract static class GeneratedCriteria {
+ protected List criteria;
+
+ protected GeneratedCriteria() {
+ super();
+ criteria = new ArrayList();
+ }
+
+ public boolean isValid() {
+ return criteria.size() > 0;
+ }
+
+ public List getAllCriteria() {
+ return criteria;
+ }
+
+ public List getCriteria() {
+ return criteria;
+ }
+
+ protected void addCriterion(String condition) {
+ if (condition == null) {
+ throw new RuntimeException("Value for condition cannot be null");
+ }
+ criteria.add(new Criterion(condition));
+ }
+
+ protected void addCriterion(String condition, Object value, String property) {
+ if (value == null) {
+ throw new RuntimeException("Value for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value));
+ }
+
+ protected void addCriterion(String condition, Object value1, Object value2, String property) {
+ if (value1 == null || value2 == null) {
+ throw new RuntimeException("Between values for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value1, value2));
+ }
+
+ public Criteria andIdIsNull() {
+ addCriterion("id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIsNotNull() {
+ addCriterion("id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdEqualTo(Integer value) {
+ addCriterion("id =", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotEqualTo(Integer value) {
+ addCriterion("id <>", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThan(Integer value) {
+ addCriterion("id >", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThanOrEqualTo(Integer value) {
+ addCriterion("id >=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThan(Integer value) {
+ addCriterion("id <", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThanOrEqualTo(Integer value) {
+ addCriterion("id <=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIn(List values) {
+ addCriterion("id in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotIn(List values) {
+ addCriterion("id not in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdBetween(Integer value1, Integer value2) {
+ addCriterion("id between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotBetween(Integer value1, Integer value2) {
+ addCriterion("id not between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andCacheIsNull() {
+ addCriterion("cache is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCacheIsNotNull() {
+ addCriterion("cache is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCacheEqualTo(String value) {
+ addCriterion("cache =", value, "cache");
+ return (Criteria) this;
+ }
+
+ public Criteria andCacheNotEqualTo(String value) {
+ addCriterion("cache <>", value, "cache");
+ return (Criteria) this;
+ }
+
+ public Criteria andCacheGreaterThan(String value) {
+ addCriterion("cache >", value, "cache");
+ return (Criteria) this;
+ }
+
+ public Criteria andCacheGreaterThanOrEqualTo(String value) {
+ addCriterion("cache >=", value, "cache");
+ return (Criteria) this;
+ }
+
+ public Criteria andCacheLessThan(String value) {
+ addCriterion("cache <", value, "cache");
+ return (Criteria) this;
+ }
+
+ public Criteria andCacheLessThanOrEqualTo(String value) {
+ addCriterion("cache <=", value, "cache");
+ return (Criteria) this;
+ }
+
+ public Criteria andCacheLike(String value) {
+ addCriterion("cache like", value, "cache");
+ return (Criteria) this;
+ }
+
+ public Criteria andCacheNotLike(String value) {
+ addCriterion("cache not like", value, "cache");
+ return (Criteria) this;
+ }
+
+ public Criteria andCacheIn(List values) {
+ addCriterion("cache in", values, "cache");
+ return (Criteria) this;
+ }
+
+ public Criteria andCacheNotIn(List values) {
+ addCriterion("cache not in", values, "cache");
+ return (Criteria) this;
+ }
+
+ public Criteria andCacheBetween(String value1, String value2) {
+ addCriterion("cache between", value1, value2, "cache");
+ return (Criteria) this;
+ }
+
+ public Criteria andCacheNotBetween(String value1, String value2) {
+ addCriterion("cache not between", value1, value2, "cache");
+ return (Criteria) this;
+ }
+
+ public Criteria andCMaxIsNull() {
+ addCriterion("c_max is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCMaxIsNotNull() {
+ addCriterion("c_max is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCMaxEqualTo(Integer value) {
+ addCriterion("c_max =", value, "cMax");
+ return (Criteria) this;
+ }
+
+ public Criteria andCMaxNotEqualTo(Integer value) {
+ addCriterion("c_max <>", value, "cMax");
+ return (Criteria) this;
+ }
+
+ public Criteria andCMaxGreaterThan(Integer value) {
+ addCriterion("c_max >", value, "cMax");
+ return (Criteria) this;
+ }
+
+ public Criteria andCMaxGreaterThanOrEqualTo(Integer value) {
+ addCriterion("c_max >=", value, "cMax");
+ return (Criteria) this;
+ }
+
+ public Criteria andCMaxLessThan(Integer value) {
+ addCriterion("c_max <", value, "cMax");
+ return (Criteria) this;
+ }
+
+ public Criteria andCMaxLessThanOrEqualTo(Integer value) {
+ addCriterion("c_max <=", value, "cMax");
+ return (Criteria) this;
+ }
+
+ public Criteria andCMaxIn(List values) {
+ addCriterion("c_max in", values, "cMax");
+ return (Criteria) this;
+ }
+
+ public Criteria andCMaxNotIn(List values) {
+ addCriterion("c_max not in", values, "cMax");
+ return (Criteria) this;
+ }
+
+ public Criteria andCMaxBetween(Integer value1, Integer value2) {
+ addCriterion("c_max between", value1, value2, "cMax");
+ return (Criteria) this;
+ }
+
+ public Criteria andCMaxNotBetween(Integer value1, Integer value2) {
+ addCriterion("c_max not between", value1, value2, "cMax");
+ return (Criteria) this;
+ }
+
+ public Criteria andCurIsNull() {
+ addCriterion("cur is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCurIsNotNull() {
+ addCriterion("cur is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCurEqualTo(Integer value) {
+ addCriterion("cur =", value, "cur");
+ return (Criteria) this;
+ }
+
+ public Criteria andCurNotEqualTo(Integer value) {
+ addCriterion("cur <>", value, "cur");
+ return (Criteria) this;
+ }
+
+ public Criteria andCurGreaterThan(Integer value) {
+ addCriterion("cur >", value, "cur");
+ return (Criteria) this;
+ }
+
+ public Criteria andCurGreaterThanOrEqualTo(Integer value) {
+ addCriterion("cur >=", value, "cur");
+ return (Criteria) this;
+ }
+
+ public Criteria andCurLessThan(Integer value) {
+ addCriterion("cur <", value, "cur");
+ return (Criteria) this;
+ }
+
+ public Criteria andCurLessThanOrEqualTo(Integer value) {
+ addCriterion("cur <=", value, "cur");
+ return (Criteria) this;
+ }
+
+ public Criteria andCurIn(List values) {
+ addCriterion("cur in", values, "cur");
+ return (Criteria) this;
+ }
+
+ public Criteria andCurNotIn(List values) {
+ addCriterion("cur not in", values, "cur");
+ return (Criteria) this;
+ }
+
+ public Criteria andCurBetween(Integer value1, Integer value2) {
+ addCriterion("cur between", value1, value2, "cur");
+ return (Criteria) this;
+ }
+
+ public Criteria andCurNotBetween(Integer value1, Integer value2) {
+ addCriterion("cur not between", value1, value2, "cur");
+ return (Criteria) this;
+ }
+
+ public Criteria andAccessIsNull() {
+ addCriterion("access is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andAccessIsNotNull() {
+ addCriterion("access is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andAccessEqualTo(Integer value) {
+ addCriterion("access =", value, "access");
+ return (Criteria) this;
+ }
+
+ public Criteria andAccessNotEqualTo(Integer value) {
+ addCriterion("access <>", value, "access");
+ return (Criteria) this;
+ }
+
+ public Criteria andAccessGreaterThan(Integer value) {
+ addCriterion("access >", value, "access");
+ return (Criteria) this;
+ }
+
+ public Criteria andAccessGreaterThanOrEqualTo(Integer value) {
+ addCriterion("access >=", value, "access");
+ return (Criteria) this;
+ }
+
+ public Criteria andAccessLessThan(Integer value) {
+ addCriterion("access <", value, "access");
+ return (Criteria) this;
+ }
+
+ public Criteria andAccessLessThanOrEqualTo(Integer value) {
+ addCriterion("access <=", value, "access");
+ return (Criteria) this;
+ }
+
+ public Criteria andAccessIn(List values) {
+ addCriterion("access in", values, "access");
+ return (Criteria) this;
+ }
+
+ public Criteria andAccessNotIn(List values) {
+ addCriterion("access not in", values, "access");
+ return (Criteria) this;
+ }
+
+ public Criteria andAccessBetween(Integer value1, Integer value2) {
+ addCriterion("access between", value1, value2, "access");
+ return (Criteria) this;
+ }
+
+ public Criteria andAccessNotBetween(Integer value1, Integer value2) {
+ addCriterion("access not between", value1, value2, "access");
+ return (Criteria) this;
+ }
+
+ public Criteria andHitIsNull() {
+ addCriterion("hit is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andHitIsNotNull() {
+ addCriterion("hit is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andHitEqualTo(Integer value) {
+ addCriterion("hit =", value, "hit");
+ return (Criteria) this;
+ }
+
+ public Criteria andHitNotEqualTo(Integer value) {
+ addCriterion("hit <>", value, "hit");
+ return (Criteria) this;
+ }
+
+ public Criteria andHitGreaterThan(Integer value) {
+ addCriterion("hit >", value, "hit");
+ return (Criteria) this;
+ }
+
+ public Criteria andHitGreaterThanOrEqualTo(Integer value) {
+ addCriterion("hit >=", value, "hit");
+ return (Criteria) this;
+ }
+
+ public Criteria andHitLessThan(Integer value) {
+ addCriterion("hit <", value, "hit");
+ return (Criteria) this;
+ }
+
+ public Criteria andHitLessThanOrEqualTo(Integer value) {
+ addCriterion("hit <=", value, "hit");
+ return (Criteria) this;
+ }
+
+ public Criteria andHitIn(List values) {
+ addCriterion("hit in", values, "hit");
+ return (Criteria) this;
+ }
+
+ public Criteria andHitNotIn(List values) {
+ addCriterion("hit not in", values, "hit");
+ return (Criteria) this;
+ }
+
+ public Criteria andHitBetween(Integer value1, Integer value2) {
+ addCriterion("hit between", value1, value2, "hit");
+ return (Criteria) this;
+ }
+
+ public Criteria andHitNotBetween(Integer value1, Integer value2) {
+ addCriterion("hit not between", value1, value2, "hit");
+ return (Criteria) this;
+ }
+
+ public Criteria andPutIsNull() {
+ addCriterion("put is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andPutIsNotNull() {
+ addCriterion("put is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andPutEqualTo(Integer value) {
+ addCriterion("put =", value, "put");
+ return (Criteria) this;
+ }
+
+ public Criteria andPutNotEqualTo(Integer value) {
+ addCriterion("put <>", value, "put");
+ return (Criteria) this;
+ }
+
+ public Criteria andPutGreaterThan(Integer value) {
+ addCriterion("put >", value, "put");
+ return (Criteria) this;
+ }
+
+ public Criteria andPutGreaterThanOrEqualTo(Integer value) {
+ addCriterion("put >=", value, "put");
+ return (Criteria) this;
+ }
+
+ public Criteria andPutLessThan(Integer value) {
+ addCriterion("put <", value, "put");
+ return (Criteria) this;
+ }
+
+ public Criteria andPutLessThanOrEqualTo(Integer value) {
+ addCriterion("put <=", value, "put");
+ return (Criteria) this;
+ }
+
+ public Criteria andPutIn(List values) {
+ addCriterion("put in", values, "put");
+ return (Criteria) this;
+ }
+
+ public Criteria andPutNotIn(List values) {
+ addCriterion("put not in", values, "put");
+ return (Criteria) this;
+ }
+
+ public Criteria andPutBetween(Integer value1, Integer value2) {
+ addCriterion("put between", value1, value2, "put");
+ return (Criteria) this;
+ }
+
+ public Criteria andPutNotBetween(Integer value1, Integer value2) {
+ addCriterion("put not between", value1, value2, "put");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastAccessIsNull() {
+ addCriterion("last_access is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastAccessIsNotNull() {
+ addCriterion("last_access is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastAccessEqualTo(Integer value) {
+ addCriterion("last_access =", value, "lastAccess");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastAccessNotEqualTo(Integer value) {
+ addCriterion("last_access <>", value, "lastAccess");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastAccessGreaterThan(Integer value) {
+ addCriterion("last_access >", value, "lastAccess");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastAccessGreaterThanOrEqualTo(Integer value) {
+ addCriterion("last_access >=", value, "lastAccess");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastAccessLessThan(Integer value) {
+ addCriterion("last_access <", value, "lastAccess");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastAccessLessThanOrEqualTo(Integer value) {
+ addCriterion("last_access <=", value, "lastAccess");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastAccessIn(List values) {
+ addCriterion("last_access in", values, "lastAccess");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastAccessNotIn(List values) {
+ addCriterion("last_access not in", values, "lastAccess");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastAccessBetween(Integer value1, Integer value2) {
+ addCriterion("last_access between", value1, value2, "lastAccess");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastAccessNotBetween(Integer value1, Integer value2) {
+ addCriterion("last_access not between", value1, value2, "lastAccess");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastPutIsNull() {
+ addCriterion("last_put is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastPutIsNotNull() {
+ addCriterion("last_put is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastPutEqualTo(Integer value) {
+ addCriterion("last_put =", value, "lastPut");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastPutNotEqualTo(Integer value) {
+ addCriterion("last_put <>", value, "lastPut");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastPutGreaterThan(Integer value) {
+ addCriterion("last_put >", value, "lastPut");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastPutGreaterThanOrEqualTo(Integer value) {
+ addCriterion("last_put >=", value, "lastPut");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastPutLessThan(Integer value) {
+ addCriterion("last_put <", value, "lastPut");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastPutLessThanOrEqualTo(Integer value) {
+ addCriterion("last_put <=", value, "lastPut");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastPutIn(List values) {
+ addCriterion("last_put in", values, "lastPut");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastPutNotIn(List values) {
+ addCriterion("last_put not in", values, "lastPut");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastPutBetween(Integer value1, Integer value2) {
+ addCriterion("last_put between", value1, value2, "lastPut");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastPutNotBetween(Integer value1, Integer value2) {
+ addCriterion("last_put not between", value1, value2, "lastPut");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerIdIsNull() {
+ addCriterion("server_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerIdIsNotNull() {
+ addCriterion("server_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerIdEqualTo(Integer value) {
+ addCriterion("server_id =", value, "serverId");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerIdNotEqualTo(Integer value) {
+ addCriterion("server_id <>", value, "serverId");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerIdGreaterThan(Integer value) {
+ addCriterion("server_id >", value, "serverId");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerIdGreaterThanOrEqualTo(Integer value) {
+ addCriterion("server_id >=", value, "serverId");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerIdLessThan(Integer value) {
+ addCriterion("server_id <", value, "serverId");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerIdLessThanOrEqualTo(Integer value) {
+ addCriterion("server_id <=", value, "serverId");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerIdIn(List values) {
+ addCriterion("server_id in", values, "serverId");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerIdNotIn(List values) {
+ addCriterion("server_id not in", values, "serverId");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerIdBetween(Integer value1, Integer value2) {
+ addCriterion("server_id between", value1, value2, "serverId");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerIdNotBetween(Integer value1, Integer value2) {
+ addCriterion("server_id not between", value1, value2, "serverId");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeIsNull() {
+ addCriterion("collect_time is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeIsNotNull() {
+ addCriterion("collect_time is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeEqualTo(Long value) {
+ addCriterion("collect_time =", value, "collectTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeNotEqualTo(Long value) {
+ addCriterion("collect_time <>", value, "collectTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeGreaterThan(Long value) {
+ addCriterion("collect_time >", value, "collectTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeGreaterThanOrEqualTo(Long value) {
+ addCriterion("collect_time >=", value, "collectTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeLessThan(Long value) {
+ addCriterion("collect_time <", value, "collectTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeLessThanOrEqualTo(Long value) {
+ addCriterion("collect_time <=", value, "collectTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeIn(List values) {
+ addCriterion("collect_time in", values, "collectTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeNotIn(List values) {
+ addCriterion("collect_time not in", values, "collectTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeBetween(Long value1, Long value2) {
+ addCriterion("collect_time between", value1, value2, "collectTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeNotBetween(Long value1, Long value2) {
+ addCriterion("collect_time not between", value1, value2, "collectTime");
+ return (Criteria) this;
+ }
+ }
+
+ public static class Criteria extends GeneratedCriteria {
+
+ protected Criteria() {
+ super();
+ }
+ }
+
+ public static class Criterion {
+ private String condition;
+
+ private Object value;
+
+ private Object secondValue;
+
+ private boolean noValue;
+
+ private boolean singleValue;
+
+ private boolean betweenValue;
+
+ private boolean listValue;
+
+ private String typeHandler;
+
+ public String getCondition() {
+ return condition;
+ }
+
+ public Object getValue() {
+ return value;
+ }
+
+ public Object getSecondValue() {
+ return secondValue;
+ }
+
+ public boolean isNoValue() {
+ return noValue;
+ }
+
+ public boolean isSingleValue() {
+ return singleValue;
+ }
+
+ public boolean isBetweenValue() {
+ return betweenValue;
+ }
+
+ public boolean isListValue() {
+ return listValue;
+ }
+
+ public String getTypeHandler() {
+ return typeHandler;
+ }
+
+ protected Criterion(String condition) {
+ super();
+ this.condition = condition;
+ this.typeHandler = null;
+ this.noValue = true;
+ }
+
+ protected Criterion(String condition, Object value, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.typeHandler = typeHandler;
+ if (value instanceof List>) {
+ this.listValue = true;
+ } else {
+ this.singleValue = true;
+ }
+ }
+
+ protected Criterion(String condition, Object value) {
+ this(condition, value, null);
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.secondValue = secondValue;
+ this.typeHandler = typeHandler;
+ this.betweenValue = true;
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue) {
+ this(condition, value, secondValue, null);
+ }
+ }
+}
\ No newline at end of file
diff --git a/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatCluster.java b/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatCluster.java
new file mode 100644
index 0000000000000000000000000000000000000000..0b3eb58c299fa09fbe2c9029977f9278ad5bd034
--- /dev/null
+++ b/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatCluster.java
@@ -0,0 +1,84 @@
+package io.mycat.eye.agent.bean;
+
+import java.io.Serializable;
+
+public class MycatCluster implements Serializable {
+ private Integer id;
+
+ private String clusterName;
+
+ private String clusterHost;
+
+ private Integer clusterPort;
+
+ private Long createTime;
+
+ private Long lastUpdateTime;
+
+ private static final long serialVersionUID = 1L;
+
+ public Integer getId() {
+ return id;
+ }
+
+ public void setId(Integer id) {
+ this.id = id;
+ }
+
+ public String getClusterName() {
+ return clusterName;
+ }
+
+ public void setClusterName(String clusterName) {
+ this.clusterName = clusterName;
+ }
+
+ public String getClusterHost() {
+ return clusterHost;
+ }
+
+ public void setClusterHost(String clusterHost) {
+ this.clusterHost = clusterHost;
+ }
+
+ public Integer getClusterPort() {
+ return clusterPort;
+ }
+
+ public void setClusterPort(Integer clusterPort) {
+ this.clusterPort = clusterPort;
+ }
+
+ public Long getCreateTime() {
+ return createTime;
+ }
+
+ public void setCreateTime(Long createTime) {
+ this.createTime = createTime;
+ }
+
+ public Long getLastUpdateTime() {
+ return lastUpdateTime;
+ }
+
+ public void setLastUpdateTime(Long lastUpdateTime) {
+ this.lastUpdateTime = lastUpdateTime;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append(getClass().getSimpleName());
+ sb.append(" [");
+ sb.append("Hash = ").append(hashCode());
+ sb.append(", id=").append(id);
+ sb.append(", clusterName=").append(clusterName);
+ sb.append(", clusterHost=").append(clusterHost);
+ sb.append(", clusterPort=").append(clusterPort);
+ sb.append(", createTime=").append(createTime);
+ sb.append(", lastUpdateTime=").append(lastUpdateTime);
+ sb.append(", serialVersionUID=").append(serialVersionUID);
+ sb.append("]");
+ return sb.toString();
+ }
+}
\ No newline at end of file
diff --git a/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatClusterExample.java b/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatClusterExample.java
new file mode 100644
index 0000000000000000000000000000000000000000..2b38b66d825e33488c36ff8e7f5b95b2bca38332
--- /dev/null
+++ b/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatClusterExample.java
@@ -0,0 +1,580 @@
+package io.mycat.eye.agent.bean;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class MycatClusterExample {
+ protected String orderByClause;
+
+ protected boolean distinct;
+
+ protected List oredCriteria;
+
+ public MycatClusterExample() {
+ oredCriteria = new ArrayList();
+ }
+
+ public void setOrderByClause(String orderByClause) {
+ this.orderByClause = orderByClause;
+ }
+
+ public String getOrderByClause() {
+ return orderByClause;
+ }
+
+ public void setDistinct(boolean distinct) {
+ this.distinct = distinct;
+ }
+
+ public boolean isDistinct() {
+ return distinct;
+ }
+
+ public List getOredCriteria() {
+ return oredCriteria;
+ }
+
+ public void or(Criteria criteria) {
+ oredCriteria.add(criteria);
+ }
+
+ public Criteria or() {
+ Criteria criteria = createCriteriaInternal();
+ oredCriteria.add(criteria);
+ return criteria;
+ }
+
+ public Criteria createCriteria() {
+ Criteria criteria = createCriteriaInternal();
+ if (oredCriteria.size() == 0) {
+ oredCriteria.add(criteria);
+ }
+ return criteria;
+ }
+
+ protected Criteria createCriteriaInternal() {
+ Criteria criteria = new Criteria();
+ return criteria;
+ }
+
+ public void clear() {
+ oredCriteria.clear();
+ orderByClause = null;
+ distinct = false;
+ }
+
+ protected abstract static class GeneratedCriteria {
+ protected List criteria;
+
+ protected GeneratedCriteria() {
+ super();
+ criteria = new ArrayList();
+ }
+
+ public boolean isValid() {
+ return criteria.size() > 0;
+ }
+
+ public List getAllCriteria() {
+ return criteria;
+ }
+
+ public List getCriteria() {
+ return criteria;
+ }
+
+ protected void addCriterion(String condition) {
+ if (condition == null) {
+ throw new RuntimeException("Value for condition cannot be null");
+ }
+ criteria.add(new Criterion(condition));
+ }
+
+ protected void addCriterion(String condition, Object value, String property) {
+ if (value == null) {
+ throw new RuntimeException("Value for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value));
+ }
+
+ protected void addCriterion(String condition, Object value1, Object value2, String property) {
+ if (value1 == null || value2 == null) {
+ throw new RuntimeException("Between values for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value1, value2));
+ }
+
+ public Criteria andIdIsNull() {
+ addCriterion("id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIsNotNull() {
+ addCriterion("id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdEqualTo(Integer value) {
+ addCriterion("id =", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotEqualTo(Integer value) {
+ addCriterion("id <>", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThan(Integer value) {
+ addCriterion("id >", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThanOrEqualTo(Integer value) {
+ addCriterion("id >=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThan(Integer value) {
+ addCriterion("id <", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThanOrEqualTo(Integer value) {
+ addCriterion("id <=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIn(List values) {
+ addCriterion("id in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotIn(List values) {
+ addCriterion("id not in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdBetween(Integer value1, Integer value2) {
+ addCriterion("id between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotBetween(Integer value1, Integer value2) {
+ addCriterion("id not between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterNameIsNull() {
+ addCriterion("cluster_name is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterNameIsNotNull() {
+ addCriterion("cluster_name is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterNameEqualTo(String value) {
+ addCriterion("cluster_name =", value, "clusterName");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterNameNotEqualTo(String value) {
+ addCriterion("cluster_name <>", value, "clusterName");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterNameGreaterThan(String value) {
+ addCriterion("cluster_name >", value, "clusterName");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterNameGreaterThanOrEqualTo(String value) {
+ addCriterion("cluster_name >=", value, "clusterName");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterNameLessThan(String value) {
+ addCriterion("cluster_name <", value, "clusterName");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterNameLessThanOrEqualTo(String value) {
+ addCriterion("cluster_name <=", value, "clusterName");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterNameLike(String value) {
+ addCriterion("cluster_name like", value, "clusterName");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterNameNotLike(String value) {
+ addCriterion("cluster_name not like", value, "clusterName");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterNameIn(List values) {
+ addCriterion("cluster_name in", values, "clusterName");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterNameNotIn(List values) {
+ addCriterion("cluster_name not in", values, "clusterName");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterNameBetween(String value1, String value2) {
+ addCriterion("cluster_name between", value1, value2, "clusterName");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterNameNotBetween(String value1, String value2) {
+ addCriterion("cluster_name not between", value1, value2, "clusterName");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterHostIsNull() {
+ addCriterion("cluster_host is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterHostIsNotNull() {
+ addCriterion("cluster_host is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterHostEqualTo(String value) {
+ addCriterion("cluster_host =", value, "clusterHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterHostNotEqualTo(String value) {
+ addCriterion("cluster_host <>", value, "clusterHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterHostGreaterThan(String value) {
+ addCriterion("cluster_host >", value, "clusterHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterHostGreaterThanOrEqualTo(String value) {
+ addCriterion("cluster_host >=", value, "clusterHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterHostLessThan(String value) {
+ addCriterion("cluster_host <", value, "clusterHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterHostLessThanOrEqualTo(String value) {
+ addCriterion("cluster_host <=", value, "clusterHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterHostLike(String value) {
+ addCriterion("cluster_host like", value, "clusterHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterHostNotLike(String value) {
+ addCriterion("cluster_host not like", value, "clusterHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterHostIn(List values) {
+ addCriterion("cluster_host in", values, "clusterHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterHostNotIn(List values) {
+ addCriterion("cluster_host not in", values, "clusterHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterHostBetween(String value1, String value2) {
+ addCriterion("cluster_host between", value1, value2, "clusterHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterHostNotBetween(String value1, String value2) {
+ addCriterion("cluster_host not between", value1, value2, "clusterHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterPortIsNull() {
+ addCriterion("cluster_port is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterPortIsNotNull() {
+ addCriterion("cluster_port is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterPortEqualTo(Integer value) {
+ addCriterion("cluster_port =", value, "clusterPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterPortNotEqualTo(Integer value) {
+ addCriterion("cluster_port <>", value, "clusterPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterPortGreaterThan(Integer value) {
+ addCriterion("cluster_port >", value, "clusterPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterPortGreaterThanOrEqualTo(Integer value) {
+ addCriterion("cluster_port >=", value, "clusterPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterPortLessThan(Integer value) {
+ addCriterion("cluster_port <", value, "clusterPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterPortLessThanOrEqualTo(Integer value) {
+ addCriterion("cluster_port <=", value, "clusterPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterPortIn(List values) {
+ addCriterion("cluster_port in", values, "clusterPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterPortNotIn(List values) {
+ addCriterion("cluster_port not in", values, "clusterPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterPortBetween(Integer value1, Integer value2) {
+ addCriterion("cluster_port between", value1, value2, "clusterPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterPortNotBetween(Integer value1, Integer value2) {
+ addCriterion("cluster_port not between", value1, value2, "clusterPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeIsNull() {
+ addCriterion("create_time is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeIsNotNull() {
+ addCriterion("create_time is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeEqualTo(Long value) {
+ addCriterion("create_time =", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeNotEqualTo(Long value) {
+ addCriterion("create_time <>", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeGreaterThan(Long value) {
+ addCriterion("create_time >", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeGreaterThanOrEqualTo(Long value) {
+ addCriterion("create_time >=", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeLessThan(Long value) {
+ addCriterion("create_time <", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeLessThanOrEqualTo(Long value) {
+ addCriterion("create_time <=", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeIn(List values) {
+ addCriterion("create_time in", values, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeNotIn(List values) {
+ addCriterion("create_time not in", values, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeBetween(Long value1, Long value2) {
+ addCriterion("create_time between", value1, value2, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeNotBetween(Long value1, Long value2) {
+ addCriterion("create_time not between", value1, value2, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastUpdateTimeIsNull() {
+ addCriterion("last_update_time is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastUpdateTimeIsNotNull() {
+ addCriterion("last_update_time is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastUpdateTimeEqualTo(Long value) {
+ addCriterion("last_update_time =", value, "lastUpdateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastUpdateTimeNotEqualTo(Long value) {
+ addCriterion("last_update_time <>", value, "lastUpdateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastUpdateTimeGreaterThan(Long value) {
+ addCriterion("last_update_time >", value, "lastUpdateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastUpdateTimeGreaterThanOrEqualTo(Long value) {
+ addCriterion("last_update_time >=", value, "lastUpdateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastUpdateTimeLessThan(Long value) {
+ addCriterion("last_update_time <", value, "lastUpdateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastUpdateTimeLessThanOrEqualTo(Long value) {
+ addCriterion("last_update_time <=", value, "lastUpdateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastUpdateTimeIn(List values) {
+ addCriterion("last_update_time in", values, "lastUpdateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastUpdateTimeNotIn(List values) {
+ addCriterion("last_update_time not in", values, "lastUpdateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastUpdateTimeBetween(Long value1, Long value2) {
+ addCriterion("last_update_time between", value1, value2, "lastUpdateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastUpdateTimeNotBetween(Long value1, Long value2) {
+ addCriterion("last_update_time not between", value1, value2, "lastUpdateTime");
+ return (Criteria) this;
+ }
+ }
+
+ public static class Criteria extends GeneratedCriteria {
+
+ protected Criteria() {
+ super();
+ }
+ }
+
+ public static class Criterion {
+ private String condition;
+
+ private Object value;
+
+ private Object secondValue;
+
+ private boolean noValue;
+
+ private boolean singleValue;
+
+ private boolean betweenValue;
+
+ private boolean listValue;
+
+ private String typeHandler;
+
+ public String getCondition() {
+ return condition;
+ }
+
+ public Object getValue() {
+ return value;
+ }
+
+ public Object getSecondValue() {
+ return secondValue;
+ }
+
+ public boolean isNoValue() {
+ return noValue;
+ }
+
+ public boolean isSingleValue() {
+ return singleValue;
+ }
+
+ public boolean isBetweenValue() {
+ return betweenValue;
+ }
+
+ public boolean isListValue() {
+ return listValue;
+ }
+
+ public String getTypeHandler() {
+ return typeHandler;
+ }
+
+ protected Criterion(String condition) {
+ super();
+ this.condition = condition;
+ this.typeHandler = null;
+ this.noValue = true;
+ }
+
+ protected Criterion(String condition, Object value, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.typeHandler = typeHandler;
+ if (value instanceof List>) {
+ this.listValue = true;
+ } else {
+ this.singleValue = true;
+ }
+ }
+
+ protected Criterion(String condition, Object value) {
+ this(condition, value, null);
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.secondValue = secondValue;
+ this.typeHandler = typeHandler;
+ this.betweenValue = true;
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue) {
+ this(condition, value, secondValue, null);
+ }
+ }
+}
\ No newline at end of file
diff --git a/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatConnection.java b/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatConnection.java
new file mode 100644
index 0000000000000000000000000000000000000000..0fd60a04dd97f87b57fb6dc2d4e134975133de08
--- /dev/null
+++ b/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatConnection.java
@@ -0,0 +1,205 @@
+package io.mycat.eye.agent.bean;
+
+import java.io.Serializable;
+
+public class MycatConnection implements Serializable {
+ private Integer id;
+
+ private String processor;
+
+ private String cHost;
+
+ private Integer cPort;
+
+ private Integer lPort;
+
+ private Long netIn;
+
+ private Long netOut;
+
+ private String cUser;
+
+ private String cSchema;
+
+ private String cCharset;
+
+ private Long aliveTime;
+
+ private Integer recvBuffer;
+
+ private Integer sendQueue;
+
+ private String txlevel;
+
+ private String autocommit;
+
+ private Integer mycatId;
+
+ private Long collectTime;
+
+ private static final long serialVersionUID = 1L;
+
+ public Integer getId() {
+ return id;
+ }
+
+ public void setId(Integer id) {
+ this.id = id;
+ }
+
+ public String getProcessor() {
+ return processor;
+ }
+
+ public void setProcessor(String processor) {
+ this.processor = processor;
+ }
+
+ public String getcHost() {
+ return cHost;
+ }
+
+ public void setcHost(String cHost) {
+ this.cHost = cHost;
+ }
+
+ public Integer getcPort() {
+ return cPort;
+ }
+
+ public void setcPort(Integer cPort) {
+ this.cPort = cPort;
+ }
+
+ public Integer getlPort() {
+ return lPort;
+ }
+
+ public void setlPort(Integer lPort) {
+ this.lPort = lPort;
+ }
+
+ public Long getNetIn() {
+ return netIn;
+ }
+
+ public void setNetIn(Long netIn) {
+ this.netIn = netIn;
+ }
+
+ public Long getNetOut() {
+ return netOut;
+ }
+
+ public void setNetOut(Long netOut) {
+ this.netOut = netOut;
+ }
+
+ public String getcUser() {
+ return cUser;
+ }
+
+ public void setcUser(String cUser) {
+ this.cUser = cUser;
+ }
+
+ public String getcSchema() {
+ return cSchema;
+ }
+
+ public void setcSchema(String cSchema) {
+ this.cSchema = cSchema;
+ }
+
+ public String getcCharset() {
+ return cCharset;
+ }
+
+ public void setcCharset(String cCharset) {
+ this.cCharset = cCharset;
+ }
+
+ public Long getAliveTime() {
+ return aliveTime;
+ }
+
+ public void setAliveTime(Long aliveTime) {
+ this.aliveTime = aliveTime;
+ }
+
+ public Integer getRecvBuffer() {
+ return recvBuffer;
+ }
+
+ public void setRecvBuffer(Integer recvBuffer) {
+ this.recvBuffer = recvBuffer;
+ }
+
+ public Integer getSendQueue() {
+ return sendQueue;
+ }
+
+ public void setSendQueue(Integer sendQueue) {
+ this.sendQueue = sendQueue;
+ }
+
+ public String getTxlevel() {
+ return txlevel;
+ }
+
+ public void setTxlevel(String txlevel) {
+ this.txlevel = txlevel;
+ }
+
+ public String getAutocommit() {
+ return autocommit;
+ }
+
+ public void setAutocommit(String autocommit) {
+ this.autocommit = autocommit;
+ }
+
+ public Integer getMycatId() {
+ return mycatId;
+ }
+
+ public void setMycatId(Integer mycatId) {
+ this.mycatId = mycatId;
+ }
+
+ public Long getCollectTime() {
+ return collectTime;
+ }
+
+ public void setCollectTime(Long collectTime) {
+ this.collectTime = collectTime;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append(getClass().getSimpleName());
+ sb.append(" [");
+ sb.append("Hash = ").append(hashCode());
+ sb.append(", id=").append(id);
+ sb.append(", processor=").append(processor);
+ sb.append(", cHost=").append(cHost);
+ sb.append(", cPort=").append(cPort);
+ sb.append(", lPort=").append(lPort);
+ sb.append(", netIn=").append(netIn);
+ sb.append(", netOut=").append(netOut);
+ sb.append(", cUser=").append(cUser);
+ sb.append(", cSchema=").append(cSchema);
+ sb.append(", cCharset=").append(cCharset);
+ sb.append(", aliveTime=").append(aliveTime);
+ sb.append(", recvBuffer=").append(recvBuffer);
+ sb.append(", sendQueue=").append(sendQueue);
+ sb.append(", txlevel=").append(txlevel);
+ sb.append(", autocommit=").append(autocommit);
+ sb.append(", mycatId=").append(mycatId);
+ sb.append(", collectTime=").append(collectTime);
+ sb.append(", serialVersionUID=").append(serialVersionUID);
+ sb.append("]");
+ return sb.toString();
+ }
+}
\ No newline at end of file
diff --git a/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatConnectionExample.java b/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatConnectionExample.java
new file mode 100644
index 0000000000000000000000000000000000000000..cc516ca1d9533282ac6841d04a0f9882b68af504
--- /dev/null
+++ b/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatConnectionExample.java
@@ -0,0 +1,1290 @@
+package io.mycat.eye.agent.bean;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class MycatConnectionExample {
+ protected String orderByClause;
+
+ protected boolean distinct;
+
+ protected List oredCriteria;
+
+ public MycatConnectionExample() {
+ oredCriteria = new ArrayList();
+ }
+
+ public void setOrderByClause(String orderByClause) {
+ this.orderByClause = orderByClause;
+ }
+
+ public String getOrderByClause() {
+ return orderByClause;
+ }
+
+ public void setDistinct(boolean distinct) {
+ this.distinct = distinct;
+ }
+
+ public boolean isDistinct() {
+ return distinct;
+ }
+
+ public List getOredCriteria() {
+ return oredCriteria;
+ }
+
+ public void or(Criteria criteria) {
+ oredCriteria.add(criteria);
+ }
+
+ public Criteria or() {
+ Criteria criteria = createCriteriaInternal();
+ oredCriteria.add(criteria);
+ return criteria;
+ }
+
+ public Criteria createCriteria() {
+ Criteria criteria = createCriteriaInternal();
+ if (oredCriteria.size() == 0) {
+ oredCriteria.add(criteria);
+ }
+ return criteria;
+ }
+
+ protected Criteria createCriteriaInternal() {
+ Criteria criteria = new Criteria();
+ return criteria;
+ }
+
+ public void clear() {
+ oredCriteria.clear();
+ orderByClause = null;
+ distinct = false;
+ }
+
+ protected abstract static class GeneratedCriteria {
+ protected List criteria;
+
+ protected GeneratedCriteria() {
+ super();
+ criteria = new ArrayList();
+ }
+
+ public boolean isValid() {
+ return criteria.size() > 0;
+ }
+
+ public List getAllCriteria() {
+ return criteria;
+ }
+
+ public List getCriteria() {
+ return criteria;
+ }
+
+ protected void addCriterion(String condition) {
+ if (condition == null) {
+ throw new RuntimeException("Value for condition cannot be null");
+ }
+ criteria.add(new Criterion(condition));
+ }
+
+ protected void addCriterion(String condition, Object value, String property) {
+ if (value == null) {
+ throw new RuntimeException("Value for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value));
+ }
+
+ protected void addCriterion(String condition, Object value1, Object value2, String property) {
+ if (value1 == null || value2 == null) {
+ throw new RuntimeException("Between values for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value1, value2));
+ }
+
+ public Criteria andIdIsNull() {
+ addCriterion("id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIsNotNull() {
+ addCriterion("id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdEqualTo(Integer value) {
+ addCriterion("id =", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotEqualTo(Integer value) {
+ addCriterion("id <>", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThan(Integer value) {
+ addCriterion("id >", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThanOrEqualTo(Integer value) {
+ addCriterion("id >=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThan(Integer value) {
+ addCriterion("id <", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThanOrEqualTo(Integer value) {
+ addCriterion("id <=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIn(List values) {
+ addCriterion("id in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotIn(List values) {
+ addCriterion("id not in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdBetween(Integer value1, Integer value2) {
+ addCriterion("id between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotBetween(Integer value1, Integer value2) {
+ addCriterion("id not between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andProcessorIsNull() {
+ addCriterion("processor is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andProcessorIsNotNull() {
+ addCriterion("processor is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andProcessorEqualTo(String value) {
+ addCriterion("processor =", value, "processor");
+ return (Criteria) this;
+ }
+
+ public Criteria andProcessorNotEqualTo(String value) {
+ addCriterion("processor <>", value, "processor");
+ return (Criteria) this;
+ }
+
+ public Criteria andProcessorGreaterThan(String value) {
+ addCriterion("processor >", value, "processor");
+ return (Criteria) this;
+ }
+
+ public Criteria andProcessorGreaterThanOrEqualTo(String value) {
+ addCriterion("processor >=", value, "processor");
+ return (Criteria) this;
+ }
+
+ public Criteria andProcessorLessThan(String value) {
+ addCriterion("processor <", value, "processor");
+ return (Criteria) this;
+ }
+
+ public Criteria andProcessorLessThanOrEqualTo(String value) {
+ addCriterion("processor <=", value, "processor");
+ return (Criteria) this;
+ }
+
+ public Criteria andProcessorLike(String value) {
+ addCriterion("processor like", value, "processor");
+ return (Criteria) this;
+ }
+
+ public Criteria andProcessorNotLike(String value) {
+ addCriterion("processor not like", value, "processor");
+ return (Criteria) this;
+ }
+
+ public Criteria andProcessorIn(List values) {
+ addCriterion("processor in", values, "processor");
+ return (Criteria) this;
+ }
+
+ public Criteria andProcessorNotIn(List values) {
+ addCriterion("processor not in", values, "processor");
+ return (Criteria) this;
+ }
+
+ public Criteria andProcessorBetween(String value1, String value2) {
+ addCriterion("processor between", value1, value2, "processor");
+ return (Criteria) this;
+ }
+
+ public Criteria andProcessorNotBetween(String value1, String value2) {
+ addCriterion("processor not between", value1, value2, "processor");
+ return (Criteria) this;
+ }
+
+ public Criteria andCHostIsNull() {
+ addCriterion("c_host is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCHostIsNotNull() {
+ addCriterion("c_host is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCHostEqualTo(String value) {
+ addCriterion("c_host =", value, "cHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andCHostNotEqualTo(String value) {
+ addCriterion("c_host <>", value, "cHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andCHostGreaterThan(String value) {
+ addCriterion("c_host >", value, "cHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andCHostGreaterThanOrEqualTo(String value) {
+ addCriterion("c_host >=", value, "cHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andCHostLessThan(String value) {
+ addCriterion("c_host <", value, "cHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andCHostLessThanOrEqualTo(String value) {
+ addCriterion("c_host <=", value, "cHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andCHostLike(String value) {
+ addCriterion("c_host like", value, "cHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andCHostNotLike(String value) {
+ addCriterion("c_host not like", value, "cHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andCHostIn(List values) {
+ addCriterion("c_host in", values, "cHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andCHostNotIn(List values) {
+ addCriterion("c_host not in", values, "cHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andCHostBetween(String value1, String value2) {
+ addCriterion("c_host between", value1, value2, "cHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andCHostNotBetween(String value1, String value2) {
+ addCriterion("c_host not between", value1, value2, "cHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andCPortIsNull() {
+ addCriterion("c_port is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCPortIsNotNull() {
+ addCriterion("c_port is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCPortEqualTo(Integer value) {
+ addCriterion("c_port =", value, "cPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andCPortNotEqualTo(Integer value) {
+ addCriterion("c_port <>", value, "cPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andCPortGreaterThan(Integer value) {
+ addCriterion("c_port >", value, "cPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andCPortGreaterThanOrEqualTo(Integer value) {
+ addCriterion("c_port >=", value, "cPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andCPortLessThan(Integer value) {
+ addCriterion("c_port <", value, "cPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andCPortLessThanOrEqualTo(Integer value) {
+ addCriterion("c_port <=", value, "cPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andCPortIn(List values) {
+ addCriterion("c_port in", values, "cPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andCPortNotIn(List values) {
+ addCriterion("c_port not in", values, "cPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andCPortBetween(Integer value1, Integer value2) {
+ addCriterion("c_port between", value1, value2, "cPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andCPortNotBetween(Integer value1, Integer value2) {
+ addCriterion("c_port not between", value1, value2, "cPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andLPortIsNull() {
+ addCriterion("l_port is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andLPortIsNotNull() {
+ addCriterion("l_port is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andLPortEqualTo(Integer value) {
+ addCriterion("l_port =", value, "lPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andLPortNotEqualTo(Integer value) {
+ addCriterion("l_port <>", value, "lPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andLPortGreaterThan(Integer value) {
+ addCriterion("l_port >", value, "lPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andLPortGreaterThanOrEqualTo(Integer value) {
+ addCriterion("l_port >=", value, "lPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andLPortLessThan(Integer value) {
+ addCriterion("l_port <", value, "lPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andLPortLessThanOrEqualTo(Integer value) {
+ addCriterion("l_port <=", value, "lPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andLPortIn(List values) {
+ addCriterion("l_port in", values, "lPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andLPortNotIn(List values) {
+ addCriterion("l_port not in", values, "lPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andLPortBetween(Integer value1, Integer value2) {
+ addCriterion("l_port between", value1, value2, "lPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andLPortNotBetween(Integer value1, Integer value2) {
+ addCriterion("l_port not between", value1, value2, "lPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInIsNull() {
+ addCriterion("net_in is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInIsNotNull() {
+ addCriterion("net_in is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInEqualTo(Long value) {
+ addCriterion("net_in =", value, "netIn");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInNotEqualTo(Long value) {
+ addCriterion("net_in <>", value, "netIn");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInGreaterThan(Long value) {
+ addCriterion("net_in >", value, "netIn");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInGreaterThanOrEqualTo(Long value) {
+ addCriterion("net_in >=", value, "netIn");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInLessThan(Long value) {
+ addCriterion("net_in <", value, "netIn");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInLessThanOrEqualTo(Long value) {
+ addCriterion("net_in <=", value, "netIn");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInIn(List values) {
+ addCriterion("net_in in", values, "netIn");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInNotIn(List values) {
+ addCriterion("net_in not in", values, "netIn");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInBetween(Long value1, Long value2) {
+ addCriterion("net_in between", value1, value2, "netIn");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInNotBetween(Long value1, Long value2) {
+ addCriterion("net_in not between", value1, value2, "netIn");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOutIsNull() {
+ addCriterion("net_out is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOutIsNotNull() {
+ addCriterion("net_out is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOutEqualTo(Long value) {
+ addCriterion("net_out =", value, "netOut");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOutNotEqualTo(Long value) {
+ addCriterion("net_out <>", value, "netOut");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOutGreaterThan(Long value) {
+ addCriterion("net_out >", value, "netOut");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOutGreaterThanOrEqualTo(Long value) {
+ addCriterion("net_out >=", value, "netOut");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOutLessThan(Long value) {
+ addCriterion("net_out <", value, "netOut");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOutLessThanOrEqualTo(Long value) {
+ addCriterion("net_out <=", value, "netOut");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOutIn(List values) {
+ addCriterion("net_out in", values, "netOut");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOutNotIn(List values) {
+ addCriterion("net_out not in", values, "netOut");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOutBetween(Long value1, Long value2) {
+ addCriterion("net_out between", value1, value2, "netOut");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOutNotBetween(Long value1, Long value2) {
+ addCriterion("net_out not between", value1, value2, "netOut");
+ return (Criteria) this;
+ }
+
+ public Criteria andCUserIsNull() {
+ addCriterion("c_user is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCUserIsNotNull() {
+ addCriterion("c_user is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCUserEqualTo(String value) {
+ addCriterion("c_user =", value, "cUser");
+ return (Criteria) this;
+ }
+
+ public Criteria andCUserNotEqualTo(String value) {
+ addCriterion("c_user <>", value, "cUser");
+ return (Criteria) this;
+ }
+
+ public Criteria andCUserGreaterThan(String value) {
+ addCriterion("c_user >", value, "cUser");
+ return (Criteria) this;
+ }
+
+ public Criteria andCUserGreaterThanOrEqualTo(String value) {
+ addCriterion("c_user >=", value, "cUser");
+ return (Criteria) this;
+ }
+
+ public Criteria andCUserLessThan(String value) {
+ addCriterion("c_user <", value, "cUser");
+ return (Criteria) this;
+ }
+
+ public Criteria andCUserLessThanOrEqualTo(String value) {
+ addCriterion("c_user <=", value, "cUser");
+ return (Criteria) this;
+ }
+
+ public Criteria andCUserLike(String value) {
+ addCriterion("c_user like", value, "cUser");
+ return (Criteria) this;
+ }
+
+ public Criteria andCUserNotLike(String value) {
+ addCriterion("c_user not like", value, "cUser");
+ return (Criteria) this;
+ }
+
+ public Criteria andCUserIn(List values) {
+ addCriterion("c_user in", values, "cUser");
+ return (Criteria) this;
+ }
+
+ public Criteria andCUserNotIn(List values) {
+ addCriterion("c_user not in", values, "cUser");
+ return (Criteria) this;
+ }
+
+ public Criteria andCUserBetween(String value1, String value2) {
+ addCriterion("c_user between", value1, value2, "cUser");
+ return (Criteria) this;
+ }
+
+ public Criteria andCUserNotBetween(String value1, String value2) {
+ addCriterion("c_user not between", value1, value2, "cUser");
+ return (Criteria) this;
+ }
+
+ public Criteria andCSchemaIsNull() {
+ addCriterion("c_schema is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCSchemaIsNotNull() {
+ addCriterion("c_schema is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCSchemaEqualTo(String value) {
+ addCriterion("c_schema =", value, "cSchema");
+ return (Criteria) this;
+ }
+
+ public Criteria andCSchemaNotEqualTo(String value) {
+ addCriterion("c_schema <>", value, "cSchema");
+ return (Criteria) this;
+ }
+
+ public Criteria andCSchemaGreaterThan(String value) {
+ addCriterion("c_schema >", value, "cSchema");
+ return (Criteria) this;
+ }
+
+ public Criteria andCSchemaGreaterThanOrEqualTo(String value) {
+ addCriterion("c_schema >=", value, "cSchema");
+ return (Criteria) this;
+ }
+
+ public Criteria andCSchemaLessThan(String value) {
+ addCriterion("c_schema <", value, "cSchema");
+ return (Criteria) this;
+ }
+
+ public Criteria andCSchemaLessThanOrEqualTo(String value) {
+ addCriterion("c_schema <=", value, "cSchema");
+ return (Criteria) this;
+ }
+
+ public Criteria andCSchemaLike(String value) {
+ addCriterion("c_schema like", value, "cSchema");
+ return (Criteria) this;
+ }
+
+ public Criteria andCSchemaNotLike(String value) {
+ addCriterion("c_schema not like", value, "cSchema");
+ return (Criteria) this;
+ }
+
+ public Criteria andCSchemaIn(List values) {
+ addCriterion("c_schema in", values, "cSchema");
+ return (Criteria) this;
+ }
+
+ public Criteria andCSchemaNotIn(List values) {
+ addCriterion("c_schema not in", values, "cSchema");
+ return (Criteria) this;
+ }
+
+ public Criteria andCSchemaBetween(String value1, String value2) {
+ addCriterion("c_schema between", value1, value2, "cSchema");
+ return (Criteria) this;
+ }
+
+ public Criteria andCSchemaNotBetween(String value1, String value2) {
+ addCriterion("c_schema not between", value1, value2, "cSchema");
+ return (Criteria) this;
+ }
+
+ public Criteria andCCharsetIsNull() {
+ addCriterion("c_charset is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCCharsetIsNotNull() {
+ addCriterion("c_charset is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCCharsetEqualTo(String value) {
+ addCriterion("c_charset =", value, "cCharset");
+ return (Criteria) this;
+ }
+
+ public Criteria andCCharsetNotEqualTo(String value) {
+ addCriterion("c_charset <>", value, "cCharset");
+ return (Criteria) this;
+ }
+
+ public Criteria andCCharsetGreaterThan(String value) {
+ addCriterion("c_charset >", value, "cCharset");
+ return (Criteria) this;
+ }
+
+ public Criteria andCCharsetGreaterThanOrEqualTo(String value) {
+ addCriterion("c_charset >=", value, "cCharset");
+ return (Criteria) this;
+ }
+
+ public Criteria andCCharsetLessThan(String value) {
+ addCriterion("c_charset <", value, "cCharset");
+ return (Criteria) this;
+ }
+
+ public Criteria andCCharsetLessThanOrEqualTo(String value) {
+ addCriterion("c_charset <=", value, "cCharset");
+ return (Criteria) this;
+ }
+
+ public Criteria andCCharsetLike(String value) {
+ addCriterion("c_charset like", value, "cCharset");
+ return (Criteria) this;
+ }
+
+ public Criteria andCCharsetNotLike(String value) {
+ addCriterion("c_charset not like", value, "cCharset");
+ return (Criteria) this;
+ }
+
+ public Criteria andCCharsetIn(List values) {
+ addCriterion("c_charset in", values, "cCharset");
+ return (Criteria) this;
+ }
+
+ public Criteria andCCharsetNotIn(List values) {
+ addCriterion("c_charset not in", values, "cCharset");
+ return (Criteria) this;
+ }
+
+ public Criteria andCCharsetBetween(String value1, String value2) {
+ addCriterion("c_charset between", value1, value2, "cCharset");
+ return (Criteria) this;
+ }
+
+ public Criteria andCCharsetNotBetween(String value1, String value2) {
+ addCriterion("c_charset not between", value1, value2, "cCharset");
+ return (Criteria) this;
+ }
+
+ public Criteria andAliveTimeIsNull() {
+ addCriterion("alive_time is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andAliveTimeIsNotNull() {
+ addCriterion("alive_time is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andAliveTimeEqualTo(Long value) {
+ addCriterion("alive_time =", value, "aliveTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andAliveTimeNotEqualTo(Long value) {
+ addCriterion("alive_time <>", value, "aliveTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andAliveTimeGreaterThan(Long value) {
+ addCriterion("alive_time >", value, "aliveTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andAliveTimeGreaterThanOrEqualTo(Long value) {
+ addCriterion("alive_time >=", value, "aliveTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andAliveTimeLessThan(Long value) {
+ addCriterion("alive_time <", value, "aliveTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andAliveTimeLessThanOrEqualTo(Long value) {
+ addCriterion("alive_time <=", value, "aliveTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andAliveTimeIn(List values) {
+ addCriterion("alive_time in", values, "aliveTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andAliveTimeNotIn(List values) {
+ addCriterion("alive_time not in", values, "aliveTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andAliveTimeBetween(Long value1, Long value2) {
+ addCriterion("alive_time between", value1, value2, "aliveTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andAliveTimeNotBetween(Long value1, Long value2) {
+ addCriterion("alive_time not between", value1, value2, "aliveTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecvBufferIsNull() {
+ addCriterion("recv_buffer is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecvBufferIsNotNull() {
+ addCriterion("recv_buffer is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecvBufferEqualTo(Integer value) {
+ addCriterion("recv_buffer =", value, "recvBuffer");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecvBufferNotEqualTo(Integer value) {
+ addCriterion("recv_buffer <>", value, "recvBuffer");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecvBufferGreaterThan(Integer value) {
+ addCriterion("recv_buffer >", value, "recvBuffer");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecvBufferGreaterThanOrEqualTo(Integer value) {
+ addCriterion("recv_buffer >=", value, "recvBuffer");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecvBufferLessThan(Integer value) {
+ addCriterion("recv_buffer <", value, "recvBuffer");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecvBufferLessThanOrEqualTo(Integer value) {
+ addCriterion("recv_buffer <=", value, "recvBuffer");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecvBufferIn(List values) {
+ addCriterion("recv_buffer in", values, "recvBuffer");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecvBufferNotIn(List values) {
+ addCriterion("recv_buffer not in", values, "recvBuffer");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecvBufferBetween(Integer value1, Integer value2) {
+ addCriterion("recv_buffer between", value1, value2, "recvBuffer");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecvBufferNotBetween(Integer value1, Integer value2) {
+ addCriterion("recv_buffer not between", value1, value2, "recvBuffer");
+ return (Criteria) this;
+ }
+
+ public Criteria andSendQueueIsNull() {
+ addCriterion("send_queue is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andSendQueueIsNotNull() {
+ addCriterion("send_queue is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andSendQueueEqualTo(Integer value) {
+ addCriterion("send_queue =", value, "sendQueue");
+ return (Criteria) this;
+ }
+
+ public Criteria andSendQueueNotEqualTo(Integer value) {
+ addCriterion("send_queue <>", value, "sendQueue");
+ return (Criteria) this;
+ }
+
+ public Criteria andSendQueueGreaterThan(Integer value) {
+ addCriterion("send_queue >", value, "sendQueue");
+ return (Criteria) this;
+ }
+
+ public Criteria andSendQueueGreaterThanOrEqualTo(Integer value) {
+ addCriterion("send_queue >=", value, "sendQueue");
+ return (Criteria) this;
+ }
+
+ public Criteria andSendQueueLessThan(Integer value) {
+ addCriterion("send_queue <", value, "sendQueue");
+ return (Criteria) this;
+ }
+
+ public Criteria andSendQueueLessThanOrEqualTo(Integer value) {
+ addCriterion("send_queue <=", value, "sendQueue");
+ return (Criteria) this;
+ }
+
+ public Criteria andSendQueueIn(List values) {
+ addCriterion("send_queue in", values, "sendQueue");
+ return (Criteria) this;
+ }
+
+ public Criteria andSendQueueNotIn(List values) {
+ addCriterion("send_queue not in", values, "sendQueue");
+ return (Criteria) this;
+ }
+
+ public Criteria andSendQueueBetween(Integer value1, Integer value2) {
+ addCriterion("send_queue between", value1, value2, "sendQueue");
+ return (Criteria) this;
+ }
+
+ public Criteria andSendQueueNotBetween(Integer value1, Integer value2) {
+ addCriterion("send_queue not between", value1, value2, "sendQueue");
+ return (Criteria) this;
+ }
+
+ public Criteria andTxlevelIsNull() {
+ addCriterion("txlevel is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andTxlevelIsNotNull() {
+ addCriterion("txlevel is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andTxlevelEqualTo(String value) {
+ addCriterion("txlevel =", value, "txlevel");
+ return (Criteria) this;
+ }
+
+ public Criteria andTxlevelNotEqualTo(String value) {
+ addCriterion("txlevel <>", value, "txlevel");
+ return (Criteria) this;
+ }
+
+ public Criteria andTxlevelGreaterThan(String value) {
+ addCriterion("txlevel >", value, "txlevel");
+ return (Criteria) this;
+ }
+
+ public Criteria andTxlevelGreaterThanOrEqualTo(String value) {
+ addCriterion("txlevel >=", value, "txlevel");
+ return (Criteria) this;
+ }
+
+ public Criteria andTxlevelLessThan(String value) {
+ addCriterion("txlevel <", value, "txlevel");
+ return (Criteria) this;
+ }
+
+ public Criteria andTxlevelLessThanOrEqualTo(String value) {
+ addCriterion("txlevel <=", value, "txlevel");
+ return (Criteria) this;
+ }
+
+ public Criteria andTxlevelLike(String value) {
+ addCriterion("txlevel like", value, "txlevel");
+ return (Criteria) this;
+ }
+
+ public Criteria andTxlevelNotLike(String value) {
+ addCriterion("txlevel not like", value, "txlevel");
+ return (Criteria) this;
+ }
+
+ public Criteria andTxlevelIn(List values) {
+ addCriterion("txlevel in", values, "txlevel");
+ return (Criteria) this;
+ }
+
+ public Criteria andTxlevelNotIn(List values) {
+ addCriterion("txlevel not in", values, "txlevel");
+ return (Criteria) this;
+ }
+
+ public Criteria andTxlevelBetween(String value1, String value2) {
+ addCriterion("txlevel between", value1, value2, "txlevel");
+ return (Criteria) this;
+ }
+
+ public Criteria andTxlevelNotBetween(String value1, String value2) {
+ addCriterion("txlevel not between", value1, value2, "txlevel");
+ return (Criteria) this;
+ }
+
+ public Criteria andAutocommitIsNull() {
+ addCriterion("autocommit is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andAutocommitIsNotNull() {
+ addCriterion("autocommit is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andAutocommitEqualTo(String value) {
+ addCriterion("autocommit =", value, "autocommit");
+ return (Criteria) this;
+ }
+
+ public Criteria andAutocommitNotEqualTo(String value) {
+ addCriterion("autocommit <>", value, "autocommit");
+ return (Criteria) this;
+ }
+
+ public Criteria andAutocommitGreaterThan(String value) {
+ addCriterion("autocommit >", value, "autocommit");
+ return (Criteria) this;
+ }
+
+ public Criteria andAutocommitGreaterThanOrEqualTo(String value) {
+ addCriterion("autocommit >=", value, "autocommit");
+ return (Criteria) this;
+ }
+
+ public Criteria andAutocommitLessThan(String value) {
+ addCriterion("autocommit <", value, "autocommit");
+ return (Criteria) this;
+ }
+
+ public Criteria andAutocommitLessThanOrEqualTo(String value) {
+ addCriterion("autocommit <=", value, "autocommit");
+ return (Criteria) this;
+ }
+
+ public Criteria andAutocommitLike(String value) {
+ addCriterion("autocommit like", value, "autocommit");
+ return (Criteria) this;
+ }
+
+ public Criteria andAutocommitNotLike(String value) {
+ addCriterion("autocommit not like", value, "autocommit");
+ return (Criteria) this;
+ }
+
+ public Criteria andAutocommitIn(List values) {
+ addCriterion("autocommit in", values, "autocommit");
+ return (Criteria) this;
+ }
+
+ public Criteria andAutocommitNotIn(List values) {
+ addCriterion("autocommit not in", values, "autocommit");
+ return (Criteria) this;
+ }
+
+ public Criteria andAutocommitBetween(String value1, String value2) {
+ addCriterion("autocommit between", value1, value2, "autocommit");
+ return (Criteria) this;
+ }
+
+ public Criteria andAutocommitNotBetween(String value1, String value2) {
+ addCriterion("autocommit not between", value1, value2, "autocommit");
+ return (Criteria) this;
+ }
+
+ public Criteria andMycatIdIsNull() {
+ addCriterion("mycat_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andMycatIdIsNotNull() {
+ addCriterion("mycat_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andMycatIdEqualTo(Integer value) {
+ addCriterion("mycat_id =", value, "mycatId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMycatIdNotEqualTo(Integer value) {
+ addCriterion("mycat_id <>", value, "mycatId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMycatIdGreaterThan(Integer value) {
+ addCriterion("mycat_id >", value, "mycatId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMycatIdGreaterThanOrEqualTo(Integer value) {
+ addCriterion("mycat_id >=", value, "mycatId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMycatIdLessThan(Integer value) {
+ addCriterion("mycat_id <", value, "mycatId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMycatIdLessThanOrEqualTo(Integer value) {
+ addCriterion("mycat_id <=", value, "mycatId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMycatIdIn(List values) {
+ addCriterion("mycat_id in", values, "mycatId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMycatIdNotIn(List values) {
+ addCriterion("mycat_id not in", values, "mycatId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMycatIdBetween(Integer value1, Integer value2) {
+ addCriterion("mycat_id between", value1, value2, "mycatId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMycatIdNotBetween(Integer value1, Integer value2) {
+ addCriterion("mycat_id not between", value1, value2, "mycatId");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeIsNull() {
+ addCriterion("collect_time is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeIsNotNull() {
+ addCriterion("collect_time is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeEqualTo(Long value) {
+ addCriterion("collect_time =", value, "collectTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeNotEqualTo(Long value) {
+ addCriterion("collect_time <>", value, "collectTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeGreaterThan(Long value) {
+ addCriterion("collect_time >", value, "collectTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeGreaterThanOrEqualTo(Long value) {
+ addCriterion("collect_time >=", value, "collectTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeLessThan(Long value) {
+ addCriterion("collect_time <", value, "collectTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeLessThanOrEqualTo(Long value) {
+ addCriterion("collect_time <=", value, "collectTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeIn(List values) {
+ addCriterion("collect_time in", values, "collectTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeNotIn(List values) {
+ addCriterion("collect_time not in", values, "collectTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeBetween(Long value1, Long value2) {
+ addCriterion("collect_time between", value1, value2, "collectTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeNotBetween(Long value1, Long value2) {
+ addCriterion("collect_time not between", value1, value2, "collectTime");
+ return (Criteria) this;
+ }
+ }
+
+ public static class Criteria extends GeneratedCriteria {
+
+ protected Criteria() {
+ super();
+ }
+ }
+
+ public static class Criterion {
+ private String condition;
+
+ private Object value;
+
+ private Object secondValue;
+
+ private boolean noValue;
+
+ private boolean singleValue;
+
+ private boolean betweenValue;
+
+ private boolean listValue;
+
+ private String typeHandler;
+
+ public String getCondition() {
+ return condition;
+ }
+
+ public Object getValue() {
+ return value;
+ }
+
+ public Object getSecondValue() {
+ return secondValue;
+ }
+
+ public boolean isNoValue() {
+ return noValue;
+ }
+
+ public boolean isSingleValue() {
+ return singleValue;
+ }
+
+ public boolean isBetweenValue() {
+ return betweenValue;
+ }
+
+ public boolean isListValue() {
+ return listValue;
+ }
+
+ public String getTypeHandler() {
+ return typeHandler;
+ }
+
+ protected Criterion(String condition) {
+ super();
+ this.condition = condition;
+ this.typeHandler = null;
+ this.noValue = true;
+ }
+
+ protected Criterion(String condition, Object value, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.typeHandler = typeHandler;
+ if (value instanceof List>) {
+ this.listValue = true;
+ } else {
+ this.singleValue = true;
+ }
+ }
+
+ protected Criterion(String condition, Object value) {
+ this(condition, value, null);
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.secondValue = secondValue;
+ this.typeHandler = typeHandler;
+ this.betweenValue = true;
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue) {
+ this(condition, value, secondValue, null);
+ }
+ }
+}
\ No newline at end of file
diff --git a/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatDataNode.java b/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatDataNode.java
new file mode 100644
index 0000000000000000000000000000000000000000..7614c6286df9c20c022735f9ca1a89fedccb92d5
--- /dev/null
+++ b/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatDataNode.java
@@ -0,0 +1,161 @@
+package io.mycat.eye.agent.bean;
+
+import java.io.Serializable;
+
+public class MycatDataNode extends MycatDataNodeKey implements Serializable {
+ private String datahost;
+
+ private Integer dIndex;
+
+ private String dType;
+
+ private Integer dActive;
+
+ private Integer dIdle;
+
+ private Integer dSize;
+
+ private Long dExecute;
+
+ private Double totalTime;
+
+ private Double maxTime;
+
+ private Long maxSql;
+
+ private Long recoveryTime;
+
+ private Long collectTime;
+
+ private Integer serverId;
+
+ private static final long serialVersionUID = 1L;
+
+ public String getDatahost() {
+ return datahost;
+ }
+
+ public void setDatahost(String datahost) {
+ this.datahost = datahost;
+ }
+
+ public Integer getdIndex() {
+ return dIndex;
+ }
+
+ public void setdIndex(Integer dIndex) {
+ this.dIndex = dIndex;
+ }
+
+ public String getdType() {
+ return dType;
+ }
+
+ public void setdType(String dType) {
+ this.dType = dType;
+ }
+
+ public Integer getdActive() {
+ return dActive;
+ }
+
+ public void setdActive(Integer dActive) {
+ this.dActive = dActive;
+ }
+
+ public Integer getdIdle() {
+ return dIdle;
+ }
+
+ public void setdIdle(Integer dIdle) {
+ this.dIdle = dIdle;
+ }
+
+ public Integer getdSize() {
+ return dSize;
+ }
+
+ public void setdSize(Integer dSize) {
+ this.dSize = dSize;
+ }
+
+ public Long getdExecute() {
+ return dExecute;
+ }
+
+ public void setdExecute(Long dExecute) {
+ this.dExecute = dExecute;
+ }
+
+ public Double getTotalTime() {
+ return totalTime;
+ }
+
+ public void setTotalTime(Double totalTime) {
+ this.totalTime = totalTime;
+ }
+
+ public Double getMaxTime() {
+ return maxTime;
+ }
+
+ public void setMaxTime(Double maxTime) {
+ this.maxTime = maxTime;
+ }
+
+ public Long getMaxSql() {
+ return maxSql;
+ }
+
+ public void setMaxSql(Long maxSql) {
+ this.maxSql = maxSql;
+ }
+
+ public Long getRecoveryTime() {
+ return recoveryTime;
+ }
+
+ public void setRecoveryTime(Long recoveryTime) {
+ this.recoveryTime = recoveryTime;
+ }
+
+ public Long getCollectTime() {
+ return collectTime;
+ }
+
+ public void setCollectTime(Long collectTime) {
+ this.collectTime = collectTime;
+ }
+
+ public Integer getServerId() {
+ return serverId;
+ }
+
+ public void setServerId(Integer serverId) {
+ this.serverId = serverId;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append(getClass().getSimpleName());
+ sb.append(" [");
+ sb.append("Hash = ").append(hashCode());
+ sb.append(", datahost=").append(datahost);
+ sb.append(", dIndex=").append(dIndex);
+ sb.append(", dType=").append(dType);
+ sb.append(", dActive=").append(dActive);
+ sb.append(", dIdle=").append(dIdle);
+ sb.append(", dSize=").append(dSize);
+ sb.append(", dExecute=").append(dExecute);
+ sb.append(", totalTime=").append(totalTime);
+ sb.append(", maxTime=").append(maxTime);
+ sb.append(", maxSql=").append(maxSql);
+ sb.append(", recoveryTime=").append(recoveryTime);
+ sb.append(", collectTime=").append(collectTime);
+ sb.append(", serverId=").append(serverId);
+ sb.append(", serialVersionUID=").append(serialVersionUID);
+ sb.append("]");
+ return sb.toString();
+ }
+}
\ No newline at end of file
diff --git a/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatDataNodeExample.java b/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatDataNodeExample.java
new file mode 100644
index 0000000000000000000000000000000000000000..44a55b08225376ead60fb36950a6aff610538825
--- /dev/null
+++ b/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatDataNodeExample.java
@@ -0,0 +1,1130 @@
+package io.mycat.eye.agent.bean;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class MycatDataNodeExample {
+ protected String orderByClause;
+
+ protected boolean distinct;
+
+ protected List oredCriteria;
+
+ public MycatDataNodeExample() {
+ oredCriteria = new ArrayList();
+ }
+
+ public void setOrderByClause(String orderByClause) {
+ this.orderByClause = orderByClause;
+ }
+
+ public String getOrderByClause() {
+ return orderByClause;
+ }
+
+ public void setDistinct(boolean distinct) {
+ this.distinct = distinct;
+ }
+
+ public boolean isDistinct() {
+ return distinct;
+ }
+
+ public List getOredCriteria() {
+ return oredCriteria;
+ }
+
+ public void or(Criteria criteria) {
+ oredCriteria.add(criteria);
+ }
+
+ public Criteria or() {
+ Criteria criteria = createCriteriaInternal();
+ oredCriteria.add(criteria);
+ return criteria;
+ }
+
+ public Criteria createCriteria() {
+ Criteria criteria = createCriteriaInternal();
+ if (oredCriteria.size() == 0) {
+ oredCriteria.add(criteria);
+ }
+ return criteria;
+ }
+
+ protected Criteria createCriteriaInternal() {
+ Criteria criteria = new Criteria();
+ return criteria;
+ }
+
+ public void clear() {
+ oredCriteria.clear();
+ orderByClause = null;
+ distinct = false;
+ }
+
+ protected abstract static class GeneratedCriteria {
+ protected List criteria;
+
+ protected GeneratedCriteria() {
+ super();
+ criteria = new ArrayList();
+ }
+
+ public boolean isValid() {
+ return criteria.size() > 0;
+ }
+
+ public List getAllCriteria() {
+ return criteria;
+ }
+
+ public List getCriteria() {
+ return criteria;
+ }
+
+ protected void addCriterion(String condition) {
+ if (condition == null) {
+ throw new RuntimeException("Value for condition cannot be null");
+ }
+ criteria.add(new Criterion(condition));
+ }
+
+ protected void addCriterion(String condition, Object value, String property) {
+ if (value == null) {
+ throw new RuntimeException("Value for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value));
+ }
+
+ protected void addCriterion(String condition, Object value1, Object value2, String property) {
+ if (value1 == null || value2 == null) {
+ throw new RuntimeException("Between values for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value1, value2));
+ }
+
+ public Criteria andIdIsNull() {
+ addCriterion("id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIsNotNull() {
+ addCriterion("id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdEqualTo(Integer value) {
+ addCriterion("id =", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotEqualTo(Integer value) {
+ addCriterion("id <>", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThan(Integer value) {
+ addCriterion("id >", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThanOrEqualTo(Integer value) {
+ addCriterion("id >=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThan(Integer value) {
+ addCriterion("id <", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThanOrEqualTo(Integer value) {
+ addCriterion("id <=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIn(List values) {
+ addCriterion("id in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotIn(List values) {
+ addCriterion("id not in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdBetween(Integer value1, Integer value2) {
+ addCriterion("id between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotBetween(Integer value1, Integer value2) {
+ addCriterion("id not between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameIsNull() {
+ addCriterion("name is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameIsNotNull() {
+ addCriterion("name is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameEqualTo(String value) {
+ addCriterion("name =", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotEqualTo(String value) {
+ addCriterion("name <>", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameGreaterThan(String value) {
+ addCriterion("name >", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameGreaterThanOrEqualTo(String value) {
+ addCriterion("name >=", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameLessThan(String value) {
+ addCriterion("name <", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameLessThanOrEqualTo(String value) {
+ addCriterion("name <=", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameLike(String value) {
+ addCriterion("name like", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotLike(String value) {
+ addCriterion("name not like", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameIn(List values) {
+ addCriterion("name in", values, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotIn(List values) {
+ addCriterion("name not in", values, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameBetween(String value1, String value2) {
+ addCriterion("name between", value1, value2, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotBetween(String value1, String value2) {
+ addCriterion("name not between", value1, value2, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andDatahostIsNull() {
+ addCriterion("datahost is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andDatahostIsNotNull() {
+ addCriterion("datahost is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andDatahostEqualTo(String value) {
+ addCriterion("datahost =", value, "datahost");
+ return (Criteria) this;
+ }
+
+ public Criteria andDatahostNotEqualTo(String value) {
+ addCriterion("datahost <>", value, "datahost");
+ return (Criteria) this;
+ }
+
+ public Criteria andDatahostGreaterThan(String value) {
+ addCriterion("datahost >", value, "datahost");
+ return (Criteria) this;
+ }
+
+ public Criteria andDatahostGreaterThanOrEqualTo(String value) {
+ addCriterion("datahost >=", value, "datahost");
+ return (Criteria) this;
+ }
+
+ public Criteria andDatahostLessThan(String value) {
+ addCriterion("datahost <", value, "datahost");
+ return (Criteria) this;
+ }
+
+ public Criteria andDatahostLessThanOrEqualTo(String value) {
+ addCriterion("datahost <=", value, "datahost");
+ return (Criteria) this;
+ }
+
+ public Criteria andDatahostLike(String value) {
+ addCriterion("datahost like", value, "datahost");
+ return (Criteria) this;
+ }
+
+ public Criteria andDatahostNotLike(String value) {
+ addCriterion("datahost not like", value, "datahost");
+ return (Criteria) this;
+ }
+
+ public Criteria andDatahostIn(List values) {
+ addCriterion("datahost in", values, "datahost");
+ return (Criteria) this;
+ }
+
+ public Criteria andDatahostNotIn(List values) {
+ addCriterion("datahost not in", values, "datahost");
+ return (Criteria) this;
+ }
+
+ public Criteria andDatahostBetween(String value1, String value2) {
+ addCriterion("datahost between", value1, value2, "datahost");
+ return (Criteria) this;
+ }
+
+ public Criteria andDatahostNotBetween(String value1, String value2) {
+ addCriterion("datahost not between", value1, value2, "datahost");
+ return (Criteria) this;
+ }
+
+ public Criteria andDIndexIsNull() {
+ addCriterion("d_index is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andDIndexIsNotNull() {
+ addCriterion("d_index is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andDIndexEqualTo(Integer value) {
+ addCriterion("d_index =", value, "dIndex");
+ return (Criteria) this;
+ }
+
+ public Criteria andDIndexNotEqualTo(Integer value) {
+ addCriterion("d_index <>", value, "dIndex");
+ return (Criteria) this;
+ }
+
+ public Criteria andDIndexGreaterThan(Integer value) {
+ addCriterion("d_index >", value, "dIndex");
+ return (Criteria) this;
+ }
+
+ public Criteria andDIndexGreaterThanOrEqualTo(Integer value) {
+ addCriterion("d_index >=", value, "dIndex");
+ return (Criteria) this;
+ }
+
+ public Criteria andDIndexLessThan(Integer value) {
+ addCriterion("d_index <", value, "dIndex");
+ return (Criteria) this;
+ }
+
+ public Criteria andDIndexLessThanOrEqualTo(Integer value) {
+ addCriterion("d_index <=", value, "dIndex");
+ return (Criteria) this;
+ }
+
+ public Criteria andDIndexIn(List values) {
+ addCriterion("d_index in", values, "dIndex");
+ return (Criteria) this;
+ }
+
+ public Criteria andDIndexNotIn(List values) {
+ addCriterion("d_index not in", values, "dIndex");
+ return (Criteria) this;
+ }
+
+ public Criteria andDIndexBetween(Integer value1, Integer value2) {
+ addCriterion("d_index between", value1, value2, "dIndex");
+ return (Criteria) this;
+ }
+
+ public Criteria andDIndexNotBetween(Integer value1, Integer value2) {
+ addCriterion("d_index not between", value1, value2, "dIndex");
+ return (Criteria) this;
+ }
+
+ public Criteria andDTypeIsNull() {
+ addCriterion("d_type is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andDTypeIsNotNull() {
+ addCriterion("d_type is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andDTypeEqualTo(String value) {
+ addCriterion("d_type =", value, "dType");
+ return (Criteria) this;
+ }
+
+ public Criteria andDTypeNotEqualTo(String value) {
+ addCriterion("d_type <>", value, "dType");
+ return (Criteria) this;
+ }
+
+ public Criteria andDTypeGreaterThan(String value) {
+ addCriterion("d_type >", value, "dType");
+ return (Criteria) this;
+ }
+
+ public Criteria andDTypeGreaterThanOrEqualTo(String value) {
+ addCriterion("d_type >=", value, "dType");
+ return (Criteria) this;
+ }
+
+ public Criteria andDTypeLessThan(String value) {
+ addCriterion("d_type <", value, "dType");
+ return (Criteria) this;
+ }
+
+ public Criteria andDTypeLessThanOrEqualTo(String value) {
+ addCriterion("d_type <=", value, "dType");
+ return (Criteria) this;
+ }
+
+ public Criteria andDTypeLike(String value) {
+ addCriterion("d_type like", value, "dType");
+ return (Criteria) this;
+ }
+
+ public Criteria andDTypeNotLike(String value) {
+ addCriterion("d_type not like", value, "dType");
+ return (Criteria) this;
+ }
+
+ public Criteria andDTypeIn(List values) {
+ addCriterion("d_type in", values, "dType");
+ return (Criteria) this;
+ }
+
+ public Criteria andDTypeNotIn(List values) {
+ addCriterion("d_type not in", values, "dType");
+ return (Criteria) this;
+ }
+
+ public Criteria andDTypeBetween(String value1, String value2) {
+ addCriterion("d_type between", value1, value2, "dType");
+ return (Criteria) this;
+ }
+
+ public Criteria andDTypeNotBetween(String value1, String value2) {
+ addCriterion("d_type not between", value1, value2, "dType");
+ return (Criteria) this;
+ }
+
+ public Criteria andDActiveIsNull() {
+ addCriterion("d_active is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andDActiveIsNotNull() {
+ addCriterion("d_active is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andDActiveEqualTo(Integer value) {
+ addCriterion("d_active =", value, "dActive");
+ return (Criteria) this;
+ }
+
+ public Criteria andDActiveNotEqualTo(Integer value) {
+ addCriterion("d_active <>", value, "dActive");
+ return (Criteria) this;
+ }
+
+ public Criteria andDActiveGreaterThan(Integer value) {
+ addCriterion("d_active >", value, "dActive");
+ return (Criteria) this;
+ }
+
+ public Criteria andDActiveGreaterThanOrEqualTo(Integer value) {
+ addCriterion("d_active >=", value, "dActive");
+ return (Criteria) this;
+ }
+
+ public Criteria andDActiveLessThan(Integer value) {
+ addCriterion("d_active <", value, "dActive");
+ return (Criteria) this;
+ }
+
+ public Criteria andDActiveLessThanOrEqualTo(Integer value) {
+ addCriterion("d_active <=", value, "dActive");
+ return (Criteria) this;
+ }
+
+ public Criteria andDActiveIn(List values) {
+ addCriterion("d_active in", values, "dActive");
+ return (Criteria) this;
+ }
+
+ public Criteria andDActiveNotIn(List values) {
+ addCriterion("d_active not in", values, "dActive");
+ return (Criteria) this;
+ }
+
+ public Criteria andDActiveBetween(Integer value1, Integer value2) {
+ addCriterion("d_active between", value1, value2, "dActive");
+ return (Criteria) this;
+ }
+
+ public Criteria andDActiveNotBetween(Integer value1, Integer value2) {
+ addCriterion("d_active not between", value1, value2, "dActive");
+ return (Criteria) this;
+ }
+
+ public Criteria andDIdleIsNull() {
+ addCriterion("d_idle is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andDIdleIsNotNull() {
+ addCriterion("d_idle is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andDIdleEqualTo(Integer value) {
+ addCriterion("d_idle =", value, "dIdle");
+ return (Criteria) this;
+ }
+
+ public Criteria andDIdleNotEqualTo(Integer value) {
+ addCriterion("d_idle <>", value, "dIdle");
+ return (Criteria) this;
+ }
+
+ public Criteria andDIdleGreaterThan(Integer value) {
+ addCriterion("d_idle >", value, "dIdle");
+ return (Criteria) this;
+ }
+
+ public Criteria andDIdleGreaterThanOrEqualTo(Integer value) {
+ addCriterion("d_idle >=", value, "dIdle");
+ return (Criteria) this;
+ }
+
+ public Criteria andDIdleLessThan(Integer value) {
+ addCriterion("d_idle <", value, "dIdle");
+ return (Criteria) this;
+ }
+
+ public Criteria andDIdleLessThanOrEqualTo(Integer value) {
+ addCriterion("d_idle <=", value, "dIdle");
+ return (Criteria) this;
+ }
+
+ public Criteria andDIdleIn(List values) {
+ addCriterion("d_idle in", values, "dIdle");
+ return (Criteria) this;
+ }
+
+ public Criteria andDIdleNotIn(List values) {
+ addCriterion("d_idle not in", values, "dIdle");
+ return (Criteria) this;
+ }
+
+ public Criteria andDIdleBetween(Integer value1, Integer value2) {
+ addCriterion("d_idle between", value1, value2, "dIdle");
+ return (Criteria) this;
+ }
+
+ public Criteria andDIdleNotBetween(Integer value1, Integer value2) {
+ addCriterion("d_idle not between", value1, value2, "dIdle");
+ return (Criteria) this;
+ }
+
+ public Criteria andDSizeIsNull() {
+ addCriterion("d_size is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andDSizeIsNotNull() {
+ addCriterion("d_size is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andDSizeEqualTo(Integer value) {
+ addCriterion("d_size =", value, "dSize");
+ return (Criteria) this;
+ }
+
+ public Criteria andDSizeNotEqualTo(Integer value) {
+ addCriterion("d_size <>", value, "dSize");
+ return (Criteria) this;
+ }
+
+ public Criteria andDSizeGreaterThan(Integer value) {
+ addCriterion("d_size >", value, "dSize");
+ return (Criteria) this;
+ }
+
+ public Criteria andDSizeGreaterThanOrEqualTo(Integer value) {
+ addCriterion("d_size >=", value, "dSize");
+ return (Criteria) this;
+ }
+
+ public Criteria andDSizeLessThan(Integer value) {
+ addCriterion("d_size <", value, "dSize");
+ return (Criteria) this;
+ }
+
+ public Criteria andDSizeLessThanOrEqualTo(Integer value) {
+ addCriterion("d_size <=", value, "dSize");
+ return (Criteria) this;
+ }
+
+ public Criteria andDSizeIn(List values) {
+ addCriterion("d_size in", values, "dSize");
+ return (Criteria) this;
+ }
+
+ public Criteria andDSizeNotIn(List values) {
+ addCriterion("d_size not in", values, "dSize");
+ return (Criteria) this;
+ }
+
+ public Criteria andDSizeBetween(Integer value1, Integer value2) {
+ addCriterion("d_size between", value1, value2, "dSize");
+ return (Criteria) this;
+ }
+
+ public Criteria andDSizeNotBetween(Integer value1, Integer value2) {
+ addCriterion("d_size not between", value1, value2, "dSize");
+ return (Criteria) this;
+ }
+
+ public Criteria andDExecuteIsNull() {
+ addCriterion("d_execute is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andDExecuteIsNotNull() {
+ addCriterion("d_execute is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andDExecuteEqualTo(Long value) {
+ addCriterion("d_execute =", value, "dExecute");
+ return (Criteria) this;
+ }
+
+ public Criteria andDExecuteNotEqualTo(Long value) {
+ addCriterion("d_execute <>", value, "dExecute");
+ return (Criteria) this;
+ }
+
+ public Criteria andDExecuteGreaterThan(Long value) {
+ addCriterion("d_execute >", value, "dExecute");
+ return (Criteria) this;
+ }
+
+ public Criteria andDExecuteGreaterThanOrEqualTo(Long value) {
+ addCriterion("d_execute >=", value, "dExecute");
+ return (Criteria) this;
+ }
+
+ public Criteria andDExecuteLessThan(Long value) {
+ addCriterion("d_execute <", value, "dExecute");
+ return (Criteria) this;
+ }
+
+ public Criteria andDExecuteLessThanOrEqualTo(Long value) {
+ addCriterion("d_execute <=", value, "dExecute");
+ return (Criteria) this;
+ }
+
+ public Criteria andDExecuteIn(List values) {
+ addCriterion("d_execute in", values, "dExecute");
+ return (Criteria) this;
+ }
+
+ public Criteria andDExecuteNotIn(List values) {
+ addCriterion("d_execute not in", values, "dExecute");
+ return (Criteria) this;
+ }
+
+ public Criteria andDExecuteBetween(Long value1, Long value2) {
+ addCriterion("d_execute between", value1, value2, "dExecute");
+ return (Criteria) this;
+ }
+
+ public Criteria andDExecuteNotBetween(Long value1, Long value2) {
+ addCriterion("d_execute not between", value1, value2, "dExecute");
+ return (Criteria) this;
+ }
+
+ public Criteria andTotalTimeIsNull() {
+ addCriterion("total_time is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andTotalTimeIsNotNull() {
+ addCriterion("total_time is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andTotalTimeEqualTo(Double value) {
+ addCriterion("total_time =", value, "totalTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andTotalTimeNotEqualTo(Double value) {
+ addCriterion("total_time <>", value, "totalTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andTotalTimeGreaterThan(Double value) {
+ addCriterion("total_time >", value, "totalTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andTotalTimeGreaterThanOrEqualTo(Double value) {
+ addCriterion("total_time >=", value, "totalTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andTotalTimeLessThan(Double value) {
+ addCriterion("total_time <", value, "totalTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andTotalTimeLessThanOrEqualTo(Double value) {
+ addCriterion("total_time <=", value, "totalTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andTotalTimeIn(List values) {
+ addCriterion("total_time in", values, "totalTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andTotalTimeNotIn(List values) {
+ addCriterion("total_time not in", values, "totalTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andTotalTimeBetween(Double value1, Double value2) {
+ addCriterion("total_time between", value1, value2, "totalTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andTotalTimeNotBetween(Double value1, Double value2) {
+ addCriterion("total_time not between", value1, value2, "totalTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andMaxTimeIsNull() {
+ addCriterion("max_time is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andMaxTimeIsNotNull() {
+ addCriterion("max_time is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andMaxTimeEqualTo(Double value) {
+ addCriterion("max_time =", value, "maxTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andMaxTimeNotEqualTo(Double value) {
+ addCriterion("max_time <>", value, "maxTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andMaxTimeGreaterThan(Double value) {
+ addCriterion("max_time >", value, "maxTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andMaxTimeGreaterThanOrEqualTo(Double value) {
+ addCriterion("max_time >=", value, "maxTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andMaxTimeLessThan(Double value) {
+ addCriterion("max_time <", value, "maxTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andMaxTimeLessThanOrEqualTo(Double value) {
+ addCriterion("max_time <=", value, "maxTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andMaxTimeIn(List values) {
+ addCriterion("max_time in", values, "maxTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andMaxTimeNotIn(List values) {
+ addCriterion("max_time not in", values, "maxTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andMaxTimeBetween(Double value1, Double value2) {
+ addCriterion("max_time between", value1, value2, "maxTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andMaxTimeNotBetween(Double value1, Double value2) {
+ addCriterion("max_time not between", value1, value2, "maxTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andMaxSqlIsNull() {
+ addCriterion("max_sql is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andMaxSqlIsNotNull() {
+ addCriterion("max_sql is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andMaxSqlEqualTo(Long value) {
+ addCriterion("max_sql =", value, "maxSql");
+ return (Criteria) this;
+ }
+
+ public Criteria andMaxSqlNotEqualTo(Long value) {
+ addCriterion("max_sql <>", value, "maxSql");
+ return (Criteria) this;
+ }
+
+ public Criteria andMaxSqlGreaterThan(Long value) {
+ addCriterion("max_sql >", value, "maxSql");
+ return (Criteria) this;
+ }
+
+ public Criteria andMaxSqlGreaterThanOrEqualTo(Long value) {
+ addCriterion("max_sql >=", value, "maxSql");
+ return (Criteria) this;
+ }
+
+ public Criteria andMaxSqlLessThan(Long value) {
+ addCriterion("max_sql <", value, "maxSql");
+ return (Criteria) this;
+ }
+
+ public Criteria andMaxSqlLessThanOrEqualTo(Long value) {
+ addCriterion("max_sql <=", value, "maxSql");
+ return (Criteria) this;
+ }
+
+ public Criteria andMaxSqlIn(List values) {
+ addCriterion("max_sql in", values, "maxSql");
+ return (Criteria) this;
+ }
+
+ public Criteria andMaxSqlNotIn(List values) {
+ addCriterion("max_sql not in", values, "maxSql");
+ return (Criteria) this;
+ }
+
+ public Criteria andMaxSqlBetween(Long value1, Long value2) {
+ addCriterion("max_sql between", value1, value2, "maxSql");
+ return (Criteria) this;
+ }
+
+ public Criteria andMaxSqlNotBetween(Long value1, Long value2) {
+ addCriterion("max_sql not between", value1, value2, "maxSql");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecoveryTimeIsNull() {
+ addCriterion("recovery_time is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecoveryTimeIsNotNull() {
+ addCriterion("recovery_time is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecoveryTimeEqualTo(Long value) {
+ addCriterion("recovery_time =", value, "recoveryTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecoveryTimeNotEqualTo(Long value) {
+ addCriterion("recovery_time <>", value, "recoveryTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecoveryTimeGreaterThan(Long value) {
+ addCriterion("recovery_time >", value, "recoveryTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecoveryTimeGreaterThanOrEqualTo(Long value) {
+ addCriterion("recovery_time >=", value, "recoveryTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecoveryTimeLessThan(Long value) {
+ addCriterion("recovery_time <", value, "recoveryTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecoveryTimeLessThanOrEqualTo(Long value) {
+ addCriterion("recovery_time <=", value, "recoveryTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecoveryTimeIn(List values) {
+ addCriterion("recovery_time in", values, "recoveryTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecoveryTimeNotIn(List values) {
+ addCriterion("recovery_time not in", values, "recoveryTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecoveryTimeBetween(Long value1, Long value2) {
+ addCriterion("recovery_time between", value1, value2, "recoveryTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecoveryTimeNotBetween(Long value1, Long value2) {
+ addCriterion("recovery_time not between", value1, value2, "recoveryTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeIsNull() {
+ addCriterion("collect_time is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeIsNotNull() {
+ addCriterion("collect_time is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeEqualTo(Long value) {
+ addCriterion("collect_time =", value, "collectTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeNotEqualTo(Long value) {
+ addCriterion("collect_time <>", value, "collectTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeGreaterThan(Long value) {
+ addCriterion("collect_time >", value, "collectTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeGreaterThanOrEqualTo(Long value) {
+ addCriterion("collect_time >=", value, "collectTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeLessThan(Long value) {
+ addCriterion("collect_time <", value, "collectTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeLessThanOrEqualTo(Long value) {
+ addCriterion("collect_time <=", value, "collectTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeIn(List values) {
+ addCriterion("collect_time in", values, "collectTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeNotIn(List values) {
+ addCriterion("collect_time not in", values, "collectTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeBetween(Long value1, Long value2) {
+ addCriterion("collect_time between", value1, value2, "collectTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeNotBetween(Long value1, Long value2) {
+ addCriterion("collect_time not between", value1, value2, "collectTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerIdIsNull() {
+ addCriterion("server_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerIdIsNotNull() {
+ addCriterion("server_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerIdEqualTo(Integer value) {
+ addCriterion("server_id =", value, "serverId");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerIdNotEqualTo(Integer value) {
+ addCriterion("server_id <>", value, "serverId");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerIdGreaterThan(Integer value) {
+ addCriterion("server_id >", value, "serverId");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerIdGreaterThanOrEqualTo(Integer value) {
+ addCriterion("server_id >=", value, "serverId");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerIdLessThan(Integer value) {
+ addCriterion("server_id <", value, "serverId");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerIdLessThanOrEqualTo(Integer value) {
+ addCriterion("server_id <=", value, "serverId");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerIdIn(List values) {
+ addCriterion("server_id in", values, "serverId");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerIdNotIn(List values) {
+ addCriterion("server_id not in", values, "serverId");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerIdBetween(Integer value1, Integer value2) {
+ addCriterion("server_id between", value1, value2, "serverId");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerIdNotBetween(Integer value1, Integer value2) {
+ addCriterion("server_id not between", value1, value2, "serverId");
+ return (Criteria) this;
+ }
+ }
+
+ public static class Criteria extends GeneratedCriteria {
+
+ protected Criteria() {
+ super();
+ }
+ }
+
+ public static class Criterion {
+ private String condition;
+
+ private Object value;
+
+ private Object secondValue;
+
+ private boolean noValue;
+
+ private boolean singleValue;
+
+ private boolean betweenValue;
+
+ private boolean listValue;
+
+ private String typeHandler;
+
+ public String getCondition() {
+ return condition;
+ }
+
+ public Object getValue() {
+ return value;
+ }
+
+ public Object getSecondValue() {
+ return secondValue;
+ }
+
+ public boolean isNoValue() {
+ return noValue;
+ }
+
+ public boolean isSingleValue() {
+ return singleValue;
+ }
+
+ public boolean isBetweenValue() {
+ return betweenValue;
+ }
+
+ public boolean isListValue() {
+ return listValue;
+ }
+
+ public String getTypeHandler() {
+ return typeHandler;
+ }
+
+ protected Criterion(String condition) {
+ super();
+ this.condition = condition;
+ this.typeHandler = null;
+ this.noValue = true;
+ }
+
+ protected Criterion(String condition, Object value, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.typeHandler = typeHandler;
+ if (value instanceof List>) {
+ this.listValue = true;
+ } else {
+ this.singleValue = true;
+ }
+ }
+
+ protected Criterion(String condition, Object value) {
+ this(condition, value, null);
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.secondValue = secondValue;
+ this.typeHandler = typeHandler;
+ this.betweenValue = true;
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue) {
+ this(condition, value, secondValue, null);
+ }
+ }
+}
\ No newline at end of file
diff --git a/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatDataNodeKey.java b/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatDataNodeKey.java
new file mode 100644
index 0000000000000000000000000000000000000000..44de9cbf40ba986b27449fd4c222ca6316640e4f
--- /dev/null
+++ b/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatDataNodeKey.java
@@ -0,0 +1,40 @@
+package io.mycat.eye.agent.bean;
+
+import java.io.Serializable;
+
+public class MycatDataNodeKey implements Serializable {
+ private Integer id;
+
+ private String name;
+
+ private static final long serialVersionUID = 1L;
+
+ public Integer getId() {
+ return id;
+ }
+
+ public void setId(Integer id) {
+ this.id = id;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append(getClass().getSimpleName());
+ sb.append(" [");
+ sb.append("Hash = ").append(hashCode());
+ sb.append(", id=").append(id);
+ sb.append(", name=").append(name);
+ sb.append(", serialVersionUID=").append(serialVersionUID);
+ sb.append("]");
+ return sb.toString();
+ }
+}
\ No newline at end of file
diff --git a/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatDirectMemory.java b/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatDirectMemory.java
new file mode 100644
index 0000000000000000000000000000000000000000..3e65adaaa1e672ed3aabc1953d1f4bdab0f7d156
--- /dev/null
+++ b/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatDirectMemory.java
@@ -0,0 +1,139 @@
+package io.mycat.eye.agent.bean;
+
+import java.io.Serializable;
+
+public class MycatDirectMemory implements Serializable {
+ private Integer id;
+
+ private Long threadId;
+
+ private String memUseType;
+
+ private String mSize;
+
+ private String mdirectMemoryMaxed;
+
+ private String directMemoryUsed;
+
+ private String directMemoryAvailable;
+
+ private Float safetyFraction;
+
+ private String directMemoryReserved;
+
+ private Integer serverId;
+
+ private Long collectTime;
+
+ private static final long serialVersionUID = 1L;
+
+ public Integer getId() {
+ return id;
+ }
+
+ public void setId(Integer id) {
+ this.id = id;
+ }
+
+ public Long getThreadId() {
+ return threadId;
+ }
+
+ public void setThreadId(Long threadId) {
+ this.threadId = threadId;
+ }
+
+ public String getMemUseType() {
+ return memUseType;
+ }
+
+ public void setMemUseType(String memUseType) {
+ this.memUseType = memUseType;
+ }
+
+ public String getmSize() {
+ return mSize;
+ }
+
+ public void setmSize(String mSize) {
+ this.mSize = mSize;
+ }
+
+ public String getMdirectMemoryMaxed() {
+ return mdirectMemoryMaxed;
+ }
+
+ public void setMdirectMemoryMaxed(String mdirectMemoryMaxed) {
+ this.mdirectMemoryMaxed = mdirectMemoryMaxed;
+ }
+
+ public String getDirectMemoryUsed() {
+ return directMemoryUsed;
+ }
+
+ public void setDirectMemoryUsed(String directMemoryUsed) {
+ this.directMemoryUsed = directMemoryUsed;
+ }
+
+ public String getDirectMemoryAvailable() {
+ return directMemoryAvailable;
+ }
+
+ public void setDirectMemoryAvailable(String directMemoryAvailable) {
+ this.directMemoryAvailable = directMemoryAvailable;
+ }
+
+ public Float getSafetyFraction() {
+ return safetyFraction;
+ }
+
+ public void setSafetyFraction(Float safetyFraction) {
+ this.safetyFraction = safetyFraction;
+ }
+
+ public String getDirectMemoryReserved() {
+ return directMemoryReserved;
+ }
+
+ public void setDirectMemoryReserved(String directMemoryReserved) {
+ this.directMemoryReserved = directMemoryReserved;
+ }
+
+ public Integer getServerId() {
+ return serverId;
+ }
+
+ public void setServerId(Integer serverId) {
+ this.serverId = serverId;
+ }
+
+ public Long getCollectTime() {
+ return collectTime;
+ }
+
+ public void setCollectTime(Long collectTime) {
+ this.collectTime = collectTime;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append(getClass().getSimpleName());
+ sb.append(" [");
+ sb.append("Hash = ").append(hashCode());
+ sb.append(", id=").append(id);
+ sb.append(", threadId=").append(threadId);
+ sb.append(", memUseType=").append(memUseType);
+ sb.append(", mSize=").append(mSize);
+ sb.append(", mdirectMemoryMaxed=").append(mdirectMemoryMaxed);
+ sb.append(", directMemoryUsed=").append(directMemoryUsed);
+ sb.append(", directMemoryAvailable=").append(directMemoryAvailable);
+ sb.append(", safetyFraction=").append(safetyFraction);
+ sb.append(", directMemoryReserved=").append(directMemoryReserved);
+ sb.append(", serverId=").append(serverId);
+ sb.append(", collectTime=").append(collectTime);
+ sb.append(", serialVersionUID=").append(serialVersionUID);
+ sb.append("]");
+ return sb.toString();
+ }
+}
\ No newline at end of file
diff --git a/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatDirectMemoryExample.java b/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatDirectMemoryExample.java
new file mode 100644
index 0000000000000000000000000000000000000000..d1a3796a3adfc515ccbd1fa6e1d04fff45f6f8bf
--- /dev/null
+++ b/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatDirectMemoryExample.java
@@ -0,0 +1,920 @@
+package io.mycat.eye.agent.bean;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class MycatDirectMemoryExample {
+ protected String orderByClause;
+
+ protected boolean distinct;
+
+ protected List oredCriteria;
+
+ public MycatDirectMemoryExample() {
+ oredCriteria = new ArrayList();
+ }
+
+ public void setOrderByClause(String orderByClause) {
+ this.orderByClause = orderByClause;
+ }
+
+ public String getOrderByClause() {
+ return orderByClause;
+ }
+
+ public void setDistinct(boolean distinct) {
+ this.distinct = distinct;
+ }
+
+ public boolean isDistinct() {
+ return distinct;
+ }
+
+ public List getOredCriteria() {
+ return oredCriteria;
+ }
+
+ public void or(Criteria criteria) {
+ oredCriteria.add(criteria);
+ }
+
+ public Criteria or() {
+ Criteria criteria = createCriteriaInternal();
+ oredCriteria.add(criteria);
+ return criteria;
+ }
+
+ public Criteria createCriteria() {
+ Criteria criteria = createCriteriaInternal();
+ if (oredCriteria.size() == 0) {
+ oredCriteria.add(criteria);
+ }
+ return criteria;
+ }
+
+ protected Criteria createCriteriaInternal() {
+ Criteria criteria = new Criteria();
+ return criteria;
+ }
+
+ public void clear() {
+ oredCriteria.clear();
+ orderByClause = null;
+ distinct = false;
+ }
+
+ protected abstract static class GeneratedCriteria {
+ protected List criteria;
+
+ protected GeneratedCriteria() {
+ super();
+ criteria = new ArrayList();
+ }
+
+ public boolean isValid() {
+ return criteria.size() > 0;
+ }
+
+ public List getAllCriteria() {
+ return criteria;
+ }
+
+ public List getCriteria() {
+ return criteria;
+ }
+
+ protected void addCriterion(String condition) {
+ if (condition == null) {
+ throw new RuntimeException("Value for condition cannot be null");
+ }
+ criteria.add(new Criterion(condition));
+ }
+
+ protected void addCriterion(String condition, Object value, String property) {
+ if (value == null) {
+ throw new RuntimeException("Value for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value));
+ }
+
+ protected void addCriterion(String condition, Object value1, Object value2, String property) {
+ if (value1 == null || value2 == null) {
+ throw new RuntimeException("Between values for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value1, value2));
+ }
+
+ public Criteria andIdIsNull() {
+ addCriterion("id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIsNotNull() {
+ addCriterion("id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdEqualTo(Integer value) {
+ addCriterion("id =", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotEqualTo(Integer value) {
+ addCriterion("id <>", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThan(Integer value) {
+ addCriterion("id >", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThanOrEqualTo(Integer value) {
+ addCriterion("id >=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThan(Integer value) {
+ addCriterion("id <", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThanOrEqualTo(Integer value) {
+ addCriterion("id <=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIn(List values) {
+ addCriterion("id in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotIn(List values) {
+ addCriterion("id not in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdBetween(Integer value1, Integer value2) {
+ addCriterion("id between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotBetween(Integer value1, Integer value2) {
+ addCriterion("id not between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andThreadIdIsNull() {
+ addCriterion("thread_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andThreadIdIsNotNull() {
+ addCriterion("thread_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andThreadIdEqualTo(Long value) {
+ addCriterion("thread_id =", value, "threadId");
+ return (Criteria) this;
+ }
+
+ public Criteria andThreadIdNotEqualTo(Long value) {
+ addCriterion("thread_id <>", value, "threadId");
+ return (Criteria) this;
+ }
+
+ public Criteria andThreadIdGreaterThan(Long value) {
+ addCriterion("thread_id >", value, "threadId");
+ return (Criteria) this;
+ }
+
+ public Criteria andThreadIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("thread_id >=", value, "threadId");
+ return (Criteria) this;
+ }
+
+ public Criteria andThreadIdLessThan(Long value) {
+ addCriterion("thread_id <", value, "threadId");
+ return (Criteria) this;
+ }
+
+ public Criteria andThreadIdLessThanOrEqualTo(Long value) {
+ addCriterion("thread_id <=", value, "threadId");
+ return (Criteria) this;
+ }
+
+ public Criteria andThreadIdIn(List values) {
+ addCriterion("thread_id in", values, "threadId");
+ return (Criteria) this;
+ }
+
+ public Criteria andThreadIdNotIn(List values) {
+ addCriterion("thread_id not in", values, "threadId");
+ return (Criteria) this;
+ }
+
+ public Criteria andThreadIdBetween(Long value1, Long value2) {
+ addCriterion("thread_id between", value1, value2, "threadId");
+ return (Criteria) this;
+ }
+
+ public Criteria andThreadIdNotBetween(Long value1, Long value2) {
+ addCriterion("thread_id not between", value1, value2, "threadId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMemUseTypeIsNull() {
+ addCriterion("mem_use_type is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andMemUseTypeIsNotNull() {
+ addCriterion("mem_use_type is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andMemUseTypeEqualTo(String value) {
+ addCriterion("mem_use_type =", value, "memUseType");
+ return (Criteria) this;
+ }
+
+ public Criteria andMemUseTypeNotEqualTo(String value) {
+ addCriterion("mem_use_type <>", value, "memUseType");
+ return (Criteria) this;
+ }
+
+ public Criteria andMemUseTypeGreaterThan(String value) {
+ addCriterion("mem_use_type >", value, "memUseType");
+ return (Criteria) this;
+ }
+
+ public Criteria andMemUseTypeGreaterThanOrEqualTo(String value) {
+ addCriterion("mem_use_type >=", value, "memUseType");
+ return (Criteria) this;
+ }
+
+ public Criteria andMemUseTypeLessThan(String value) {
+ addCriterion("mem_use_type <", value, "memUseType");
+ return (Criteria) this;
+ }
+
+ public Criteria andMemUseTypeLessThanOrEqualTo(String value) {
+ addCriterion("mem_use_type <=", value, "memUseType");
+ return (Criteria) this;
+ }
+
+ public Criteria andMemUseTypeLike(String value) {
+ addCriterion("mem_use_type like", value, "memUseType");
+ return (Criteria) this;
+ }
+
+ public Criteria andMemUseTypeNotLike(String value) {
+ addCriterion("mem_use_type not like", value, "memUseType");
+ return (Criteria) this;
+ }
+
+ public Criteria andMemUseTypeIn(List values) {
+ addCriterion("mem_use_type in", values, "memUseType");
+ return (Criteria) this;
+ }
+
+ public Criteria andMemUseTypeNotIn(List values) {
+ addCriterion("mem_use_type not in", values, "memUseType");
+ return (Criteria) this;
+ }
+
+ public Criteria andMemUseTypeBetween(String value1, String value2) {
+ addCriterion("mem_use_type between", value1, value2, "memUseType");
+ return (Criteria) this;
+ }
+
+ public Criteria andMemUseTypeNotBetween(String value1, String value2) {
+ addCriterion("mem_use_type not between", value1, value2, "memUseType");
+ return (Criteria) this;
+ }
+
+ public Criteria andMSizeIsNull() {
+ addCriterion("m_size is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andMSizeIsNotNull() {
+ addCriterion("m_size is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andMSizeEqualTo(String value) {
+ addCriterion("m_size =", value, "mSize");
+ return (Criteria) this;
+ }
+
+ public Criteria andMSizeNotEqualTo(String value) {
+ addCriterion("m_size <>", value, "mSize");
+ return (Criteria) this;
+ }
+
+ public Criteria andMSizeGreaterThan(String value) {
+ addCriterion("m_size >", value, "mSize");
+ return (Criteria) this;
+ }
+
+ public Criteria andMSizeGreaterThanOrEqualTo(String value) {
+ addCriterion("m_size >=", value, "mSize");
+ return (Criteria) this;
+ }
+
+ public Criteria andMSizeLessThan(String value) {
+ addCriterion("m_size <", value, "mSize");
+ return (Criteria) this;
+ }
+
+ public Criteria andMSizeLessThanOrEqualTo(String value) {
+ addCriterion("m_size <=", value, "mSize");
+ return (Criteria) this;
+ }
+
+ public Criteria andMSizeLike(String value) {
+ addCriterion("m_size like", value, "mSize");
+ return (Criteria) this;
+ }
+
+ public Criteria andMSizeNotLike(String value) {
+ addCriterion("m_size not like", value, "mSize");
+ return (Criteria) this;
+ }
+
+ public Criteria andMSizeIn(List values) {
+ addCriterion("m_size in", values, "mSize");
+ return (Criteria) this;
+ }
+
+ public Criteria andMSizeNotIn(List values) {
+ addCriterion("m_size not in", values, "mSize");
+ return (Criteria) this;
+ }
+
+ public Criteria andMSizeBetween(String value1, String value2) {
+ addCriterion("m_size between", value1, value2, "mSize");
+ return (Criteria) this;
+ }
+
+ public Criteria andMSizeNotBetween(String value1, String value2) {
+ addCriterion("m_size not between", value1, value2, "mSize");
+ return (Criteria) this;
+ }
+
+ public Criteria andMdirectMemoryMaxedIsNull() {
+ addCriterion("mdirect_memory_maxed is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andMdirectMemoryMaxedIsNotNull() {
+ addCriterion("mdirect_memory_maxed is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andMdirectMemoryMaxedEqualTo(String value) {
+ addCriterion("mdirect_memory_maxed =", value, "mdirectMemoryMaxed");
+ return (Criteria) this;
+ }
+
+ public Criteria andMdirectMemoryMaxedNotEqualTo(String value) {
+ addCriterion("mdirect_memory_maxed <>", value, "mdirectMemoryMaxed");
+ return (Criteria) this;
+ }
+
+ public Criteria andMdirectMemoryMaxedGreaterThan(String value) {
+ addCriterion("mdirect_memory_maxed >", value, "mdirectMemoryMaxed");
+ return (Criteria) this;
+ }
+
+ public Criteria andMdirectMemoryMaxedGreaterThanOrEqualTo(String value) {
+ addCriterion("mdirect_memory_maxed >=", value, "mdirectMemoryMaxed");
+ return (Criteria) this;
+ }
+
+ public Criteria andMdirectMemoryMaxedLessThan(String value) {
+ addCriterion("mdirect_memory_maxed <", value, "mdirectMemoryMaxed");
+ return (Criteria) this;
+ }
+
+ public Criteria andMdirectMemoryMaxedLessThanOrEqualTo(String value) {
+ addCriterion("mdirect_memory_maxed <=", value, "mdirectMemoryMaxed");
+ return (Criteria) this;
+ }
+
+ public Criteria andMdirectMemoryMaxedLike(String value) {
+ addCriterion("mdirect_memory_maxed like", value, "mdirectMemoryMaxed");
+ return (Criteria) this;
+ }
+
+ public Criteria andMdirectMemoryMaxedNotLike(String value) {
+ addCriterion("mdirect_memory_maxed not like", value, "mdirectMemoryMaxed");
+ return (Criteria) this;
+ }
+
+ public Criteria andMdirectMemoryMaxedIn(List values) {
+ addCriterion("mdirect_memory_maxed in", values, "mdirectMemoryMaxed");
+ return (Criteria) this;
+ }
+
+ public Criteria andMdirectMemoryMaxedNotIn(List values) {
+ addCriterion("mdirect_memory_maxed not in", values, "mdirectMemoryMaxed");
+ return (Criteria) this;
+ }
+
+ public Criteria andMdirectMemoryMaxedBetween(String value1, String value2) {
+ addCriterion("mdirect_memory_maxed between", value1, value2, "mdirectMemoryMaxed");
+ return (Criteria) this;
+ }
+
+ public Criteria andMdirectMemoryMaxedNotBetween(String value1, String value2) {
+ addCriterion("mdirect_memory_maxed not between", value1, value2, "mdirectMemoryMaxed");
+ return (Criteria) this;
+ }
+
+ public Criteria andDirectMemoryUsedIsNull() {
+ addCriterion("direct_memory_used is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andDirectMemoryUsedIsNotNull() {
+ addCriterion("direct_memory_used is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andDirectMemoryUsedEqualTo(String value) {
+ addCriterion("direct_memory_used =", value, "directMemoryUsed");
+ return (Criteria) this;
+ }
+
+ public Criteria andDirectMemoryUsedNotEqualTo(String value) {
+ addCriterion("direct_memory_used <>", value, "directMemoryUsed");
+ return (Criteria) this;
+ }
+
+ public Criteria andDirectMemoryUsedGreaterThan(String value) {
+ addCriterion("direct_memory_used >", value, "directMemoryUsed");
+ return (Criteria) this;
+ }
+
+ public Criteria andDirectMemoryUsedGreaterThanOrEqualTo(String value) {
+ addCriterion("direct_memory_used >=", value, "directMemoryUsed");
+ return (Criteria) this;
+ }
+
+ public Criteria andDirectMemoryUsedLessThan(String value) {
+ addCriterion("direct_memory_used <", value, "directMemoryUsed");
+ return (Criteria) this;
+ }
+
+ public Criteria andDirectMemoryUsedLessThanOrEqualTo(String value) {
+ addCriterion("direct_memory_used <=", value, "directMemoryUsed");
+ return (Criteria) this;
+ }
+
+ public Criteria andDirectMemoryUsedLike(String value) {
+ addCriterion("direct_memory_used like", value, "directMemoryUsed");
+ return (Criteria) this;
+ }
+
+ public Criteria andDirectMemoryUsedNotLike(String value) {
+ addCriterion("direct_memory_used not like", value, "directMemoryUsed");
+ return (Criteria) this;
+ }
+
+ public Criteria andDirectMemoryUsedIn(List values) {
+ addCriterion("direct_memory_used in", values, "directMemoryUsed");
+ return (Criteria) this;
+ }
+
+ public Criteria andDirectMemoryUsedNotIn(List values) {
+ addCriterion("direct_memory_used not in", values, "directMemoryUsed");
+ return (Criteria) this;
+ }
+
+ public Criteria andDirectMemoryUsedBetween(String value1, String value2) {
+ addCriterion("direct_memory_used between", value1, value2, "directMemoryUsed");
+ return (Criteria) this;
+ }
+
+ public Criteria andDirectMemoryUsedNotBetween(String value1, String value2) {
+ addCriterion("direct_memory_used not between", value1, value2, "directMemoryUsed");
+ return (Criteria) this;
+ }
+
+ public Criteria andDirectMemoryAvailableIsNull() {
+ addCriterion("direct_memory_available is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andDirectMemoryAvailableIsNotNull() {
+ addCriterion("direct_memory_available is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andDirectMemoryAvailableEqualTo(String value) {
+ addCriterion("direct_memory_available =", value, "directMemoryAvailable");
+ return (Criteria) this;
+ }
+
+ public Criteria andDirectMemoryAvailableNotEqualTo(String value) {
+ addCriterion("direct_memory_available <>", value, "directMemoryAvailable");
+ return (Criteria) this;
+ }
+
+ public Criteria andDirectMemoryAvailableGreaterThan(String value) {
+ addCriterion("direct_memory_available >", value, "directMemoryAvailable");
+ return (Criteria) this;
+ }
+
+ public Criteria andDirectMemoryAvailableGreaterThanOrEqualTo(String value) {
+ addCriterion("direct_memory_available >=", value, "directMemoryAvailable");
+ return (Criteria) this;
+ }
+
+ public Criteria andDirectMemoryAvailableLessThan(String value) {
+ addCriterion("direct_memory_available <", value, "directMemoryAvailable");
+ return (Criteria) this;
+ }
+
+ public Criteria andDirectMemoryAvailableLessThanOrEqualTo(String value) {
+ addCriterion("direct_memory_available <=", value, "directMemoryAvailable");
+ return (Criteria) this;
+ }
+
+ public Criteria andDirectMemoryAvailableLike(String value) {
+ addCriterion("direct_memory_available like", value, "directMemoryAvailable");
+ return (Criteria) this;
+ }
+
+ public Criteria andDirectMemoryAvailableNotLike(String value) {
+ addCriterion("direct_memory_available not like", value, "directMemoryAvailable");
+ return (Criteria) this;
+ }
+
+ public Criteria andDirectMemoryAvailableIn(List values) {
+ addCriterion("direct_memory_available in", values, "directMemoryAvailable");
+ return (Criteria) this;
+ }
+
+ public Criteria andDirectMemoryAvailableNotIn(List values) {
+ addCriterion("direct_memory_available not in", values, "directMemoryAvailable");
+ return (Criteria) this;
+ }
+
+ public Criteria andDirectMemoryAvailableBetween(String value1, String value2) {
+ addCriterion("direct_memory_available between", value1, value2, "directMemoryAvailable");
+ return (Criteria) this;
+ }
+
+ public Criteria andDirectMemoryAvailableNotBetween(String value1, String value2) {
+ addCriterion("direct_memory_available not between", value1, value2, "directMemoryAvailable");
+ return (Criteria) this;
+ }
+
+ public Criteria andSafetyFractionIsNull() {
+ addCriterion("safety_fraction is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andSafetyFractionIsNotNull() {
+ addCriterion("safety_fraction is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andSafetyFractionEqualTo(Float value) {
+ addCriterion("safety_fraction =", value, "safetyFraction");
+ return (Criteria) this;
+ }
+
+ public Criteria andSafetyFractionNotEqualTo(Float value) {
+ addCriterion("safety_fraction <>", value, "safetyFraction");
+ return (Criteria) this;
+ }
+
+ public Criteria andSafetyFractionGreaterThan(Float value) {
+ addCriterion("safety_fraction >", value, "safetyFraction");
+ return (Criteria) this;
+ }
+
+ public Criteria andSafetyFractionGreaterThanOrEqualTo(Float value) {
+ addCriterion("safety_fraction >=", value, "safetyFraction");
+ return (Criteria) this;
+ }
+
+ public Criteria andSafetyFractionLessThan(Float value) {
+ addCriterion("safety_fraction <", value, "safetyFraction");
+ return (Criteria) this;
+ }
+
+ public Criteria andSafetyFractionLessThanOrEqualTo(Float value) {
+ addCriterion("safety_fraction <=", value, "safetyFraction");
+ return (Criteria) this;
+ }
+
+ public Criteria andSafetyFractionIn(List values) {
+ addCriterion("safety_fraction in", values, "safetyFraction");
+ return (Criteria) this;
+ }
+
+ public Criteria andSafetyFractionNotIn(List values) {
+ addCriterion("safety_fraction not in", values, "safetyFraction");
+ return (Criteria) this;
+ }
+
+ public Criteria andSafetyFractionBetween(Float value1, Float value2) {
+ addCriterion("safety_fraction between", value1, value2, "safetyFraction");
+ return (Criteria) this;
+ }
+
+ public Criteria andSafetyFractionNotBetween(Float value1, Float value2) {
+ addCriterion("safety_fraction not between", value1, value2, "safetyFraction");
+ return (Criteria) this;
+ }
+
+ public Criteria andDirectMemoryReservedIsNull() {
+ addCriterion("direct_memory_reserved is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andDirectMemoryReservedIsNotNull() {
+ addCriterion("direct_memory_reserved is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andDirectMemoryReservedEqualTo(String value) {
+ addCriterion("direct_memory_reserved =", value, "directMemoryReserved");
+ return (Criteria) this;
+ }
+
+ public Criteria andDirectMemoryReservedNotEqualTo(String value) {
+ addCriterion("direct_memory_reserved <>", value, "directMemoryReserved");
+ return (Criteria) this;
+ }
+
+ public Criteria andDirectMemoryReservedGreaterThan(String value) {
+ addCriterion("direct_memory_reserved >", value, "directMemoryReserved");
+ return (Criteria) this;
+ }
+
+ public Criteria andDirectMemoryReservedGreaterThanOrEqualTo(String value) {
+ addCriterion("direct_memory_reserved >=", value, "directMemoryReserved");
+ return (Criteria) this;
+ }
+
+ public Criteria andDirectMemoryReservedLessThan(String value) {
+ addCriterion("direct_memory_reserved <", value, "directMemoryReserved");
+ return (Criteria) this;
+ }
+
+ public Criteria andDirectMemoryReservedLessThanOrEqualTo(String value) {
+ addCriterion("direct_memory_reserved <=", value, "directMemoryReserved");
+ return (Criteria) this;
+ }
+
+ public Criteria andDirectMemoryReservedLike(String value) {
+ addCriterion("direct_memory_reserved like", value, "directMemoryReserved");
+ return (Criteria) this;
+ }
+
+ public Criteria andDirectMemoryReservedNotLike(String value) {
+ addCriterion("direct_memory_reserved not like", value, "directMemoryReserved");
+ return (Criteria) this;
+ }
+
+ public Criteria andDirectMemoryReservedIn(List values) {
+ addCriterion("direct_memory_reserved in", values, "directMemoryReserved");
+ return (Criteria) this;
+ }
+
+ public Criteria andDirectMemoryReservedNotIn(List values) {
+ addCriterion("direct_memory_reserved not in", values, "directMemoryReserved");
+ return (Criteria) this;
+ }
+
+ public Criteria andDirectMemoryReservedBetween(String value1, String value2) {
+ addCriterion("direct_memory_reserved between", value1, value2, "directMemoryReserved");
+ return (Criteria) this;
+ }
+
+ public Criteria andDirectMemoryReservedNotBetween(String value1, String value2) {
+ addCriterion("direct_memory_reserved not between", value1, value2, "directMemoryReserved");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerIdIsNull() {
+ addCriterion("server_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerIdIsNotNull() {
+ addCriterion("server_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerIdEqualTo(Integer value) {
+ addCriterion("server_id =", value, "serverId");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerIdNotEqualTo(Integer value) {
+ addCriterion("server_id <>", value, "serverId");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerIdGreaterThan(Integer value) {
+ addCriterion("server_id >", value, "serverId");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerIdGreaterThanOrEqualTo(Integer value) {
+ addCriterion("server_id >=", value, "serverId");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerIdLessThan(Integer value) {
+ addCriterion("server_id <", value, "serverId");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerIdLessThanOrEqualTo(Integer value) {
+ addCriterion("server_id <=", value, "serverId");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerIdIn(List values) {
+ addCriterion("server_id in", values, "serverId");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerIdNotIn(List values) {
+ addCriterion("server_id not in", values, "serverId");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerIdBetween(Integer value1, Integer value2) {
+ addCriterion("server_id between", value1, value2, "serverId");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerIdNotBetween(Integer value1, Integer value2) {
+ addCriterion("server_id not between", value1, value2, "serverId");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeIsNull() {
+ addCriterion("collect_time is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeIsNotNull() {
+ addCriterion("collect_time is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeEqualTo(Long value) {
+ addCriterion("collect_time =", value, "collectTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeNotEqualTo(Long value) {
+ addCriterion("collect_time <>", value, "collectTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeGreaterThan(Long value) {
+ addCriterion("collect_time >", value, "collectTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeGreaterThanOrEqualTo(Long value) {
+ addCriterion("collect_time >=", value, "collectTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeLessThan(Long value) {
+ addCriterion("collect_time <", value, "collectTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeLessThanOrEqualTo(Long value) {
+ addCriterion("collect_time <=", value, "collectTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeIn(List values) {
+ addCriterion("collect_time in", values, "collectTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeNotIn(List values) {
+ addCriterion("collect_time not in", values, "collectTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeBetween(Long value1, Long value2) {
+ addCriterion("collect_time between", value1, value2, "collectTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCollectTimeNotBetween(Long value1, Long value2) {
+ addCriterion("collect_time not between", value1, value2, "collectTime");
+ return (Criteria) this;
+ }
+ }
+
+ public static class Criteria extends GeneratedCriteria {
+
+ protected Criteria() {
+ super();
+ }
+ }
+
+ public static class Criterion {
+ private String condition;
+
+ private Object value;
+
+ private Object secondValue;
+
+ private boolean noValue;
+
+ private boolean singleValue;
+
+ private boolean betweenValue;
+
+ private boolean listValue;
+
+ private String typeHandler;
+
+ public String getCondition() {
+ return condition;
+ }
+
+ public Object getValue() {
+ return value;
+ }
+
+ public Object getSecondValue() {
+ return secondValue;
+ }
+
+ public boolean isNoValue() {
+ return noValue;
+ }
+
+ public boolean isSingleValue() {
+ return singleValue;
+ }
+
+ public boolean isBetweenValue() {
+ return betweenValue;
+ }
+
+ public boolean isListValue() {
+ return listValue;
+ }
+
+ public String getTypeHandler() {
+ return typeHandler;
+ }
+
+ protected Criterion(String condition) {
+ super();
+ this.condition = condition;
+ this.typeHandler = null;
+ this.noValue = true;
+ }
+
+ protected Criterion(String condition, Object value, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.typeHandler = typeHandler;
+ if (value instanceof List>) {
+ this.listValue = true;
+ } else {
+ this.singleValue = true;
+ }
+ }
+
+ protected Criterion(String condition, Object value) {
+ this(condition, value, null);
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.secondValue = secondValue;
+ this.typeHandler = typeHandler;
+ this.betweenValue = true;
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue) {
+ this(condition, value, secondValue, null);
+ }
+ }
+}
\ No newline at end of file
diff --git a/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatServer.java b/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatServer.java
new file mode 100644
index 0000000000000000000000000000000000000000..59c30ba08797a3ea8fd13be3e953f139d440b8f2
--- /dev/null
+++ b/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatServer.java
@@ -0,0 +1,161 @@
+package io.mycat.eye.agent.bean;
+
+import java.io.Serializable;
+
+public class MycatServer implements Serializable {
+ private Integer id;
+
+ private String serverName;
+
+ private String serverHost;
+
+ private Integer managerPort;
+
+ private Integer serverPort;
+
+ private Long startup;
+
+ private String user;
+
+ private String password;
+
+ private Integer clusterId;
+
+ private Byte isClusterNode;
+
+ private Long createTime;
+
+ private Long lastUpdateTime;
+
+ private String startupHistory;
+
+ private static final long serialVersionUID = 1L;
+
+ public Integer getId() {
+ return id;
+ }
+
+ public void setId(Integer id) {
+ this.id = id;
+ }
+
+ public String getServerName() {
+ return serverName;
+ }
+
+ public void setServerName(String serverName) {
+ this.serverName = serverName;
+ }
+
+ public String getServerHost() {
+ return serverHost;
+ }
+
+ public void setServerHost(String serverHost) {
+ this.serverHost = serverHost;
+ }
+
+ public Integer getManagerPort() {
+ return managerPort;
+ }
+
+ public void setManagerPort(Integer managerPort) {
+ this.managerPort = managerPort;
+ }
+
+ public Integer getServerPort() {
+ return serverPort;
+ }
+
+ public void setServerPort(Integer serverPort) {
+ this.serverPort = serverPort;
+ }
+
+ public Long getStartup() {
+ return startup;
+ }
+
+ public void setStartup(Long startup) {
+ this.startup = startup;
+ }
+
+ public String getUser() {
+ return user;
+ }
+
+ public void setUser(String user) {
+ this.user = user;
+ }
+
+ public String getPassword() {
+ return password;
+ }
+
+ public void setPassword(String password) {
+ this.password = password;
+ }
+
+ public Integer getClusterId() {
+ return clusterId;
+ }
+
+ public void setClusterId(Integer clusterId) {
+ this.clusterId = clusterId;
+ }
+
+ public Byte getIsClusterNode() {
+ return isClusterNode;
+ }
+
+ public void setIsClusterNode(Byte isClusterNode) {
+ this.isClusterNode = isClusterNode;
+ }
+
+ public Long getCreateTime() {
+ return createTime;
+ }
+
+ public void setCreateTime(Long createTime) {
+ this.createTime = createTime;
+ }
+
+ public Long getLastUpdateTime() {
+ return lastUpdateTime;
+ }
+
+ public void setLastUpdateTime(Long lastUpdateTime) {
+ this.lastUpdateTime = lastUpdateTime;
+ }
+
+ public String getStartupHistory() {
+ return startupHistory;
+ }
+
+ public void setStartupHistory(String startupHistory) {
+ this.startupHistory = startupHistory;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append(getClass().getSimpleName());
+ sb.append(" [");
+ sb.append("Hash = ").append(hashCode());
+ sb.append(", id=").append(id);
+ sb.append(", serverName=").append(serverName);
+ sb.append(", serverHost=").append(serverHost);
+ sb.append(", managerPort=").append(managerPort);
+ sb.append(", serverPort=").append(serverPort);
+ sb.append(", startup=").append(startup);
+ sb.append(", user=").append(user);
+ sb.append(", password=").append(password);
+ sb.append(", clusterId=").append(clusterId);
+ sb.append(", isClusterNode=").append(isClusterNode);
+ sb.append(", createTime=").append(createTime);
+ sb.append(", lastUpdateTime=").append(lastUpdateTime);
+ sb.append(", startupHistory=").append(startupHistory);
+ sb.append(", serialVersionUID=").append(serialVersionUID);
+ sb.append("]");
+ return sb.toString();
+ }
+}
\ No newline at end of file
diff --git a/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatServerExample.java b/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatServerExample.java
new file mode 100644
index 0000000000000000000000000000000000000000..56a1d9c86b3ac5d1dd66d03e80141fc1fea348c5
--- /dev/null
+++ b/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatServerExample.java
@@ -0,0 +1,1030 @@
+package io.mycat.eye.agent.bean;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class MycatServerExample {
+ protected String orderByClause;
+
+ protected boolean distinct;
+
+ protected List oredCriteria;
+
+ public MycatServerExample() {
+ oredCriteria = new ArrayList();
+ }
+
+ public void setOrderByClause(String orderByClause) {
+ this.orderByClause = orderByClause;
+ }
+
+ public String getOrderByClause() {
+ return orderByClause;
+ }
+
+ public void setDistinct(boolean distinct) {
+ this.distinct = distinct;
+ }
+
+ public boolean isDistinct() {
+ return distinct;
+ }
+
+ public List getOredCriteria() {
+ return oredCriteria;
+ }
+
+ public void or(Criteria criteria) {
+ oredCriteria.add(criteria);
+ }
+
+ public Criteria or() {
+ Criteria criteria = createCriteriaInternal();
+ oredCriteria.add(criteria);
+ return criteria;
+ }
+
+ public Criteria createCriteria() {
+ Criteria criteria = createCriteriaInternal();
+ if (oredCriteria.size() == 0) {
+ oredCriteria.add(criteria);
+ }
+ return criteria;
+ }
+
+ protected Criteria createCriteriaInternal() {
+ Criteria criteria = new Criteria();
+ return criteria;
+ }
+
+ public void clear() {
+ oredCriteria.clear();
+ orderByClause = null;
+ distinct = false;
+ }
+
+ protected abstract static class GeneratedCriteria {
+ protected List criteria;
+
+ protected GeneratedCriteria() {
+ super();
+ criteria = new ArrayList();
+ }
+
+ public boolean isValid() {
+ return criteria.size() > 0;
+ }
+
+ public List getAllCriteria() {
+ return criteria;
+ }
+
+ public List getCriteria() {
+ return criteria;
+ }
+
+ protected void addCriterion(String condition) {
+ if (condition == null) {
+ throw new RuntimeException("Value for condition cannot be null");
+ }
+ criteria.add(new Criterion(condition));
+ }
+
+ protected void addCriterion(String condition, Object value, String property) {
+ if (value == null) {
+ throw new RuntimeException("Value for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value));
+ }
+
+ protected void addCriterion(String condition, Object value1, Object value2, String property) {
+ if (value1 == null || value2 == null) {
+ throw new RuntimeException("Between values for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value1, value2));
+ }
+
+ public Criteria andIdIsNull() {
+ addCriterion("id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIsNotNull() {
+ addCriterion("id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdEqualTo(Integer value) {
+ addCriterion("id =", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotEqualTo(Integer value) {
+ addCriterion("id <>", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThan(Integer value) {
+ addCriterion("id >", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThanOrEqualTo(Integer value) {
+ addCriterion("id >=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThan(Integer value) {
+ addCriterion("id <", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThanOrEqualTo(Integer value) {
+ addCriterion("id <=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIn(List values) {
+ addCriterion("id in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotIn(List values) {
+ addCriterion("id not in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdBetween(Integer value1, Integer value2) {
+ addCriterion("id between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotBetween(Integer value1, Integer value2) {
+ addCriterion("id not between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerNameIsNull() {
+ addCriterion("server_name is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerNameIsNotNull() {
+ addCriterion("server_name is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerNameEqualTo(String value) {
+ addCriterion("server_name =", value, "serverName");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerNameNotEqualTo(String value) {
+ addCriterion("server_name <>", value, "serverName");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerNameGreaterThan(String value) {
+ addCriterion("server_name >", value, "serverName");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerNameGreaterThanOrEqualTo(String value) {
+ addCriterion("server_name >=", value, "serverName");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerNameLessThan(String value) {
+ addCriterion("server_name <", value, "serverName");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerNameLessThanOrEqualTo(String value) {
+ addCriterion("server_name <=", value, "serverName");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerNameLike(String value) {
+ addCriterion("server_name like", value, "serverName");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerNameNotLike(String value) {
+ addCriterion("server_name not like", value, "serverName");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerNameIn(List values) {
+ addCriterion("server_name in", values, "serverName");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerNameNotIn(List values) {
+ addCriterion("server_name not in", values, "serverName");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerNameBetween(String value1, String value2) {
+ addCriterion("server_name between", value1, value2, "serverName");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerNameNotBetween(String value1, String value2) {
+ addCriterion("server_name not between", value1, value2, "serverName");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerHostIsNull() {
+ addCriterion("server_host is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerHostIsNotNull() {
+ addCriterion("server_host is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerHostEqualTo(String value) {
+ addCriterion("server_host =", value, "serverHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerHostNotEqualTo(String value) {
+ addCriterion("server_host <>", value, "serverHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerHostGreaterThan(String value) {
+ addCriterion("server_host >", value, "serverHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerHostGreaterThanOrEqualTo(String value) {
+ addCriterion("server_host >=", value, "serverHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerHostLessThan(String value) {
+ addCriterion("server_host <", value, "serverHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerHostLessThanOrEqualTo(String value) {
+ addCriterion("server_host <=", value, "serverHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerHostLike(String value) {
+ addCriterion("server_host like", value, "serverHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerHostNotLike(String value) {
+ addCriterion("server_host not like", value, "serverHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerHostIn(List values) {
+ addCriterion("server_host in", values, "serverHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerHostNotIn(List values) {
+ addCriterion("server_host not in", values, "serverHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerHostBetween(String value1, String value2) {
+ addCriterion("server_host between", value1, value2, "serverHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerHostNotBetween(String value1, String value2) {
+ addCriterion("server_host not between", value1, value2, "serverHost");
+ return (Criteria) this;
+ }
+
+ public Criteria andManagerPortIsNull() {
+ addCriterion("manager_port is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andManagerPortIsNotNull() {
+ addCriterion("manager_port is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andManagerPortEqualTo(Integer value) {
+ addCriterion("manager_port =", value, "managerPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andManagerPortNotEqualTo(Integer value) {
+ addCriterion("manager_port <>", value, "managerPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andManagerPortGreaterThan(Integer value) {
+ addCriterion("manager_port >", value, "managerPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andManagerPortGreaterThanOrEqualTo(Integer value) {
+ addCriterion("manager_port >=", value, "managerPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andManagerPortLessThan(Integer value) {
+ addCriterion("manager_port <", value, "managerPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andManagerPortLessThanOrEqualTo(Integer value) {
+ addCriterion("manager_port <=", value, "managerPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andManagerPortIn(List values) {
+ addCriterion("manager_port in", values, "managerPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andManagerPortNotIn(List values) {
+ addCriterion("manager_port not in", values, "managerPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andManagerPortBetween(Integer value1, Integer value2) {
+ addCriterion("manager_port between", value1, value2, "managerPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andManagerPortNotBetween(Integer value1, Integer value2) {
+ addCriterion("manager_port not between", value1, value2, "managerPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerPortIsNull() {
+ addCriterion("server_port is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerPortIsNotNull() {
+ addCriterion("server_port is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerPortEqualTo(Integer value) {
+ addCriterion("server_port =", value, "serverPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerPortNotEqualTo(Integer value) {
+ addCriterion("server_port <>", value, "serverPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerPortGreaterThan(Integer value) {
+ addCriterion("server_port >", value, "serverPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerPortGreaterThanOrEqualTo(Integer value) {
+ addCriterion("server_port >=", value, "serverPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerPortLessThan(Integer value) {
+ addCriterion("server_port <", value, "serverPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerPortLessThanOrEqualTo(Integer value) {
+ addCriterion("server_port <=", value, "serverPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerPortIn(List values) {
+ addCriterion("server_port in", values, "serverPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerPortNotIn(List values) {
+ addCriterion("server_port not in", values, "serverPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerPortBetween(Integer value1, Integer value2) {
+ addCriterion("server_port between", value1, value2, "serverPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andServerPortNotBetween(Integer value1, Integer value2) {
+ addCriterion("server_port not between", value1, value2, "serverPort");
+ return (Criteria) this;
+ }
+
+ public Criteria andStartupIsNull() {
+ addCriterion("startup is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andStartupIsNotNull() {
+ addCriterion("startup is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andStartupEqualTo(Long value) {
+ addCriterion("startup =", value, "startup");
+ return (Criteria) this;
+ }
+
+ public Criteria andStartupNotEqualTo(Long value) {
+ addCriterion("startup <>", value, "startup");
+ return (Criteria) this;
+ }
+
+ public Criteria andStartupGreaterThan(Long value) {
+ addCriterion("startup >", value, "startup");
+ return (Criteria) this;
+ }
+
+ public Criteria andStartupGreaterThanOrEqualTo(Long value) {
+ addCriterion("startup >=", value, "startup");
+ return (Criteria) this;
+ }
+
+ public Criteria andStartupLessThan(Long value) {
+ addCriterion("startup <", value, "startup");
+ return (Criteria) this;
+ }
+
+ public Criteria andStartupLessThanOrEqualTo(Long value) {
+ addCriterion("startup <=", value, "startup");
+ return (Criteria) this;
+ }
+
+ public Criteria andStartupIn(List values) {
+ addCriterion("startup in", values, "startup");
+ return (Criteria) this;
+ }
+
+ public Criteria andStartupNotIn(List values) {
+ addCriterion("startup not in", values, "startup");
+ return (Criteria) this;
+ }
+
+ public Criteria andStartupBetween(Long value1, Long value2) {
+ addCriterion("startup between", value1, value2, "startup");
+ return (Criteria) this;
+ }
+
+ public Criteria andStartupNotBetween(Long value1, Long value2) {
+ addCriterion("startup not between", value1, value2, "startup");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIsNull() {
+ addCriterion("user is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIsNotNull() {
+ addCriterion("user is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserEqualTo(String value) {
+ addCriterion("user =", value, "user");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserNotEqualTo(String value) {
+ addCriterion("user <>", value, "user");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserGreaterThan(String value) {
+ addCriterion("user >", value, "user");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserGreaterThanOrEqualTo(String value) {
+ addCriterion("user >=", value, "user");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserLessThan(String value) {
+ addCriterion("user <", value, "user");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserLessThanOrEqualTo(String value) {
+ addCriterion("user <=", value, "user");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserLike(String value) {
+ addCriterion("user like", value, "user");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserNotLike(String value) {
+ addCriterion("user not like", value, "user");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIn(List values) {
+ addCriterion("user in", values, "user");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserNotIn(List values) {
+ addCriterion("user not in", values, "user");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserBetween(String value1, String value2) {
+ addCriterion("user between", value1, value2, "user");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserNotBetween(String value1, String value2) {
+ addCriterion("user not between", value1, value2, "user");
+ return (Criteria) this;
+ }
+
+ public Criteria andPasswordIsNull() {
+ addCriterion("password is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andPasswordIsNotNull() {
+ addCriterion("password is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andPasswordEqualTo(String value) {
+ addCriterion("password =", value, "password");
+ return (Criteria) this;
+ }
+
+ public Criteria andPasswordNotEqualTo(String value) {
+ addCriterion("password <>", value, "password");
+ return (Criteria) this;
+ }
+
+ public Criteria andPasswordGreaterThan(String value) {
+ addCriterion("password >", value, "password");
+ return (Criteria) this;
+ }
+
+ public Criteria andPasswordGreaterThanOrEqualTo(String value) {
+ addCriterion("password >=", value, "password");
+ return (Criteria) this;
+ }
+
+ public Criteria andPasswordLessThan(String value) {
+ addCriterion("password <", value, "password");
+ return (Criteria) this;
+ }
+
+ public Criteria andPasswordLessThanOrEqualTo(String value) {
+ addCriterion("password <=", value, "password");
+ return (Criteria) this;
+ }
+
+ public Criteria andPasswordLike(String value) {
+ addCriterion("password like", value, "password");
+ return (Criteria) this;
+ }
+
+ public Criteria andPasswordNotLike(String value) {
+ addCriterion("password not like", value, "password");
+ return (Criteria) this;
+ }
+
+ public Criteria andPasswordIn(List values) {
+ addCriterion("password in", values, "password");
+ return (Criteria) this;
+ }
+
+ public Criteria andPasswordNotIn(List values) {
+ addCriterion("password not in", values, "password");
+ return (Criteria) this;
+ }
+
+ public Criteria andPasswordBetween(String value1, String value2) {
+ addCriterion("password between", value1, value2, "password");
+ return (Criteria) this;
+ }
+
+ public Criteria andPasswordNotBetween(String value1, String value2) {
+ addCriterion("password not between", value1, value2, "password");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterIdIsNull() {
+ addCriterion("cluster_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterIdIsNotNull() {
+ addCriterion("cluster_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterIdEqualTo(Integer value) {
+ addCriterion("cluster_id =", value, "clusterId");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterIdNotEqualTo(Integer value) {
+ addCriterion("cluster_id <>", value, "clusterId");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterIdGreaterThan(Integer value) {
+ addCriterion("cluster_id >", value, "clusterId");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterIdGreaterThanOrEqualTo(Integer value) {
+ addCriterion("cluster_id >=", value, "clusterId");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterIdLessThan(Integer value) {
+ addCriterion("cluster_id <", value, "clusterId");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterIdLessThanOrEqualTo(Integer value) {
+ addCriterion("cluster_id <=", value, "clusterId");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterIdIn(List values) {
+ addCriterion("cluster_id in", values, "clusterId");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterIdNotIn(List values) {
+ addCriterion("cluster_id not in", values, "clusterId");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterIdBetween(Integer value1, Integer value2) {
+ addCriterion("cluster_id between", value1, value2, "clusterId");
+ return (Criteria) this;
+ }
+
+ public Criteria andClusterIdNotBetween(Integer value1, Integer value2) {
+ addCriterion("cluster_id not between", value1, value2, "clusterId");
+ return (Criteria) this;
+ }
+
+ public Criteria andIsClusterNodeIsNull() {
+ addCriterion("is_cluster_node is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIsClusterNodeIsNotNull() {
+ addCriterion("is_cluster_node is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIsClusterNodeEqualTo(Byte value) {
+ addCriterion("is_cluster_node =", value, "isClusterNode");
+ return (Criteria) this;
+ }
+
+ public Criteria andIsClusterNodeNotEqualTo(Byte value) {
+ addCriterion("is_cluster_node <>", value, "isClusterNode");
+ return (Criteria) this;
+ }
+
+ public Criteria andIsClusterNodeGreaterThan(Byte value) {
+ addCriterion("is_cluster_node >", value, "isClusterNode");
+ return (Criteria) this;
+ }
+
+ public Criteria andIsClusterNodeGreaterThanOrEqualTo(Byte value) {
+ addCriterion("is_cluster_node >=", value, "isClusterNode");
+ return (Criteria) this;
+ }
+
+ public Criteria andIsClusterNodeLessThan(Byte value) {
+ addCriterion("is_cluster_node <", value, "isClusterNode");
+ return (Criteria) this;
+ }
+
+ public Criteria andIsClusterNodeLessThanOrEqualTo(Byte value) {
+ addCriterion("is_cluster_node <=", value, "isClusterNode");
+ return (Criteria) this;
+ }
+
+ public Criteria andIsClusterNodeIn(List values) {
+ addCriterion("is_cluster_node in", values, "isClusterNode");
+ return (Criteria) this;
+ }
+
+ public Criteria andIsClusterNodeNotIn(List values) {
+ addCriterion("is_cluster_node not in", values, "isClusterNode");
+ return (Criteria) this;
+ }
+
+ public Criteria andIsClusterNodeBetween(Byte value1, Byte value2) {
+ addCriterion("is_cluster_node between", value1, value2, "isClusterNode");
+ return (Criteria) this;
+ }
+
+ public Criteria andIsClusterNodeNotBetween(Byte value1, Byte value2) {
+ addCriterion("is_cluster_node not between", value1, value2, "isClusterNode");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeIsNull() {
+ addCriterion("create_time is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeIsNotNull() {
+ addCriterion("create_time is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeEqualTo(Long value) {
+ addCriterion("create_time =", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeNotEqualTo(Long value) {
+ addCriterion("create_time <>", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeGreaterThan(Long value) {
+ addCriterion("create_time >", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeGreaterThanOrEqualTo(Long value) {
+ addCriterion("create_time >=", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeLessThan(Long value) {
+ addCriterion("create_time <", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeLessThanOrEqualTo(Long value) {
+ addCriterion("create_time <=", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeIn(List values) {
+ addCriterion("create_time in", values, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeNotIn(List values) {
+ addCriterion("create_time not in", values, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeBetween(Long value1, Long value2) {
+ addCriterion("create_time between", value1, value2, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeNotBetween(Long value1, Long value2) {
+ addCriterion("create_time not between", value1, value2, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastUpdateTimeIsNull() {
+ addCriterion("last_update_time is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastUpdateTimeIsNotNull() {
+ addCriterion("last_update_time is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastUpdateTimeEqualTo(Long value) {
+ addCriterion("last_update_time =", value, "lastUpdateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastUpdateTimeNotEqualTo(Long value) {
+ addCriterion("last_update_time <>", value, "lastUpdateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastUpdateTimeGreaterThan(Long value) {
+ addCriterion("last_update_time >", value, "lastUpdateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastUpdateTimeGreaterThanOrEqualTo(Long value) {
+ addCriterion("last_update_time >=", value, "lastUpdateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastUpdateTimeLessThan(Long value) {
+ addCriterion("last_update_time <", value, "lastUpdateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastUpdateTimeLessThanOrEqualTo(Long value) {
+ addCriterion("last_update_time <=", value, "lastUpdateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastUpdateTimeIn(List values) {
+ addCriterion("last_update_time in", values, "lastUpdateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastUpdateTimeNotIn(List values) {
+ addCriterion("last_update_time not in", values, "lastUpdateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastUpdateTimeBetween(Long value1, Long value2) {
+ addCriterion("last_update_time between", value1, value2, "lastUpdateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastUpdateTimeNotBetween(Long value1, Long value2) {
+ addCriterion("last_update_time not between", value1, value2, "lastUpdateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andStartupHistoryIsNull() {
+ addCriterion("startup_history is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andStartupHistoryIsNotNull() {
+ addCriterion("startup_history is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andStartupHistoryEqualTo(String value) {
+ addCriterion("startup_history =", value, "startupHistory");
+ return (Criteria) this;
+ }
+
+ public Criteria andStartupHistoryNotEqualTo(String value) {
+ addCriterion("startup_history <>", value, "startupHistory");
+ return (Criteria) this;
+ }
+
+ public Criteria andStartupHistoryGreaterThan(String value) {
+ addCriterion("startup_history >", value, "startupHistory");
+ return (Criteria) this;
+ }
+
+ public Criteria andStartupHistoryGreaterThanOrEqualTo(String value) {
+ addCriterion("startup_history >=", value, "startupHistory");
+ return (Criteria) this;
+ }
+
+ public Criteria andStartupHistoryLessThan(String value) {
+ addCriterion("startup_history <", value, "startupHistory");
+ return (Criteria) this;
+ }
+
+ public Criteria andStartupHistoryLessThanOrEqualTo(String value) {
+ addCriterion("startup_history <=", value, "startupHistory");
+ return (Criteria) this;
+ }
+
+ public Criteria andStartupHistoryLike(String value) {
+ addCriterion("startup_history like", value, "startupHistory");
+ return (Criteria) this;
+ }
+
+ public Criteria andStartupHistoryNotLike(String value) {
+ addCriterion("startup_history not like", value, "startupHistory");
+ return (Criteria) this;
+ }
+
+ public Criteria andStartupHistoryIn(List values) {
+ addCriterion("startup_history in", values, "startupHistory");
+ return (Criteria) this;
+ }
+
+ public Criteria andStartupHistoryNotIn(List values) {
+ addCriterion("startup_history not in", values, "startupHistory");
+ return (Criteria) this;
+ }
+
+ public Criteria andStartupHistoryBetween(String value1, String value2) {
+ addCriterion("startup_history between", value1, value2, "startupHistory");
+ return (Criteria) this;
+ }
+
+ public Criteria andStartupHistoryNotBetween(String value1, String value2) {
+ addCriterion("startup_history not between", value1, value2, "startupHistory");
+ return (Criteria) this;
+ }
+ }
+
+ public static class Criteria extends GeneratedCriteria {
+
+ protected Criteria() {
+ super();
+ }
+ }
+
+ public static class Criterion {
+ private String condition;
+
+ private Object value;
+
+ private Object secondValue;
+
+ private boolean noValue;
+
+ private boolean singleValue;
+
+ private boolean betweenValue;
+
+ private boolean listValue;
+
+ private String typeHandler;
+
+ public String getCondition() {
+ return condition;
+ }
+
+ public Object getValue() {
+ return value;
+ }
+
+ public Object getSecondValue() {
+ return secondValue;
+ }
+
+ public boolean isNoValue() {
+ return noValue;
+ }
+
+ public boolean isSingleValue() {
+ return singleValue;
+ }
+
+ public boolean isBetweenValue() {
+ return betweenValue;
+ }
+
+ public boolean isListValue() {
+ return listValue;
+ }
+
+ public String getTypeHandler() {
+ return typeHandler;
+ }
+
+ protected Criterion(String condition) {
+ super();
+ this.condition = condition;
+ this.typeHandler = null;
+ this.noValue = true;
+ }
+
+ protected Criterion(String condition, Object value, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.typeHandler = typeHandler;
+ if (value instanceof List>) {
+ this.listValue = true;
+ } else {
+ this.singleValue = true;
+ }
+ }
+
+ protected Criterion(String condition, Object value) {
+ this(condition, value, null);
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.secondValue = secondValue;
+ this.typeHandler = typeHandler;
+ this.betweenValue = true;
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue) {
+ this(condition, value, secondValue, null);
+ }
+ }
+}
\ No newline at end of file
diff --git a/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatServerStatus.java b/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatServerStatus.java
new file mode 100644
index 0000000000000000000000000000000000000000..db818934e3f2b80eebde1bbd3393e2cde54ea70e
--- /dev/null
+++ b/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatServerStatus.java
@@ -0,0 +1,139 @@
+package io.mycat.eye.agent.bean;
+
+import java.io.Serializable;
+
+public class MycatServerStatus implements Serializable {
+ private Integer id;
+
+ private Integer mycatId;
+
+ private String uptime;
+
+ private Long usedMemory;
+
+ private Long totalMemory;
+
+ private Long maxMemory;
+
+ private Long reloadTime;
+
+ private Long rollbackTime;
+
+ private String charset;
+
+ private String status;
+
+ private Long collectTime;
+
+ private static final long serialVersionUID = 1L;
+
+ public Integer getId() {
+ return id;
+ }
+
+ public void setId(Integer id) {
+ this.id = id;
+ }
+
+ public Integer getMycatId() {
+ return mycatId;
+ }
+
+ public void setMycatId(Integer mycatId) {
+ this.mycatId = mycatId;
+ }
+
+ public String getUptime() {
+ return uptime;
+ }
+
+ public void setUptime(String uptime) {
+ this.uptime = uptime;
+ }
+
+ public Long getUsedMemory() {
+ return usedMemory;
+ }
+
+ public void setUsedMemory(Long usedMemory) {
+ this.usedMemory = usedMemory;
+ }
+
+ public Long getTotalMemory() {
+ return totalMemory;
+ }
+
+ public void setTotalMemory(Long totalMemory) {
+ this.totalMemory = totalMemory;
+ }
+
+ public Long getMaxMemory() {
+ return maxMemory;
+ }
+
+ public void setMaxMemory(Long maxMemory) {
+ this.maxMemory = maxMemory;
+ }
+
+ public Long getReloadTime() {
+ return reloadTime;
+ }
+
+ public void setReloadTime(Long reloadTime) {
+ this.reloadTime = reloadTime;
+ }
+
+ public Long getRollbackTime() {
+ return rollbackTime;
+ }
+
+ public void setRollbackTime(Long rollbackTime) {
+ this.rollbackTime = rollbackTime;
+ }
+
+ public String getCharset() {
+ return charset;
+ }
+
+ public void setCharset(String charset) {
+ this.charset = charset;
+ }
+
+ public String getStatus() {
+ return status;
+ }
+
+ public void setStatus(String status) {
+ this.status = status;
+ }
+
+ public Long getCollectTime() {
+ return collectTime;
+ }
+
+ public void setCollectTime(Long collectTime) {
+ this.collectTime = collectTime;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append(getClass().getSimpleName());
+ sb.append(" [");
+ sb.append("Hash = ").append(hashCode());
+ sb.append(", id=").append(id);
+ sb.append(", mycatId=").append(mycatId);
+ sb.append(", uptime=").append(uptime);
+ sb.append(", usedMemory=").append(usedMemory);
+ sb.append(", totalMemory=").append(totalMemory);
+ sb.append(", maxMemory=").append(maxMemory);
+ sb.append(", reloadTime=").append(reloadTime);
+ sb.append(", rollbackTime=").append(rollbackTime);
+ sb.append(", charset=").append(charset);
+ sb.append(", status=").append(status);
+ sb.append(", collectTime=").append(collectTime);
+ sb.append(", serialVersionUID=").append(serialVersionUID);
+ sb.append("]");
+ return sb.toString();
+ }
+}
\ No newline at end of file
diff --git a/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatServerStatusExample.java b/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatServerStatusExample.java
new file mode 100644
index 0000000000000000000000000000000000000000..702839badd35bbb9200df992b265ca8599af108b
--- /dev/null
+++ b/mycateye-agent/src/main/java/io/mycat/eye/agent/bean/MycatServerStatusExample.java
@@ -0,0 +1,890 @@
+package io.mycat.eye.agent.bean;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class MycatServerStatusExample {
+ protected String orderByClause;
+
+ protected boolean distinct;
+
+ protected List oredCriteria;
+
+ public MycatServerStatusExample() {
+ oredCriteria = new ArrayList();
+ }
+
+ public void setOrderByClause(String orderByClause) {
+ this.orderByClause = orderByClause;
+ }
+
+ public String getOrderByClause() {
+ return orderByClause;
+ }
+
+ public void setDistinct(boolean distinct) {
+ this.distinct = distinct;
+ }
+
+ public boolean isDistinct() {
+ return distinct;
+ }
+
+ public List getOredCriteria() {
+ return oredCriteria;
+ }
+
+ public void or(Criteria criteria) {
+ oredCriteria.add(criteria);
+ }
+
+ public Criteria or() {
+ Criteria criteria = createCriteriaInternal();
+ oredCriteria.add(criteria);
+ return criteria;
+ }
+
+ public Criteria createCriteria() {
+ Criteria criteria = createCriteriaInternal();
+ if (oredCriteria.size() == 0) {
+ oredCriteria.add(criteria);
+ }
+ return criteria;
+ }
+
+ protected Criteria createCriteriaInternal() {
+ Criteria criteria = new Criteria();
+ return criteria;
+ }
+
+ public void clear() {
+ oredCriteria.clear();
+ orderByClause = null;
+ distinct = false;
+ }
+
+ protected abstract static class GeneratedCriteria {
+ protected List criteria;
+
+ protected GeneratedCriteria() {
+ super();
+ criteria = new ArrayList();
+ }
+
+ public boolean isValid() {
+ return criteria.size() > 0;
+ }
+
+ public List getAllCriteria() {
+ return criteria;
+ }
+
+ public List getCriteria() {
+ return criteria;
+ }
+
+ protected void addCriterion(String condition) {
+ if (condition == null) {
+ throw new RuntimeException("Value for condition cannot be null");
+ }
+ criteria.add(new Criterion(condition));
+ }
+
+ protected void addCriterion(String condition, Object value, String property) {
+ if (value == null) {
+ throw new RuntimeException("Value for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value));
+ }
+
+ protected void addCriterion(String condition, Object value1, Object value2, String property) {
+ if (value1 == null || value2 == null) {
+ throw new RuntimeException("Between values for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value1, value2));
+ }
+
+ public Criteria andIdIsNull() {
+ addCriterion("id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIsNotNull() {
+ addCriterion("id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdEqualTo(Integer value) {
+ addCriterion("id =", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotEqualTo(Integer value) {
+ addCriterion("id <>", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThan(Integer value) {
+ addCriterion("id >", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThanOrEqualTo(Integer value) {
+ addCriterion("id >=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThan(Integer value) {
+ addCriterion("id <", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThanOrEqualTo(Integer value) {
+ addCriterion("id <=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIn(List values) {
+ addCriterion("id in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotIn(List values) {
+ addCriterion("id not in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdBetween(Integer value1, Integer value2) {
+ addCriterion("id between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotBetween(Integer value1, Integer value2) {
+ addCriterion("id not between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andMycatIdIsNull() {
+ addCriterion("mycat_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andMycatIdIsNotNull() {
+ addCriterion("mycat_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andMycatIdEqualTo(Integer value) {
+ addCriterion("mycat_id =", value, "mycatId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMycatIdNotEqualTo(Integer value) {
+ addCriterion("mycat_id <>", value, "mycatId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMycatIdGreaterThan(Integer value) {
+ addCriterion("mycat_id >", value, "mycatId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMycatIdGreaterThanOrEqualTo(Integer value) {
+ addCriterion("mycat_id >=", value, "mycatId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMycatIdLessThan(Integer value) {
+ addCriterion("mycat_id <", value, "mycatId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMycatIdLessThanOrEqualTo(Integer value) {
+ addCriterion("mycat_id <=", value, "mycatId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMycatIdIn(List values) {
+ addCriterion("mycat_id in", values, "mycatId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMycatIdNotIn(List values) {
+ addCriterion("mycat_id not in", values, "mycatId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMycatIdBetween(Integer value1, Integer value2) {
+ addCriterion("mycat_id between", value1, value2, "mycatId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMycatIdNotBetween(Integer value1, Integer value2) {
+ addCriterion("mycat_id not between", value1, value2, "mycatId");
+ return (Criteria) this;
+ }
+
+ public Criteria andUptimeIsNull() {
+ addCriterion("uptime is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUptimeIsNotNull() {
+ addCriterion("uptime is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUptimeEqualTo(String value) {
+ addCriterion("uptime =", value, "uptime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUptimeNotEqualTo(String value) {
+ addCriterion("uptime <>", value, "uptime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUptimeGreaterThan(String value) {
+ addCriterion("uptime >", value, "uptime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUptimeGreaterThanOrEqualTo(String value) {
+ addCriterion("uptime >=", value, "uptime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUptimeLessThan(String value) {
+ addCriterion("uptime <", value, "uptime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUptimeLessThanOrEqualTo(String value) {
+ addCriterion("uptime <=", value, "uptime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUptimeLike(String value) {
+ addCriterion("uptime like", value, "uptime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUptimeNotLike(String value) {
+ addCriterion("uptime not like", value, "uptime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUptimeIn(List values) {
+ addCriterion("uptime in", values, "uptime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUptimeNotIn(List values) {
+ addCriterion("uptime not in", values, "uptime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUptimeBetween(String value1, String value2) {
+ addCriterion("uptime between", value1, value2, "uptime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUptimeNotBetween(String value1, String value2) {
+ addCriterion("uptime not between", value1, value2, "uptime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUsedMemoryIsNull() {
+ addCriterion("used_memory is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUsedMemoryIsNotNull() {
+ addCriterion("used_memory is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUsedMemoryEqualTo(Long value) {
+ addCriterion("used_memory =", value, "usedMemory");
+ return (Criteria) this;
+ }
+
+ public Criteria andUsedMemoryNotEqualTo(Long value) {
+ addCriterion("used_memory <>", value, "usedMemory");
+ return (Criteria) this;
+ }
+
+ public Criteria andUsedMemoryGreaterThan(Long value) {
+ addCriterion("used_memory >", value, "usedMemory");
+ return (Criteria) this;
+ }
+
+ public Criteria andUsedMemoryGreaterThanOrEqualTo(Long value) {
+ addCriterion("used_memory >=", value, "usedMemory");
+ return (Criteria) this;
+ }
+
+ public Criteria andUsedMemoryLessThan(Long value) {
+ addCriterion("used_memory <", value, "usedMemory");
+ return (Criteria) this;
+ }
+
+ public Criteria andUsedMemoryLessThanOrEqualTo(Long value) {
+ addCriterion("used_memory <=", value, "usedMemory");
+ return (Criteria) this;
+ }
+
+ public Criteria andUsedMemoryIn(List values) {
+ addCriterion("used_memory in", values, "usedMemory");
+ return (Criteria) this;
+ }
+
+ public Criteria andUsedMemoryNotIn(List values) {
+ addCriterion("used_memory not in", values, "usedMemory");
+ return (Criteria) this;
+ }
+
+ public Criteria andUsedMemoryBetween(Long value1, Long value2) {
+ addCriterion("used_memory between", value1, value2, "usedMemory");
+ return (Criteria) this;
+ }
+
+ public Criteria andUsedMemoryNotBetween(Long value1, Long value2) {
+ addCriterion("used_memory not between", value1, value2, "usedMemory");
+ return (Criteria) this;
+ }
+
+ public Criteria andTotalMemoryIsNull() {
+ addCriterion("total_memory is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andTotalMemoryIsNotNull() {
+ addCriterion("total_memory is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andTotalMemoryEqualTo(Long value) {
+ addCriterion("total_memory =", value, "totalMemory");
+ return (Criteria) this;
+ }
+
+ public Criteria andTotalMemoryNotEqualTo(Long value) {
+ addCriterion("total_memory <>", value, "totalMemory");
+ return (Criteria) this;
+ }
+
+ public Criteria andTotalMemoryGreaterThan(Long value) {
+ addCriterion("total_memory >", value, "totalMemory");
+ return (Criteria) this;
+ }
+
+ public Criteria andTotalMemoryGreaterThanOrEqualTo(Long value) {
+ addCriterion("total_memory >=", value, "totalMemory");
+ return (Criteria) this;
+ }
+
+ public Criteria andTotalMemoryLessThan(Long value) {
+ addCriterion("total_memory <", value, "totalMemory");
+ return (Criteria) this;
+ }
+
+ public Criteria andTotalMemoryLessThanOrEqualTo(Long value) {
+ addCriterion("total_memory <=", value, "totalMemory");
+ return (Criteria) this;
+ }
+
+ public Criteria andTotalMemoryIn(List values) {
+ addCriterion("total_memory in", values, "totalMemory");
+ return (Criteria) this;
+ }
+
+ public Criteria andTotalMemoryNotIn(List values) {
+ addCriterion("total_memory not in", values, "totalMemory");
+ return (Criteria) this;
+ }
+
+ public Criteria andTotalMemoryBetween(Long value1, Long value2) {
+ addCriterion("total_memory between", value1, value2, "totalMemory");
+ return (Criteria) this;
+ }
+
+ public Criteria andTotalMemoryNotBetween(Long value1, Long value2) {
+ addCriterion("total_memory not between", value1, value2, "totalMemory");
+ return (Criteria) this;
+ }
+
+ public Criteria andMaxMemoryIsNull() {
+ addCriterion("max_memory is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andMaxMemoryIsNotNull() {
+ addCriterion("max_memory is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andMaxMemoryEqualTo(Long value) {
+ addCriterion("max_memory =", value, "maxMemory");
+ return (Criteria) this;
+ }
+
+ public Criteria andMaxMemoryNotEqualTo(Long value) {
+ addCriterion("max_memory <>", value, "maxMemory");
+ return (Criteria) this;
+ }
+
+ public Criteria andMaxMemoryGreaterThan(Long value) {
+ addCriterion("max_memory >", value, "maxMemory");
+ return (Criteria) this;
+ }
+
+ public Criteria andMaxMemoryGreaterThanOrEqualTo(Long value) {
+ addCriterion("max_memory >=", value, "maxMemory");
+ return (Criteria) this;
+ }
+
+ public Criteria andMaxMemoryLessThan(Long value) {
+ addCriterion("max_memory <", value, "maxMemory");
+ return (Criteria) this;
+ }
+
+ public Criteria andMaxMemoryLessThanOrEqualTo(Long value) {
+ addCriterion("max_memory <=", value, "maxMemory");
+ return (Criteria) this;
+ }
+
+ public Criteria andMaxMemoryIn(List values) {
+ addCriterion("max_memory in", values, "maxMemory");
+ return (Criteria) this;
+ }
+
+ public Criteria andMaxMemoryNotIn(List values) {
+ addCriterion("max_memory not in", values, "maxMemory");
+ return (Criteria) this;
+ }
+
+ public Criteria andMaxMemoryBetween(Long value1, Long value2) {
+ addCriterion("max_memory between", value1, value2, "maxMemory");
+ return (Criteria) this;
+ }
+
+ public Criteria andMaxMemoryNotBetween(Long value1, Long value2) {
+ addCriterion("max_memory not between", value1, value2, "maxMemory");
+ return (Criteria) this;
+ }
+
+ public Criteria andReloadTimeIsNull() {
+ addCriterion("reload_time is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andReloadTimeIsNotNull() {
+ addCriterion("reload_time is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andReloadTimeEqualTo(Long value) {
+ addCriterion("reload_time =", value, "reloadTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andReloadTimeNotEqualTo(Long value) {
+ addCriterion("reload_time <>", value, "reloadTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andReloadTimeGreaterThan(Long value) {
+ addCriterion("reload_time >", value, "reloadTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andReloadTimeGreaterThanOrEqualTo(Long value) {
+ addCriterion("reload_time >=", value, "reloadTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andReloadTimeLessThan(Long value) {
+ addCriterion("reload_time <", value, "reloadTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andReloadTimeLessThanOrEqualTo(Long value) {
+ addCriterion("reload_time <=", value, "reloadTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andReloadTimeIn(List values) {
+ addCriterion("reload_time in", values, "reloadTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andReloadTimeNotIn(List values) {
+ addCriterion("reload_time not in", values, "reloadTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andReloadTimeBetween(Long value1, Long value2) {
+ addCriterion("reload_time between", value1, value2, "reloadTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andReloadTimeNotBetween(Long value1, Long value2) {
+ addCriterion("reload_time not between", value1, value2, "reloadTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andRollbackTimeIsNull() {
+ addCriterion("rollback_time is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRollbackTimeIsNotNull() {
+ addCriterion("rollback_time is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRollbackTimeEqualTo(Long value) {
+ addCriterion("rollback_time =", value, "rollbackTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andRollbackTimeNotEqualTo(Long value) {
+ addCriterion("rollback_time <>", value, "rollbackTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andRollbackTimeGreaterThan(Long value) {
+ addCriterion("rollback_time >", value, "rollbackTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andRollbackTimeGreaterThanOrEqualTo(Long value) {
+ addCriterion("rollback_time >=", value, "rollbackTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andRollbackTimeLessThan(Long value) {
+ addCriterion("rollback_time <", value, "rollbackTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andRollbackTimeLessThanOrEqualTo(Long value) {
+ addCriterion("rollback_time <=", value, "rollbackTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andRollbackTimeIn(List values) {
+ addCriterion("rollback_time in", values, "rollbackTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andRollbackTimeNotIn(List values) {
+ addCriterion("rollback_time not in", values, "rollbackTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andRollbackTimeBetween(Long value1, Long value2) {
+ addCriterion("rollback_time between", value1, value2, "rollbackTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andRollbackTimeNotBetween(Long value1, Long value2) {
+ addCriterion("rollback_time not between", value1, value2, "rollbackTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCharsetIsNull() {
+ addCriterion("charset is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCharsetIsNotNull() {
+ addCriterion("charset is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCharsetEqualTo(String value) {
+ addCriterion("charset =", value, "charset");
+ return (Criteria) this;
+ }
+
+ public Criteria andCharsetNotEqualTo(String value) {
+ addCriterion("charset <>", value, "charset");
+ return (Criteria) this;
+ }
+
+ public Criteria andCharsetGreaterThan(String value) {
+ addCriterion("charset >", value, "charset");
+ return (Criteria) this;
+ }
+
+ public Criteria andCharsetGreaterThanOrEqualTo(String value) {
+ addCriterion("charset >=", value, "charset");
+ return (Criteria) this;
+ }
+
+ public Criteria andCharsetLessThan(String value) {
+ addCriterion("charset <", value, "charset");
+ return (Criteria) this;
+ }
+
+ public Criteria andCharsetLessThanOrEqualTo(String value) {
+ addCriterion("charset <=", value, "charset");
+ return (Criteria) this;
+ }
+
+ public Criteria andCharsetLike(String value) {
+ addCriterion("charset like", value, "charset");
+ return (Criteria) this;
+ }
+
+ public Criteria andCharsetNotLike(String value) {
+ addCriterion("charset not like", value, "charset");
+ return (Criteria) this;
+ }
+
+ public Criteria andCharsetIn(List