If a file is larger than 5MB size limit for pushing t, the files must be tracked and updated using git lfs. Note: Please follow the instructions here( ...
分类:
其他好文 时间:
2021-01-11 10:39:35
阅读次数:
0
/** * @desc: 自定义索引优先队列,可修改,删除索引对应的值 * @author: 毛会懂 * @create: 2021-01-06 17:20:00 **/ public class MyIndexPriorityQueue<T extends Comparable<T>> { pri ...
分类:
其他好文 时间:
2021-01-08 11:45:21
阅读次数:
0
# -*- coding: UTF-8 -*- ''' @Project -> File :MyDjango -> cos_upload_demo @IDE :PyCharm @Author :ruochen @Date :2020/7/17 11:52 @Desc : ''' from qclou ...
分类:
其他好文 时间:
2021-01-08 11:43:55
阅读次数:
0
枚举接口用处是提供了枚举范本,通过implement此接口能实现很多类型的枚举类型实现,现在来看一下实现代码 1. BaseEnum<K, V>接口代码: //这里的K和V分别是指枚举标识和描述的类型,这里是泛型 public interface BaseEnum<K, V> { /** * 获取编 ...
分类:
编程语言 时间:
2021-01-08 11:41:30
阅读次数:
0
一、re模块 一:什么是正则? 正则就是用一些具有特殊含义的符号组合到一起(称为正则表达式)来描述字符或者字符串的方法。或者说:正则就是用来描述一类事物的规则。(在Python中)它内嵌在Python中,并通过 re 模块实现。正则表达式模式被编译成一系列的字节码,然后由用 C 编写的匹配引擎执行。 ...
分类:
编程语言 时间:
2021-01-08 11:20:43
阅读次数:
0
首先mysql sql语句查询公司名称首字母排序如下: SELECT * FROM `表名` ORDER BY CONVERT (company USING gbk) Desc; django框架用orm查询 models.Contacts.objects.all().order_by('CONVE ...
分类:
编程语言 时间:
2021-01-08 10:39:34
阅读次数:
0
MySQL group_concat() 函数用法 在使用 group by对数据进行分组后,如果需要对 select 的数据项进行字符串拼接,这时就需要用到group_concat()函数。 1、基本用法 group_concat()完整语法如下: group_concat([DISTINCT] ...
分类:
数据库 时间:
2021-01-07 12:27:19
阅读次数:
0
1. 导入数据 webuse drugtr,clear *webuse -- Use dataset from Stata website stset,clear *上一行命令导入进来的数据是“生存时间数据”,会比最原始的数据多四列,这一行命令的目的是重置为原始数据,之所以这样做,是为了显示数据处理 ...
分类:
其他好文 时间:
2021-01-01 12:40:36
阅读次数:
0
booleanQuery:"must" : [ { "term" : { "like" : "cooking" } }, { "term" : { "property" : "bike" } } ]termInsetQuery:{ "terms": {"like": [ "cooking", "fi ...
分类:
其他好文 时间:
2021-01-01 11:54:07
阅读次数:
0
improt.org.springframework.data.domain.sort包Criterialcritel=newCriterial();criterl.and("createTime").is(req.getCreateTime())Sortsort=Sort.by(sort.Diretion.DESC,mongod库对应属性)mongoTempalate.fin
分类:
数据库 时间:
2020-12-29 11:05:45
阅读次数:
0