摘要: http://www.expectfly.com/2017/08/15/%E5%88%86%E5%B8%83%E5%BC%8F%E5%AE%9A%E6%97%B6%E4%BB%BB%E5%8A%A1%E6%96%B9%E6%A1%88%E6%8A%80%E6%9C%AF%E9%80%89%E5%9E 阅读全文
posted @ 2020-10-27 10:26 winner66 阅读(2353) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/qq_42383787/article/details/89476236 public void test() throws IOException { # 创建一个Search 对象 SearchRequest searchRequest = new S 阅读全文
posted @ 2020-10-13 13:57 winner66 阅读(228) 评论(0) 推荐(0)
摘要: Hutool是一个小而全的Java工具类库,通过静态方法封装, https://gitee.com/loolly/hutool Hutool之单例池——Singleton Singleton.get(Dog.class); 阅读全文
posted @ 2020-10-13 11:49 winner66 阅读(1581) 评论(0) 推荐(0)
摘要: @Slf4jpublic abstract class AbstractEsDataOperationListener<M extends ElasticsearchRepository, T> implements MessageListener { @Autowired protected M 阅读全文
posted @ 2020-10-13 11:35 winner66 阅读(147) 评论(0) 推荐(0)
摘要: https://my.oschina.net/fusublog/blog/3050964 阅读全文
posted @ 2020-10-13 11:32 winner66 阅读(3408) 评论(0) 推荐(0)
摘要: ?: @SuppressWarnings("all") 阅读全文
posted @ 2020-10-13 10:11 winner66 阅读(66) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/zhangboyu/p/7580262.html Optional 类主要解决的问题是臭名昭著的空指针异常(NullPointerException) of() 和 ofNullable() orElse() 和 orElseGet() orElseT 阅读全文
posted @ 2020-10-13 10:05 winner66 阅读(97) 评论(0) 推荐(0)
摘要: 详细情况看: https://www.cnblogs.com/zjfjava/p/6922494.html 索引被用来快速找出在一个列上用一特定值的行。没有索引,MySQL不得不首先以第一条记录开始并然后读完整个表直到它找出相关的行。 表越大,花费时间越多。如果表对于查询的列有一个索引,MySQL能 阅读全文
posted @ 2020-10-13 09:54 winner66 阅读(387) 评论(0) 推荐(0)
摘要: https://mp.weixin.qq.com/s?__biz=MzI5MzYzMDAwNw==&mid=2247491103&idx=2&sn=00bd93824c60008784c41bfeafc581be&chksm=ec6e6747db19ee51502fb408cd205fc8ae56a 阅读全文
posted @ 2020-10-13 09:43 winner66 阅读(378) 评论(0) 推荐(0)
摘要: https://blog.51cto.com/sihai/2425915 这几个接口都在 java.util.function 包下的,分别是Consumer(消费型)、supplier(供给型)、predicate(谓词型)、function(功能性) 阅读全文
posted @ 2020-10-13 09:34 winner66 阅读(189) 评论(0) 推荐(0)