摘要:
@ConfigurationProperties("a") @Data public class InitSetting { private List<List<String>> b; } application.yml a: b: - 'string_11,string_12' - 'string 阅读全文
摘要:
ClickhouseConfig.java @Configuration @EntityScan(basePackages = "test.entity.clickhouse") @EnableJpaRepositories( basePackages = "test.repository.clic 阅读全文
摘要:
@Configuration public class PhoenixDataSource { @Bean(name = "phoenixDatasource") @ConfigurationProperties(prefix = "spring.phoenix.datasource") publi 阅读全文
摘要:
sudo rm -f /etc/localtimesudo ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime 阅读全文
摘要:
DateTimeFormatter formatter = new DateTimeFormatterBuilder().appendPattern("dd/MMM/yyyy:HH:mm:ss") .toFormatter(Locale.CHINA); LocalDateTime localDate 阅读全文
摘要:
collopse { "size":3, "query":{ "more_like_this":{ "fields" : ["remark"], "like" : ["特价","套装" ], "min_term_freq" : 1, "max_query_terms" : 1 } } , "coll 阅读全文
摘要:
readTree认为上面的字符是json,坑啊 alibaba的fastjson 无论JSONObject.parseObject还是JSONObject.parseObject 都会抛异常 阅读全文
摘要:
sincedb_path:可以是一个不存在的文件 path:windows下文件分隔如果"\",不会导入数据,也没有error信息,需要改成:"/" 阅读全文
摘要:
## filebeat *.csv 2019-11-30 23:27:50,111111,222222,VIEW,333333333333 filebeat filebeat.inputs:- paths: - C:\logs\*csv input_type: log multiline.patte 阅读全文
摘要:
function addEvent(obj, type, handle) { if (obj.addEventListener) { obj.addEventListener(type, handle); } else if (obj.attachEvent) { obj.attachEvent('on' + type, handle); ... 阅读全文