跳过导航链接
A B C D E F G H I J K L M N O P Q R S T U V Z 

A

AbstractModel<T extends BaseModel,R extends BaseType> - top.isopen.commons.springboot.model中的类
抽象 Model 层
AbstractModel() - 类 的构造器top.isopen.commons.springboot.model.AbstractModel
 
AbstractRepository<T extends AbstractType<T,?>,R extends AbstractModel<R,?>> - top.isopen.commons.springboot.repository中的类
抽象 Repository 层 提供基础条件注解式查询(QueryField)、复杂条件查询(QueryQueryList)以及排序查询(OrderByOrderByList)动态支持 简化了复杂查询的组合
AbstractRepository() - 类 的构造器top.isopen.commons.springboot.repository.AbstractRepository
 
AbstractStrategyFactory<T,R> - top.isopen.commons.springboot.factory中的类
抽象策略工厂
AbstractStrategyFactory() - 类 的构造器top.isopen.commons.springboot.factory.AbstractStrategyFactory
 
AbstractType<T extends BaseType,R extends BaseModel> - top.isopen.commons.springboot.types中的类
抽象类型
AbstractType() - 类 的构造器top.isopen.commons.springboot.types.AbstractType
 
addStrategy(T, R) - 类 中的方法top.isopen.commons.springboot.factory.AbstractStrategyFactory
 
append(String, String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
追加值到末尾 注: 当 redis 中原本不存在 key 时,那么(从效果上来看)此方法就等价于 RedisHelper.set(String, String)
applicationContextHelper() - 类 中的方法top.isopen.commons.springboot.config.BaseConfig
 
ApplicationContextHelper - top.isopen.commons.springboot.helper中的类
应用上下文
ApplicationContextHelper() - 类 的构造器top.isopen.commons.springboot.helper.ApplicationContextHelper
 
asc(SFunction<T, ?>) - 类 中的方法top.isopen.commons.springboot.repository.types.OrderBy.Builder
 
asc(String) - 类 中的方法top.isopen.commons.springboot.repository.types.OrderBy.Builder
 
asc(boolean, SFunction<T, ?>) - 类 中的方法top.isopen.commons.springboot.repository.types.OrderBy.Builder
 
asc(boolean, SFunction<T, ?>, int) - 类 中的方法top.isopen.commons.springboot.repository.types.OrderBy.Builder
 
asc(boolean, String) - 类 中的方法top.isopen.commons.springboot.repository.types.OrderBy.Builder
 
asc(boolean, String, int) - 类 中的方法top.isopen.commons.springboot.repository.types.OrderBy.Builder
 
asc(SFunction<T, ?>) - 类 中的方法top.isopen.commons.springboot.repository.types.OrderByList.Builder
 
asc(String) - 类 中的方法top.isopen.commons.springboot.repository.types.OrderByList.Builder
 
asc(boolean, SFunction<T, ?>) - 类 中的方法top.isopen.commons.springboot.repository.types.OrderByList.Builder
 
asc(boolean, String) - 类 中的方法top.isopen.commons.springboot.repository.types.OrderByList.Builder
 

B

BaseConfig - top.isopen.commons.springboot.config中的类
基础配置类 用于注册 应用上下文 ApplicationContextHelper、事件发布器 EventHelper、基础异常处理器 BaseExceptionHandler
BaseConfig() - 类 的构造器top.isopen.commons.springboot.config.BaseConfig
 
BaseErrorEnum - top.isopen.commons.springboot.enums中的枚举
基础错误枚举类型
BaseException - top.isopen.commons.springboot.exception中的异常错误
基础异常类
BaseException() - 异常错误 的构造器top.isopen.commons.springboot.exception.BaseException
 
BaseException(int) - 异常错误 的构造器top.isopen.commons.springboot.exception.BaseException
 
BaseException(int, String, String) - 异常错误 的构造器top.isopen.commons.springboot.exception.BaseException
 
BaseException(int, String, String, HttpStatus) - 异常错误 的构造器top.isopen.commons.springboot.exception.BaseException
 
baseExceptionHandler() - 类 中的方法top.isopen.commons.springboot.config.BaseConfig
 
BaseExceptionHandler - top.isopen.commons.springboot.exception中的类
基础异常处理类
BaseExceptionHandler() - 类 的构造器top.isopen.commons.springboot.exception.BaseExceptionHandler
 
BaseModel - top.isopen.commons.springboot.model中的类
基础 Model 层 包含基础字段
BaseModel() - 类 的构造器top.isopen.commons.springboot.model.BaseModel
 
BaseRequest - top.isopen.commons.springboot.bean中的类
基础查询体 反序列化依赖构造函数 所以 BaseRequest 的子类需使用 @NoArgsConstructor 和 @AllArgsConstructor
BaseRequest() - 类 的构造器top.isopen.commons.springboot.bean.BaseRequest
 
BaseResponse - top.isopen.commons.springboot.bean中的类
基础响应体
BaseResponse() - 类 的构造器top.isopen.commons.springboot.bean.BaseResponse
 
BaseType - top.isopen.commons.springboot.types中的类
基础类型
BaseType() - 类 的构造器top.isopen.commons.springboot.types.BaseType
 
build() - 类 中的方法top.isopen.commons.springboot.repository.types.OrderBy.Builder
 
build() - 类 中的方法top.isopen.commons.springboot.repository.types.OrderByList.Builder
 
build() - 类 中的方法top.isopen.commons.springboot.repository.types.Query.Builder
 
build() - 类 中的方法top.isopen.commons.springboot.repository.types.QueryList.Builder
 
builder() - 类 中的静态方法top.isopen.commons.springboot.repository.types.OrderBy
 
builder() - 类 中的静态方法top.isopen.commons.springboot.repository.types.OrderByList
 
builder() - 类 中的静态方法top.isopen.commons.springboot.repository.types.Query
 
builder() - 类 中的静态方法top.isopen.commons.springboot.repository.types.QueryList
 

C

Column - top.isopen.commons.springboot.repository.types中的类
查询中使用的列类型
Column(String) - 类 的构造器top.isopen.commons.springboot.repository.types.Column
 
column(String) - 类 中的方法top.isopen.commons.springboot.repository.types.Query.Builder
 
columnFunc(SFunction<T, ?>) - 类 中的方法top.isopen.commons.springboot.repository.types.Query.Builder
 

D

DEFAULT_LOCK_TIMEOUT - 类 中的变量top.isopen.commons.springboot.helper.RedisHelper
分布式锁默认(最大)存活时长
DEFAULT_SYMBOL - 类 中的静态变量top.isopen.commons.springboot.helper.RedisHelper.Helper
默认拼接符
DEFAULT_TIMEOUT_UNIT - 类 中的变量top.isopen.commons.springboot.helper.RedisHelper
DEFAULT_LOCK_TIMEOUT的单位
delete(String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
根据 key, 删除 redis 中的对应 key-value 注:若删除失败, 则返回 false。
delete(Collection<String>) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
根据 keys, 批量删除 key-value 注:若 redis 中,不存在对应的 key, 那么计数不会加 1, 即: redis 中存在的 key-value 里,有名为 a1、a2 的 key, 删除时,传的集合是 a1、a2、a3,那么返回结果为 2。
desc(SFunction<T, ?>) - 类 中的方法top.isopen.commons.springboot.repository.types.OrderBy.Builder
 
desc(String) - 类 中的方法top.isopen.commons.springboot.repository.types.OrderBy.Builder
 
desc(SFunction<T, ?>) - 类 中的方法top.isopen.commons.springboot.repository.types.OrderByList.Builder
 
desc(String) - 类 中的方法top.isopen.commons.springboot.repository.types.OrderByList.Builder
 
dump(String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
将 key 对应的 value 值进行序列化,并返回序列化后的 value 值。

E

encryptPassword(String, String) - 类 中的静态方法top.isopen.commons.springboot.util.PasswordUtil
根据用户名和盐值加密
error(int, String, String) - 类 中的静态方法top.isopen.commons.springboot.bean.Result
 
eventHelper() - 类 中的方法top.isopen.commons.springboot.config.BaseConfig
 
EventHelper - top.isopen.commons.springboot.helper中的类
事件发布器
EventHelper(ApplicationContext) - 类 的构造器top.isopen.commons.springboot.helper.EventHelper
 
expire(String, long, TimeUnit) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
给指定的 key 对应的 key-value 设置:多久过时 注:过时后,redis 会自动删除对应的 key-value。
expireAt(String, Date) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
给指定的 key 对应的 key-value 设置:什么时候过时 注:过时后,redis 会自动删除对应的 key-value。

F

FieldUtil - top.isopen.commons.springboot.util中的类
数据库字段工具类 将 Lambda 类型属性或 方法名 属性转换为数据库字段
FieldUtil() - 类 的构造器top.isopen.commons.springboot.util.FieldUtil
 
fillCreateTime() - 类 中的方法top.isopen.commons.springboot.types.AbstractType
 
fillUpdateTime() - 类 中的方法top.isopen.commons.springboot.types.AbstractType
 

G

generateSalt() - 类 中的静态方法top.isopen.commons.springboot.util.PasswordUtil
 
get(String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
根据 key,获取到对应的 value 值
getAndSet(String, String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
给指定 key 设置新的 value,并返回旧的 value 注: 若 redis 中不存在 key,那么此操作仍然可以成功,不过返回的旧值是 null
getApplicationContext() - 类 中的静态方法top.isopen.commons.springboot.helper.ApplicationContextHelper
 
getBean(Class<T>) - 类 中的方法top.isopen.commons.springboot.helper.ApplicationContextHelper
 
getBean(String, Class<T>) - 类 中的方法top.isopen.commons.springboot.helper.ApplicationContextHelper
 
getBit(String, long) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
获取(key对应的)value 在二进制下,offset 位置的 bit 值。
getColumn() - 类 中的方法top.isopen.commons.springboot.repository.types.OrderBy
 
getColumn() - 类 中的方法top.isopen.commons.springboot.repository.types.Query
 
getDescription() - 枚举 中的方法top.isopen.commons.springboot.enums.OnlineStatusEnum
 
getDescription() - 枚举 中的方法top.isopen.commons.springboot.repository.enums.OrderByTypeEnum
 
getDescription() - 枚举 中的方法top.isopen.commons.springboot.repository.enums.QueryTypeEnum
 
getExpire(String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
获取 key 对应的 key-value 的过期时间 注:若 key-value 永不过期, 那么返回的为 -1。
getExpire(String, TimeUnit) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
获取 key 对应的 key-value 的过期时间 注:若 key-value 永不过期, 那么返回的为 -1。
getLock(String, String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
获取(分布式)锁.
getLock(String, String, long, TimeUnit) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
获取(分布式)锁 注: 获取结果是即时返回的、是非阻塞的。
getLock(String, String, long, TimeUnit, boolean) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
获取(分布式)锁 注: 获取结果是即时返回的、是非阻塞的。
getLockUntilTimeout(String, String, long) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
获取(分布式)锁。
getLockUntilTimeout(String, String, long, TimeUnit, long) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
获取(分布式)锁。
getOrder() - 类 中的方法top.isopen.commons.springboot.repository.types.OrderBy
 
getRange(String, long, long) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
对(key 对应的)value 进行截取, 截取范围为 [start, end] 注:若 [start, end] 的范围不在 value 的范围中,那么返回的是空字符串 "" 注:若 value 只有一部分在 [start, end] 的范围中,那么返回的是 value 对应部分的内容(即:不足的地方,并不会以空来填充)
getStrategy(T) - 类 中的方法top.isopen.commons.springboot.factory.AbstractStrategyFactory
 
getType() - 类 中的方法top.isopen.commons.springboot.repository.types.Query
 
getValue() - 枚举 中的方法top.isopen.commons.springboot.enums.OnlineStatusEnum
 
getValue() - 枚举 中的方法top.isopen.commons.springboot.repository.enums.OrderByTypeEnum
 
getValue() - 枚举 中的方法top.isopen.commons.springboot.repository.enums.QueryTypeEnum
 
getValue() - 类 中的方法top.isopen.commons.springboot.repository.types.OrderByList
 
getValue() - 类 中的方法top.isopen.commons.springboot.repository.types.Query
 
getValue() - 类 中的方法top.isopen.commons.springboot.repository.types.QueryList
 
getValue() - 类 中的方法top.isopen.commons.springboot.types.ValueType
 

H

handleBaseException(BaseException) - 类 中的方法top.isopen.commons.springboot.exception.BaseExceptionHandler
 
hasKey(String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
redis 中是否存在,指定 key 的 key-value
hDelete(String, Object...) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
(批量)删除(key 对应的)hash 中的对应 entryKey-entryValue 注: 1、若 redis 中不存在对应的 key,则返回 0; 2、若要删除的 entryKey,在 key 对应的 hash 中不存在,在 count 不会 +1, 如: RedisHelper.HashOps.hPut("ds", "name", "邓沙利文"); RedisHelper.HashOps.hPut("ds", "birthday", "1994-02-05"); RedisHelper.HashOps.hPut("ds", "hobby", "女"); 则调用 RedisUtil.HashOps.hDelete("ds", "name", "birthday", "hobby", "non-exist-entryKey") 的返回结果为 3 注:若(key 对应的)hash 中的所有 entry 都被删除了,那么该 key 也会被删除
Helper() - 类 的构造器top.isopen.commons.springboot.helper.RedisHelper.Helper
 
hExists(String, String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
查看(key 对应的)hash中,是否存在 entryKey 对应的 entry 注:若 redis 中不存在 key,则返回 false。
hGet(String, String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
获取到 key 对应的 hash 里面的对应字段的值 注: 若 redis 中不存在对应的 key,则返回 null。
hGetAll(String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
获取到 key 对应的 hash(即:获取到 key 对应的 Map) 注:若 redis 中不存在对应的 key,则返回一个没有任何 entry 的空的 Map(而不是返回 null)。
hIncrBy(String, Object, long) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
增/减(hash中的某个entryValue值) 整数 注: 负数则为减。
hIncrByFloat(String, Object, double) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
增/减(hash中的某个entryValue值) 浮点数 注: 负数则为减。
hKeys(String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
获取(key对应的)hash中的所有entryKey 注: 若key不存在,则返回的是一个空的Set(,而不是返回null)
hMultiGet(String, Collection<Object>) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
批量获取(key 对应的)hash 中的 entryKey 的 entryValue 注:若 hash 中对应的 entryKey 不存在,那么返回的对应的 entryValue 值为 null 注:redis 中 key 不存在,那么返回的 List 中,每个元素都为 null。
hPut(String, String, String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
向 key 对应的 hash 中,增加一个键值对 entryKey-entryValue 注:同一个 hash 里面,若已存在相同的 entryKey,那么此操作将丢弃原来的 entryKey-entryValue, 而使用新的 entryKey-entryValue。
hPutAll(String, Map<String, String>) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
向 key 对应的 hash 中,增加 maps(即: 批量增加 entry 集) 注:同一个 hash 里面,若已存在相同的 entryKey,那么此操作将丢弃原来的 entryKey-entryValue, 而使用新的 entryKey-entryValue
hPutIfAbsent(String, String, String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
当 key 对应的 hash 中,不存在 entryKey 时,才(向 key 对应的 hash 中)增加 entryKey-entryValue 否者,不进行任何操作
hScan(String, ScanOptions) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
根据options匹配到(key对应的)hash中的对应的entryKey, 并返回对应的entry集 注: ScanOptions实例的创建方式举例: 1、ScanOptions.NONE 2、ScanOptions.scanOptions().match("n??
hSize(String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
获取(key对应的)hash中的所有entry的数量 注: 若redis中不存在对应的key, 则返回值为0
humpToUnderline(String) - 类 中的静态方法top.isopen.commons.springboot.util.NameUtil
驼峰转下划线
hValues(String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
获取(key对应的)hash中的所有entryValue 注: 若key不存在,则返回的是一个空的List(,而不是返回null)

I

incrBy(String, long) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
增/减 整数 注:负数则为减。
incrByFloat(String, double) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
增/减 浮点数 注:慎用浮点数,会有精度问题。
init() - 类 中的方法top.isopen.commons.springboot.factory.AbstractStrategyFactory
 
isAsc() - 枚举 中的方法top.isopen.commons.springboot.repository.enums.OrderByTypeEnum
 
isAsc() - 类 中的方法top.isopen.commons.springboot.repository.types.OrderBy
 
isOffline() - 类 中的方法top.isopen.commons.springboot.types.OnlineType
 
isOnline() - 类 中的方法top.isopen.commons.springboot.types.OnlineType
 

J

jackson2ObjectMapperBuilderCustomizer() - 类 中的方法top.isopen.commons.springboot.config.JacksonConfig
Long.TYPE == long.class Long.class !
JacksonConfig - top.isopen.commons.springboot.config中的类
Jackson 序列化配置
JacksonConfig() - 类 的构造器top.isopen.commons.springboot.config.JacksonConfig
 
join(String...) - 类 中的静态方法top.isopen.commons.springboot.helper.RedisHelper.Helper
拼接args
joinBySymbol(String, String...) - 类 中的静态方法top.isopen.commons.springboot.helper.RedisHelper.Helper
使用symbol拼接args

K

keys(String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
找到所有匹配 pattern 的 key,并返回该 key 的集合.

L

lIndex(String, long) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
通过索引index, 获取(key对应的)list中的元素 注: 若key不存在 或 index超出(key对应的)list的索引范围,那么返回null
lLeftPop(String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
【非阻塞队列】 从左侧移出(key对应的)list中的第一个元素, 并将该元素返回 注: 此方法是非阻塞的, 即: 若(key对应的)list中的所有元素都被pop移出了,此时,再进行pop的话,会立即返回null 注: 此方法是非阻塞的, 即: 若redis中不存在对应的key,那么会立即返回null 注: 若将(key对应的)list中的所有元素都pop完了,那么该key会被删除
lLeftPop(String, long, TimeUnit) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
【阻塞队列】 从左侧移出(key对应的)list中的第一个元素, 并将该元素返回 注: 此方法是阻塞的, 即: 若(key对应的)list中的所有元素都被pop移出了,此时,再进行pop的话, 会阻塞timeout这么久,然后返回null 注: 此方法是阻塞的, 即: 若redis中不存在对应的key,那么会阻塞timeout这么久,然后返回null 注: 若将(key对应的)list中的所有元素都pop完了,那么该key会被删除 提示: 若阻塞过程中, 目标key-list出现了,且里面有item了,那么会立马停止阻塞, 进行元素移出并返回
lLeftPush(String, String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
从左端推入元素进列表 注: 若redis中不存在对应的key, 那么会自动创建
lLeftPush(String, String, String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
若 key 对应的 list 中存在 pivot 项, 那么将 item 放入第一个 pivot 项前(即:放在第一个pivot项左边); 若 key 对应的 list 中不存在 pivot 项, 那么不做任何操作, 直接返回 -1。
lLeftPushAll(String, String...) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
从左端批量推入元素进列表 注: 若redis中不存在对应的key, 那么会自动创建 注: 这一批item中,先push左侧的, 后push右侧的
lLeftPushAll(String, Collection<String>) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
从左端批量推入元素进列表 注: 若redis中不存在对应的key, 那么会自动创建 注: 这一批item中,那个item先从Collection取出来,就先push哪个
lLeftPushIfPresent(String, String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
如果redis中存在key, 则从左端批量推入元素进列表; 否则,不进行任何操作
LockParameter - top.isopen.commons.springboot.lock中的类
锁的参数 用来处理锁注解 RedLock RedLocks 中配置的锁参数
LockParameter(RedLock, JoinPoint) - 类 的构造器top.isopen.commons.springboot.lock.LockParameter
 
LockParameter(RedLocks, JoinPoint) - 类 的构造器top.isopen.commons.springboot.lock.LockParameter
 
lRange(String, long, long) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
获取(key对应的)list中索引在[start, end]之间的item集 注: 含start、含end。
lRemove(String, long, String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
删除(key对应的)list中,前expectCount个值等于item的项 注: 若expectCount == 0, 则表示删除list中所有的值等于item的项.
lRightPop(String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
RedisHelper.lLeftPop(String)类比即可, 不过是从list右侧移出元素
lRightPop(String, long, TimeUnit) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
RedisHelper.lLeftPop(String, long, TimeUnit)类比即可, 不过是从list右侧移出元素
lRightPopAndLeftPush(String, String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
【非阻塞队列】 从sourceKey对应的sourceList右侧移出一个item, 并将这个item推 入(destinationKey对应的)destinationList的左侧 注: 若sourceKey对应的list中没有item了,则立马认为(从sourceKey对应的list中pop出来的)item为null, null并不会往destinationKey对应的list中push。
lRightPopAndLeftPush(String, String, long, TimeUnit) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
【阻塞队列】 从sourceKey对应的sourceList右侧移出一个item, 并将这个item推 入(destinationKey对应的)destinationList的左侧 注: 若sourceKey对应的list中没有item了,则阻塞等待, 直到能从sourceList中移出一个非null的item(或等待时长超时); case1: 等到了一个非null的item, 那么继续下面的push操作,并返回这个item。
lRightPush(String, String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
RedisHelper.lLeftPush(String, String)类比即可, 不过是从list右侧推入元素
lRightPush(String, String, String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
RedisHelper.lLeftPush(String, String, String)类比即可, 不过是从list右侧推入元素
lRightPushAll(String, String...) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
RedisHelper.lLeftPushAll(String, String...)类比即可, 不过是从list右侧推入元素
lRightPushAll(String, Collection<String>) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
#lLeftPushAll(String, Collection)类比即可, 不过是从list右侧推入元素
lRightPushIfPresent(String, String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
RedisHelper.lLeftPushIfPresent(String, String)类比即可, 不过是从list右侧推入元素
lSet(String, long, String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
设置(key对应的)list中对应索引位置index处的元素为item 注: 若key不存在,则会抛出org.springframework.data.redis.RedisSystemException 注: 若索引越界,也会抛出org.springframework.data.redis.RedisSystemException
lSize(String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
获取(key对应的)list的size 注: 当key不存在时,获取到的size为0.
lTrim(String, long, long) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
裁剪(即: 对list中的元素取交集。)
lWholeList(String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
获取(key对应的)list

M

move(String, int) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
将当前数据库中的 key 对应的 key-value,移动到对应位置的数据库中。
multiGet(Collection<String>) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
批量获取 value 值 注:若 redis 中,对应的 key 不存在,那么该 key 对应的返回的 value 值为 null
multiSet(Map<String, String>) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
批量设置 key-value 注:若存在相同的 key, 则原来的 key-value会 被丢弃。
multiSetIfAbsent(Map<String, String>) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
当 redis 中,不存在任何一个 keys 时,才批量设置 key-value,并返回成功/失败。
MybatisPlusConfig - top.isopen.commons.springboot.config中的类
MybatisPlus 配置类 用于注册 分页器 MybatisPlusInterceptor
MybatisPlusConfig() - 类 的构造器top.isopen.commons.springboot.config.MybatisPlusConfig
 

N

NameUtil - top.isopen.commons.springboot.util中的类
命名工具类
NameUtil() - 类 的构造器top.isopen.commons.springboot.util.NameUtil
 

O

of(Long, Long, Long, List<T>) - 类 中的静态方法top.isopen.commons.springboot.bean.PageResponse
 
ok() - 类 中的静态方法top.isopen.commons.springboot.bean.Result
 
ok(T) - 类 中的静态方法top.isopen.commons.springboot.bean.Result
 
ok(String, String, T) - 类 中的静态方法top.isopen.commons.springboot.bean.Result
 
OnlineModel<T extends BaseModel,R extends BaseType> - top.isopen.commons.springboot.model中的类
是否在线的 Model 层 对应 OnlineType
OnlineModel() - 类 的构造器top.isopen.commons.springboot.model.OnlineModel
 
OnlineStatusEnum - top.isopen.commons.springboot.enums中的枚举
上线下线状态枚举
OnlineType<T extends BaseType,R extends BaseModel> - top.isopen.commons.springboot.types中的类
在线的类型
OnlineType() - 类 的构造器top.isopen.commons.springboot.types.OnlineType
 
OrderBy<T> - top.isopen.commons.springboot.repository.types中的类
排序类型 支持通过 SFunction 和 column 名称构造 使用 SFunction 构造时自动解析 column 名称
OrderBy() - 类 的构造器top.isopen.commons.springboot.repository.types.OrderBy
 
orderBy(OrderBy<T>) - 类 中的方法top.isopen.commons.springboot.repository.types.OrderByList.Builder
 
orderBy(OrderBy<T>...) - 类 中的方法top.isopen.commons.springboot.repository.types.OrderByList.Builder
 
orderBy(List<OrderBy<T>>) - 类 中的方法top.isopen.commons.springboot.repository.types.OrderByList.Builder
 
OrderBy.Builder<T> - top.isopen.commons.springboot.repository.types中的类
 
OrderByField - top.isopen.commons.springboot.repository.annotation中的注释类型
Model 层排序注解
OrderByList<T> - top.isopen.commons.springboot.repository.types中的类
多排序类型
OrderByList.Builder<T> - top.isopen.commons.springboot.repository.types中的类
 
OrderByRequest - top.isopen.commons.springboot.repository.bean中的类
排序请求
OrderByRequest() - 类 的构造器top.isopen.commons.springboot.repository.bean.OrderByRequest
 
OrderByTypeEnum - top.isopen.commons.springboot.repository.enums中的枚举
排序类型枚举

P

PageCurrent - top.isopen.commons.springboot.types中的类
当前页面类型
PageCurrent(Integer) - 类 的构造器top.isopen.commons.springboot.types.PageCurrent
 
PageRequest - top.isopen.commons.springboot.bean中的类
分页请求体
PageRequest() - 类 的构造器top.isopen.commons.springboot.bean.PageRequest
 
PageResponse<T> - top.isopen.commons.springboot.bean中的类
分页响应体
PageResponse() - 类 的构造器top.isopen.commons.springboot.bean.PageResponse
 
PageSize - top.isopen.commons.springboot.types中的类
页面大小类型
PageSize(Integer) - 类 的构造器top.isopen.commons.springboot.types.PageSize
 
paginationInterceptor() - 类 中的方法top.isopen.commons.springboot.config.MybatisPlusConfig
 
PasswordUtil - top.isopen.commons.springboot.util中的类
密码工具类
PasswordUtil() - 类 的构造器top.isopen.commons.springboot.util.PasswordUtil
 
persist(String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
移除 key 对应的 key-value 的过期时间, 使该 key-value 一直存在 注:若 key 对应的 key-value,本身就是一直存在(无过期时间的), 那么 persist 方法会返回 false; 若没有 key 对应的 key-value 存在,本那么 persist 方法会返回 false;
PrimaryId - top.isopen.commons.springboot.types中的类
主键类型
PrimaryId(Long) - 类 的构造器top.isopen.commons.springboot.types.PrimaryId
 
process(ProceedingJoinPoint, RedLock) - 类 中的方法top.isopen.commons.springboot.lock.RedLockAspect
 
process(ProceedingJoinPoint, RedLocks) - 类 中的方法top.isopen.commons.springboot.lock.RedLocksAspect
 
publish(ApplicationEvent) - 类 中的方法top.isopen.commons.springboot.helper.EventHelper
 

Q

Query<T> - top.isopen.commons.springboot.repository.types中的类
条件查询类型
Query() - 类 的构造器top.isopen.commons.springboot.repository.types.Query
 
query(Query<T>...) - 类 中的方法top.isopen.commons.springboot.repository.types.QueryList.Builder
 
query(List<Query<T>>) - 类 中的方法top.isopen.commons.springboot.repository.types.QueryList.Builder
 
Query.Builder<T> - top.isopen.commons.springboot.repository.types中的类
 
QueryField - top.isopen.commons.springboot.repository.annotation中的注释类型
Model 层查询属性注解
QueryList<T> - top.isopen.commons.springboot.repository.types中的类
多条件查询类型
QueryList.Builder<T> - top.isopen.commons.springboot.repository.types中的类
 
QueryRequest - top.isopen.commons.springboot.repository.bean中的类
复杂查询请求
QueryRequest() - 类 的构造器top.isopen.commons.springboot.repository.bean.QueryRequest
 
QueryTypeEnum - top.isopen.commons.springboot.repository.enums中的枚举
查询类型枚举 TODO 支持 AND 操作
queryWrapper(T, boolean) - 类 中的方法top.isopen.commons.springboot.repository.AbstractRepository
注解式条件查询与注解式排序查询的组合查询
queryWrapper(T, OrderBy<T>...) - 类 中的方法top.isopen.commons.springboot.repository.AbstractRepository
注解式条件查询与排序查询的组合查询
queryWrapper(T, OrderByList<T>) - 类 中的方法top.isopen.commons.springboot.repository.AbstractRepository
注解式条件查询与排序查询的组合查询
queryWrapper(QueryList<T>, OrderBy<T>...) - 类 中的方法top.isopen.commons.springboot.repository.AbstractRepository
复杂条件查询与排序查询的组合查询
queryWrapper(QueryList<T>, OrderByList<T>) - 类 中的方法top.isopen.commons.springboot.repository.AbstractRepository
复杂条件查询与排序查询的组合查询

R

randomKey() - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
从 redis 的所有 key 中,随机获取一个 key 注:若 redis 中不存在任何 key-value,那么这里返回 null
RedisConfig - top.isopen.commons.springboot.config中的类
Redis 配置类 用于注册 Redis 工具类 RedisHelper、Redis 分布式锁 RedLockAspect RedLocksAspect
RedisConfig() - 类 的构造器top.isopen.commons.springboot.config.RedisConfig
 
redisHelper(ApplicationContextHelper) - 类 中的方法top.isopen.commons.springboot.config.RedisConfig
 
RedisHelper - top.isopen.commons.springboot.helper中的类
Redis 工具类
RedisHelper(StringRedisTemplate) - 类 的构造器top.isopen.commons.springboot.helper.RedisHelper
 
RedisHelper.Helper - top.isopen.commons.springboot.helper中的类
提供一些基础功能支持
RedLock - top.isopen.commons.springboot.lock.annotation中的注释类型
分布式锁注解
redLockAspect(RedissonClient) - 类 中的方法top.isopen.commons.springboot.config.RedisConfig
 
RedLockAspect - top.isopen.commons.springboot.lock中的类
RedLock 的切面
RedLockAspect(RedissonClient) - 类 的构造器top.isopen.commons.springboot.lock.RedLockAspect
 
RedLocks - top.isopen.commons.springboot.lock.annotation中的注释类型
分布式锁注解 负责处理需要同时加锁多个 key 的情况
redLocksAspect(RedissonClient) - 类 中的方法top.isopen.commons.springboot.config.RedisConfig
 
RedLocksAspect - top.isopen.commons.springboot.lock中的类
RedLocks 的切面
RedLocksAspect(RedissonClient) - 类 的构造器top.isopen.commons.springboot.lock.RedLocksAspect
 
releaseLock(String, String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
释放(分布式)锁 注: 此方式能(通过value的唯一性)保证: 自己加的锁, 只能被自己释放。
rename(String, String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
重命名对应的 oldKey 为新的 newKey 注:若 oldKey 不存在, 则会抛出异常.
renameIfAbsent(String, String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
当 redis 中不存在 newKey 时, 重命名对应的 oldKey 为新的 newKey。
resolve(String) - 枚举 中的静态方法top.isopen.commons.springboot.enums.OnlineStatusEnum
功能描述: 根据value获取枚举类
resolve(OnlineStatusEnum) - 枚举 中的静态方法top.isopen.commons.springboot.enums.OnlineStatusEnum
 
resolve(String) - 枚举 中的静态方法top.isopen.commons.springboot.repository.enums.OrderByTypeEnum
 
resolve(String) - 枚举 中的静态方法top.isopen.commons.springboot.repository.enums.QueryTypeEnum
 
resolve(OrderByRequest) - 类 中的静态方法top.isopen.commons.springboot.repository.types.OrderBy
 
resolve(List<OrderByRequest>) - 类 中的静态方法top.isopen.commons.springboot.repository.types.OrderByList
 
resolve(QueryRequest) - 类 中的静态方法top.isopen.commons.springboot.repository.types.Query
 
resolve(List<QueryRequest>) - 类 中的静态方法top.isopen.commons.springboot.repository.types.QueryList
 
resolve(ValueType<T>) - 类 中的静态方法top.isopen.commons.springboot.types.ValueType
 
resolveDeclaredField(Class<?>) - 类 中的静态方法top.isopen.commons.springboot.util.FieldUtil
 
resolveName(SFunction<T, ?>) - 类 中的静态方法top.isopen.commons.springboot.util.FieldUtil
 
resolveName(String) - 类 中的静态方法top.isopen.commons.springboot.util.FieldUtil
 
restore(String, byte[], long, TimeUnit) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
将给定的 value 值,反序列化到 redis 中, 形成新的 key-value。
restore(String, byte[], long, TimeUnit, boolean) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
将给定的 value 值,反序列化到 redis 中, 形成新的 key-value。
Result<T> - top.isopen.commons.springboot.bean中的类
通用结果响应体 序列化依赖 getter 函数,不依赖构造函数 所以此处的注解只需使用 @Data 不需使用 @NoArgsConstructor 和 @AllArgsConstructor
Result() - 类 的构造器top.isopen.commons.springboot.bean.Result
 

S

sAdd(String, String...) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
向(key对应的)set中添加items 注: 若key不存在,则会自动创建。
sDifference(String, String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
获取 (key对应的)Set 减去 (otherKey对应的)Set 的差集 注: 如果被减数key不存在, 那么结果为空的集合(,而不是null) 注: 如果被减数key存在,但减数key不存在, 那么结果即为(被减数key对应的)Set
sDifference(String, Collection<String>) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
获取 (key对应的)Set 减去 (otherKeys对应的)Sets 的差集 注: 如果被减数key不存在, 那么结果为空的集合(,而不是null) 注: 如果被减数key存在,但减数key不存在, 那么结果即为(被减数key对应的)Set 提示: 当有多个减数时, 被减数先减去哪一个减数,后减去哪一个减数,是无所谓的,是不影响最终结果的。
sDifferenceAndStore(String, String, String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
获取 (key对应的)Set 减去 (otherKey对应的)Set 的差集, 并将结果add到storeKey对应的Set中。
sDifferenceAndStore(String, Collection<String>, String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
获取 (key对应的)Set 减去 (otherKey对应的)Set 的差集, 并将结果add到storeKey对应的Set中。
sDistinctRandomMembers(String, long) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
从key对应的set中随机获取count个项 注: 若count >= set的size, 那么返回的即为这个key对应的set。
set(String, String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
设置 key-value 注:若已存在相同的 key, 那么原来的 key-value 会被丢弃。
setAlgorithmName(String) - 类 中的静态方法top.isopen.commons.springboot.util.PasswordUtil
 
setApplicationContext(ApplicationContext) - 类 中的方法top.isopen.commons.springboot.helper.ApplicationContextHelper
 
setBit(String, long, boolean) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
处理 redis 中 key 对应的 value 值, 将第 offset 位的值, 设置为 1 或 0。
setEx(String, String, long, TimeUnit) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
设置 key-value 注:若已存在相同的 key,那么原来的 key-value 会被丢弃 注:原子操作
setHashIterations(int) - 类 中的静态方法top.isopen.commons.springboot.util.PasswordUtil
 
setIfAbsent(String, String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
若不存在 key 时,向 redis 中添加 key-value, 返回成功/失败。
setIfAbsent(String, String, long, TimeUnit) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
若不存在 key 时, 向 redis 中添加一个(具有超时时长的)key-value, 返回成功/失败。
setRandomNumberGenerator(RandomNumberGenerator) - 类 中的静态方法top.isopen.commons.springboot.util.PasswordUtil
 
setRange(String, String, long) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
从(redis 中 key 对应的)value 的 offset 位置起(包含该位置),用 replaceValue 替换对应长度的值。
SFunction<T,R> - top.isopen.commons.springboot.repository.support中的接口
FunctionalInterface 用来作为 repository 中的函数式操作 OnlineModel::getStatus top.isopen.commons.springboot.model.OnlineModel#getStatus
sIntersect(String, String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
获取两个(key对应的)Set的交集 注: 若不存在任何交集,那么返回空的集合(, 而不是null) 注: 若其中一个key不存在(或两个key都不存在),那么返回空的集合(, 而不是null)
sIntersect(String, Collection<String>) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
获取多个(key对应的)Set的交集 注: 若不存在任何交集,那么返回空的集合(, 而不是null) 注: 若>=1个key不存在,那么返回空的集合(, 而不是null)
sIntersectAndStore(String, String, String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
获取两个(key对应的)Set的交集, 并将结果add到storeKey对应的Set中。
sIntersectAndStore(String, Collection<String>, String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
获取多个(key对应的)Set的交集, 并将结果add到storeKey对应的Set中。
sIsMember(String, Object) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
判断(key对应的)set中是否含有item 注: 若key不存在,则返回false。
size(String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
获取到 key 对应的 value 的长度。
sMembers(String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
获取key对应的set 注: 若key不存在, 则返回的是空的set(, 而不是null)
sMove(String, String, String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
将(sourceKey对应的)sourceSet中的元素item, 移动到(destinationKey对应的)destinationSet中 注: 当sourceKey不存在时, 返回false 注: 当item不存在时, 返回false 注: 若destinationKey不存在, 那么在移动时会自动创建 注: 若已经将(sourceKey对应的)set中的项move出去完了,那么对应的sourceKey会被删除。
sPop(String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
从(key对应的)set中随机移出一个item, 并返回这个item 注: 因为set是无序的,所以移出的这个item,是随机的; 并且,哪怕 是数据一样的set,多次测试移出操作,移除的元素也是随机的。
sRandomMember(String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
从key对应的set中随机获取一项
sRandomMembers(String, long) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
从key对应的set中获取count次随机项(, set中的同一个项可能被多次获取) 注: count可大于set的size。
sRemove(String, Object...) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
从(key对应的)set中删除items 注: 若key不存在, 则返回0。
sScan(String, ScanOptions) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
根据options匹配到(key对应的)set中的对应的item, 并返回对应的item集 注: ScanOptions实例的创建方式举例: 1、ScanOptions.NONE 2、ScanOptions.scanOptions().match("n??
sSize(String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
获取(key对应的)set中的元素个数 注: 若key不存在,则返回0
sUnion(String, String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
获取两个(key对应的)Set的并集 注: 并集中的元素也是唯一的,这是Set保证的。
sUnion(String, Collection<String>) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
获取两个(key对应的)Set的并集 注: 并集中的元素也是唯一的,这是Set保证的。
sUnionAndStore(String, String, String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
获取两个(key对应的)Set的并集, 并将结果add到storeKey对应的Set中。
sUnionAndStore(String, Collection<String>, String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
获取两个(key对应的)Set的并集, 并将结果add到storeKey对应的Set中。

T

throwException() - 枚举 中的方法top.isopen.commons.springboot.enums.BaseErrorEnum
 
toModel() - 类 中的方法top.isopen.commons.springboot.types.AbstractType
TODO 考虑对 toModel 方法的简化
top.isopen.commons.springboot.bean - 程序包 top.isopen.commons.springboot.bean
 
top.isopen.commons.springboot.config - 程序包 top.isopen.commons.springboot.config
 
top.isopen.commons.springboot.enums - 程序包 top.isopen.commons.springboot.enums
 
top.isopen.commons.springboot.exception - 程序包 top.isopen.commons.springboot.exception
 
top.isopen.commons.springboot.factory - 程序包 top.isopen.commons.springboot.factory
 
top.isopen.commons.springboot.helper - 程序包 top.isopen.commons.springboot.helper
 
top.isopen.commons.springboot.lock - 程序包 top.isopen.commons.springboot.lock
 
top.isopen.commons.springboot.lock.annotation - 程序包 top.isopen.commons.springboot.lock.annotation
 
top.isopen.commons.springboot.model - 程序包 top.isopen.commons.springboot.model
 
top.isopen.commons.springboot.repository - 程序包 top.isopen.commons.springboot.repository
 
top.isopen.commons.springboot.repository.annotation - 程序包 top.isopen.commons.springboot.repository.annotation
 
top.isopen.commons.springboot.repository.bean - 程序包 top.isopen.commons.springboot.repository.bean
 
top.isopen.commons.springboot.repository.enums - 程序包 top.isopen.commons.springboot.repository.enums
 
top.isopen.commons.springboot.repository.support - 程序包 top.isopen.commons.springboot.repository.support
 
top.isopen.commons.springboot.repository.types - 程序包 top.isopen.commons.springboot.repository.types
 
top.isopen.commons.springboot.types - 程序包 top.isopen.commons.springboot.types
 
top.isopen.commons.springboot.util - 程序包 top.isopen.commons.springboot.util
 
toString() - 类 中的方法top.isopen.commons.springboot.repository.types.OrderBy
 
toString() - 类 中的方法top.isopen.commons.springboot.repository.types.Query
 
toType() - 类 中的方法top.isopen.commons.springboot.model.AbstractModel
 
transform(Page<T>, Function<T, R>) - 类 中的静态方法top.isopen.commons.springboot.util.TypeUtil
 
transform(List<T>, Function<T, R>) - 类 中的静态方法top.isopen.commons.springboot.util.TypeUtil
 
type(String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
获取 key 对应的 value 的数据类型 注:若 redis 中不存在该 key 对应的 key-value, 那么这里返回 NONE。
type(QueryTypeEnum) - 类 中的方法top.isopen.commons.springboot.repository.types.Query.Builder
 
TypeUtil - top.isopen.commons.springboot.util中的类
类型工具类
TypeUtil() - 类 的构造器top.isopen.commons.springboot.util.TypeUtil
 

U

underlineToHump(String) - 类 中的静态方法top.isopen.commons.springboot.util.NameUtil
下划线转驼峰
updateAll(T) - 类 中的方法top.isopen.commons.springboot.types.AbstractType
 
updateAll(T) - 类 中的方法top.isopen.commons.springboot.types.OnlineType
 
updatePart(T) - 类 中的方法top.isopen.commons.springboot.types.AbstractType
 
updatePart(T) - 类 中的方法top.isopen.commons.springboot.types.OnlineType
 

V

validatePassword(String, String, String) - 类 中的静态方法top.isopen.commons.springboot.util.PasswordUtil
 
value(Object) - 类 中的方法top.isopen.commons.springboot.repository.types.Query.Builder
 
valueOf(String) - 枚举 中的静态方法top.isopen.commons.springboot.enums.BaseErrorEnum
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法top.isopen.commons.springboot.enums.OnlineStatusEnum
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法top.isopen.commons.springboot.repository.enums.OrderByTypeEnum
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法top.isopen.commons.springboot.repository.enums.QueryTypeEnum
返回带有指定名称的该类型的枚举常量。
values() - 枚举 中的静态方法top.isopen.commons.springboot.enums.BaseErrorEnum
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法top.isopen.commons.springboot.enums.OnlineStatusEnum
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法top.isopen.commons.springboot.repository.enums.OrderByTypeEnum
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法top.isopen.commons.springboot.repository.enums.QueryTypeEnum
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
ValueType<T> - top.isopen.commons.springboot.types中的类
包装的值类型
ValueType(T) - 类 的构造器top.isopen.commons.springboot.types.ValueType
 

Z

zAdd(String, String, double) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
向(key对应的)zset中添加(item, score) 注: item为entryKey成员项, score为entryValue分数值。
zAdd(String, Set<ZSetOperations.TypedTuple<String>>) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
批量添加entry 注: 若entry集中存在item相同的项(, score不一样),那么redis在执行真正的批量add操作前,会 将其中一个item过滤掉。
zCount(String, double, double) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
统计(key对应的zset中)score处于[minScore, maxScore]中的item的个数
zIncrementScore(String, String, double) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
增/减 (key对应的zset中,)item的分数值
zIntersectAndStore(String, String, String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
获取两个(key对应的)ZSet的交集, 并将结果add到storeKey对应的ZSet中。
zIntersectAndStore(String, Collection<String>, String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
获取多个(key对应的)ZSet的交集, 并将结果add到storeKey对应的ZSet中。
zRange(String, long, long) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
根据索引位置, 获取(key对应的)zset中排名处于[start, end]中的item项集 注: 不论是使用正向排名,还是使用反向排名, 使用此方法时, 应保证 startIndex代表的元素的 位置在endIndex代表的元素的位置的前面, 如: 示例一: .zRange("name", 0, 2); 示例二: .zRange("site", -2, -1); 示例三: .zRange("foo", 0, -1); 注: 若key不存在, 则返回空的集合。
zRangeByScore(String, double, double) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
根据score, 获取(key对应的)zset中分数值处于[minScore, maxScore]中的item项集 注: 若key不存在, 则返回空的集合。
zRangeByScore(String, double, double, long, long) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
根据score, 获取(key对应的)zset中分数值处于[minScore, maxScore]中的, score处于[minScore, 排名大于等于offset的count个item项 特别注意: 对于不是特别熟悉redis的人来说, offset 和 count最好都使用正数, 避免引起理解上的歧义。
zRangeByScoreWithScores(String, double, double) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
获取(key对应的)zset中的所有score处于[minScore, maxScore]中的entry
zRangeByScoreWithScores(String, double, double, long, long) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
获取(key对应的)zset中, score处于[minScore, maxScore]里的、排名大于等于offset的count个entry 特别注意: 对于不是特别熟悉redis的人来说, offset 和 count最好都使用正数, 避免引起理解上的歧义。
zRangeWithScores(String, long, long) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
根据索引位置, 获取(key对应的)zset中排名处于[start, end]中的entry集 注: 不论是使用正向排名,还是使用反向排名, 使用此方法时, 应保证 startIndex代表的元素的 位置在endIndex代表的元素的位置的前面, 如: 示例一: .zRange("name", 0, 2); 示例二: .zRange("site", -2, -1); 示例三: .zRange("foo", 0, -1); 注: 若key不存在, 则返回空的集合。
zRank(String, Object) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
返回item在(key对应的)zset中的(按score从小到大的)排名 注: 排名从0开始。
zRemove(String, Object...) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
从(key对应的)zset中移除项 注:若key不存在,则返回0
zRemoveRange(String, long, long) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
移除(key对应的)zset中, 排名范围在[startIndex, endIndex]内的item 注:默认的,按score.item升序排名, 排名从0开始 注: 类似于List中的索引, 排名可以分为多个方式: 从前到后(正向)的排名: 0、1、2...
zRemoveRangeByScore(String, double, double) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
移除(key对应的)zset中, score范围在[minScore, maxScore]内的item 提示: 虽然删除范围包含两侧的端点(即:包含minScore和maxScore), 但是由于double存在精度问题,所以建议: 设置值时,minScore应该设置得比要删除的项里,最小的score还小一点 maxScore应该设置得比要删除的项里,最大的score还大一点 追注: 本人简单测试了几组数据,暂未出现精度问题。
zReverseRange(String, long, long) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
获取时, 先按score倒序, 然后根据索引位置, 获取(key对应的)zset中排名处于[start, end]中的item项集
zReverseRangeByScore(String, double, double) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
获取时, 先按score倒序, 然后根据score, 获取(key对应的)zset中分数值处于[minScore, maxScore]中的item项集
zReverseRangeByScore(String, double, double, long, long) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
获取时, 先按score倒序, 然后根据score, 获取(key对应的)zset中分数值处于[minScore, maxScore]中的, score处于[minScore,排名大于等于offset的count个item项
zReverseRangeByScoreWithScores(String, double, double) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
获取时, 先按score倒序, 然后获取(key对应的)zset中的所有score处于[minScore, maxScore]中的entry
zReverseRangeWithScores(String, long, long) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
获取时, 先按score倒序, 然后根据索引位置, 获取(key对应的)zset中排名处于[start, end]中的entry集
zReverseRank(String, Object) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
返回item在(key对应的)zset中的(按score从大到小的)排名 注: 排名从0开始。
zScore(String, Object) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
统计(key对应的)zset中指定item的score
zSize(String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
统计(key对应的)zset中item的个数 注: 此方法等价于RedisHelper.zZCard(String)
zUnionAndStore(String, String, String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
获取两个(key对应的)ZSet的并集, 并将结果add到storeKey对应的ZSet中。
zUnionAndStore(String, Collection<String>, String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
获取两个(key对应的)ZSet的并集, 并将结果add到storeKey对应的ZSet中。
zWholeZSetEntry(String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
获取(key对应的)zset中的所有entry
zWholeZSetItem(String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
获取(key对应的)zset中的所有item项
zZCard(String) - 类 中的方法top.isopen.commons.springboot.helper.RedisHelper
统计(key对应的)zset中item的个数 注: 此方法等价于RedisHelper.zSize(String)
A B C D E F G H I J K L M N O P Q R S T U V Z 
跳过导航链接

Copyright © 2023 Irvingsoft. All rights reserved.