上一页 1 2 3 4 5 6 7 ··· 15 下一页
摘要: Integer排序 Collections.sort(resList, Comparator.comparingInt(SpecialStateCountVo::getSpecialNum).reversed()); String排序 list= list.stream() .sorted( Com 阅读全文
posted @ 2022-12-07 00:09 赵钱富贵 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 热部署 1、使用devtools依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <scope>runtime</scope> <opti 阅读全文
posted @ 2022-10-03 22:05 赵钱富贵 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 根据查询条件动态拼接表名 # 测试数据 create table temp1(id int , name varchar(50)); create table temp2(id int , name varchar(50)); insert into temp2 values(2,'里斯'); in 阅读全文
posted @ 2022-09-26 16:48 赵钱富贵 阅读(19) 评论(0) 推荐(0) 编辑
摘要: select (@i:=@i+1) as i, table1.* from table1 , (select @i:=0) temp 阅读全文
posted @ 2022-08-10 16:13 赵钱富贵 阅读(92) 评论(0) 推荐(0) 编辑
摘要: 问题1 MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disa 阅读全文
posted @ 2022-07-31 11:31 赵钱富贵 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 允许远程访问本地mysql GRANT ALL PRIVILEGES ON . TO 'root'@'%' IDENTIFIED BY 'Gepoint' WITH GRANT OPTION; FLUSH PRIVILEGES; 允许远程访问本地 redis redis.windows.conf中的 阅读全文
posted @ 2022-07-05 12:23 赵钱富贵 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 创建型模式 创建型模式有5种,不含简单工厂 简单工厂示例(静态工厂) DataSource ds=DataSource Factory.getInstance("mysql"); 工厂方法示例 使用数据源服务 获取数据源 几个角色: 抽象工厂、具体工厂、抽象产品、具体产品 对应:DataSource 阅读全文
posted @ 2022-06-15 21:32 赵钱富贵 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 启动和配置flume Agent 是一个 JVM 进程,它以事件(Event)的形式将数据从源头(Source)通过渠道(Channel)送至目标端(Sink)。 Agent 主要有 3 个部分组成,Source、Channel、Sink。 # 目录->kafka a1.sources = s1 a 阅读全文
posted @ 2022-06-12 22:51 赵钱富贵 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 启动和配置kafka #0 依赖zookeeper #1. 解压包 tar zxvf kafka_2.12-2.8.0.tgz # 2、修改配置 vim kafka_2.12-2.8.0/config/server.properties broker.id=0 listeners=PLAINTEXT 阅读全文
posted @ 2022-06-12 21:39 赵钱富贵 阅读(118) 评论(0) 推荐(0) 编辑
摘要: hadoop全家桶 hadoop hdfs :hadoop分布式文件系统 mapReduce : 计算框架 yarn 资源调度 hive OLAP、数仓、SQL 数据仓库,提供hive-sql 管理-查询数据 本身不存储和计算数据,默认使用hadoop.mapReduce 作为计算框架,hdfs作为 阅读全文
posted @ 2022-06-12 18:42 赵钱富贵 阅读(272) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 15 下一页