- ObjectCreator - Class in org.teasoft.honey.util
-
- ObjectCreatorFactory - Class in org.teasoft.honey.util
-
- ObjectToSQL - Class in org.teasoft.honey.osql.core
-
对象到SQL的转换(对应Suid).Object to SQL string for Suid.
- ObjectToSQL() - Constructor for class org.teasoft.honey.osql.core.ObjectToSQL
-
- ObjectToSQLRich - Class in org.teasoft.honey.osql.core
-
对象到SQL的转换(对应SuidRich).Object to SQL string for SuidRich.
- ObjectToSQLRich() - Constructor for class org.teasoft.honey.osql.core.ObjectToSQLRich
-
- ObjectUtils - Class in org.teasoft.honey.util
-
- ObjSQL - Class in org.teasoft.honey.osql.core
-
通过对象来操作数据库,并返回结果.
- ObjSQL() - Constructor for class org.teasoft.honey.osql.core.ObjSQL
-
- ObjSQLRich - Class in org.teasoft.honey.osql.core
-
SuidRich实现类.Suidrich implementation class.
- ObjSQLRich() - Constructor for class org.teasoft.honey.osql.core.ObjSQLRich
-
- ObjSQLRichServiceImpl - Class in org.teasoft.honey.osql.serviceimpl
-
- ObjSQLRichServiceImpl() - Constructor for class org.teasoft.honey.osql.serviceimpl.ObjSQLRichServiceImpl
-
- ObjSQLServiceImpl - Class in org.teasoft.honey.osql.serviceimpl
-
- ObjSQLServiceImpl() - Constructor for class org.teasoft.honey.osql.serviceimpl.ObjSQLServiceImpl
-
- offset - Static variable in class org.teasoft.honey.osql.core.K
-
- OLD_ID - Static variable in class org.teasoft.honey.osql.core.StringConst
-
- OLD_ID_EXIST - Static variable in class org.teasoft.honey.osql.core.StringConst
-
- on() - Method in class org.teasoft.honey.osql.chain.SelectImpl
-
- on(String) - Method in class org.teasoft.honey.osql.chain.SelectImpl
-
- on - Static variable in class org.teasoft.honey.osql.core.K
-
- OneTimeSnowflakeId - Class in org.teasoft.honey.distribution
-
OneTimeSnowflakeId,进一步改进了梨花算法。
不依赖时间的梨花算法,Workerid应放在序号sequence的上一段,且应用SerialUniqueId算法,使ID不依赖于时间自动递增。
使用不依赖时间的梨花算法OneTimeSnowflakeId,应保证各节点大概均衡轮流出号,这样入库的ID会比较有序,因此每个段号内的序列号不能太多。
支持批获取ID号。可以一次取一批ID(即一个范围内的ID一次就可以获取了)。可以代替依赖DB的号段模式。
应用订单号等有安全要求的场景,可随机不定时获取一些批的号码不用即可。
[ 可间隔时间缓存时间值到文件,供重启时设置回初值用。若不缓存,则重启时,又用目前的时间点,重设开始的ID。只要平均不超过419w/s,重启时造成的时
钟回拨都不会有影响(但却浪费了辛苦攒下的每秒没用完的ID号)。要是很多时间都超过419w/s,证明你有足够的能力做这件事:间隔时间缓存时间值到文件。]
考虑到2019年双11的峰值不超过55万笔/秒, 因此419w/s这个值已可以满足此苛刻要求;采用testSpeedLimit()检测平均值不超过419w/s这个值即可,而且在空闲时
段省下的ID号,还可以在高峰时使用。
- OneTimeSnowflakeId() - Constructor for class org.teasoft.honey.distribution.OneTimeSnowflakeId
-
- OnlyMulitiDB - Class in org.teasoft.honey.distribution.ds
-
- OnlyMulitiDB() - Constructor for class org.teasoft.honey.distribution.ds.OnlyMulitiDB
-
- op(String, Op, String) - Method in class org.teasoft.honey.osql.chain.SelectImpl
-
- op(String, Op, Number) - Method in class org.teasoft.honey.osql.chain.SelectImpl
-
- op(String, String) - Method in class org.teasoft.honey.osql.chain.SelectImpl
-
- op(String, Number) - Method in class org.teasoft.honey.osql.chain.SelectImpl
-
- op(String, Op, String) - Method in class org.teasoft.honey.osql.chain.UpdateImpl
-
- op(String, Op, Number) - Method in class org.teasoft.honey.osql.chain.UpdateImpl
-
- op(String, String) - Method in class org.teasoft.honey.osql.chain.UpdateImpl
-
- op(String, Number) - Method in class org.teasoft.honey.osql.chain.UpdateImpl
-
- op(String, Op, Object) - Method in class org.teasoft.honey.osql.core.ConditionImpl
-
- openDefineColumn - Variable in class org.teasoft.honey.osql.core.HoneyConfig
-
- openFieldTypeHandler - Variable in class org.teasoft.honey.osql.core.HoneyConfig
-
- opOn(String, Op, Object) - Method in class org.teasoft.honey.osql.core.ConditionImpl
-
- opWithField(String, Op, String) - Method in class org.teasoft.honey.osql.core.ConditionImpl
-
- or() - Method in class org.teasoft.honey.osql.chain.SelectImpl
-
- or() - Method in class org.teasoft.honey.osql.chain.UpdateImpl
-
- or() - Method in class org.teasoft.honey.osql.core.ConditionImpl
-
- or - Static variable in class org.teasoft.honey.osql.core.K
-
- OracleFeature - Class in org.teasoft.honey.osql.dialect.oracle
-
- OracleFeature() - Constructor for class org.teasoft.honey.osql.dialect.oracle.OracleFeature
-
- orderBy(String) - Method in class org.teasoft.honey.osql.chain.SelectImpl
-
- orderBy(String, OrderType) - Method in class org.teasoft.honey.osql.chain.SelectImpl
-
- orderBy(String) - Method in class org.teasoft.honey.osql.core.ConditionImpl
-
- orderBy(String, OrderType) - Method in class org.teasoft.honey.osql.core.ConditionImpl
-
- orderBy(FunctionType, String, OrderType) - Method in class org.teasoft.honey.osql.core.ConditionImpl
-
- orderBy - Static variable in class org.teasoft.honey.osql.core.K
-
- org.teasoft.honey.distribution - package org.teasoft.honey.distribution
-
与分布式环境相关的功能.Function about distributed environment
- org.teasoft.honey.distribution.ds - package org.teasoft.honey.distribution.ds
-
多数据源相关功能.Function about multiple DataSource.
- org.teasoft.honey.file - package org.teasoft.honey.file
-
文件操作相关.Function about file.
- org.teasoft.honey.logging - package org.teasoft.honey.logging
-
日志相关.Function about log.
- org.teasoft.honey.osql.autogen - package org.teasoft.honey.osql.autogen
-
自动创建相关功能.Function about automatic creation.
- org.teasoft.honey.osql.chain - package org.teasoft.honey.osql.chain
-
实现类,用于链式风格写SQL语句.Implement class for SQL with chain programming.
- org.teasoft.honey.osql.constant - package org.teasoft.honey.osql.constant
-
常量包.Constant.
- org.teasoft.honey.osql.core - package org.teasoft.honey.osql.core
-
面向对象SQL相关的实现类.Function about Object SQL.
- org.teasoft.honey.osql.dialect - package org.teasoft.honey.osql.dialect
-
处理具体DB特有的特性.Function about dialect(really DB).
- org.teasoft.honey.osql.dialect.mysql - package org.teasoft.honey.osql.dialect.mysql
-
MySql相关的方言特性.Dialect feature related to MySQL.
- org.teasoft.honey.osql.dialect.oracle - package org.teasoft.honey.osql.dialect.oracle
-
Oracle相关的方言特性.Dialect feature related to Oracle.
- org.teasoft.honey.osql.dialect.sqlserver - package org.teasoft.honey.osql.dialect.sqlserver
-
Sql Server相关的方言特性.Dialect feature related to Sql Server.
- org.teasoft.honey.osql.interccept - package org.teasoft.honey.osql.interccept
-
拦截器相关实现.Implements about Interceptor.
- org.teasoft.honey.osql.interccept.annotation - package org.teasoft.honey.osql.interccept.annotation
-
拦截器处理注解相关实现.Implements about Interceptor processing annotation.
- org.teasoft.honey.osql.name - package org.teasoft.honey.osql.name
-
命名转换相关实现.Implementation of naming transformation.
- org.teasoft.honey.osql.serviceimpl - package org.teasoft.honey.osql.serviceimpl
-
Service层相关服务的类,无具体业务逻辑.Class about service layer which is empty business logic.
- org.teasoft.honey.osql.shortcut - package org.teasoft.honey.osql.shortcut
-
常用类短名称.Common class short name.
- org.teasoft.honey.osql.transaction - package org.teasoft.honey.osql.transaction
-
事务相关.Function about transaction.
- org.teasoft.honey.osql.type - package org.teasoft.honey.osql.type
-
设置的参数类型转换;实体字段类型查询结果转换处理.
- org.teasoft.honey.osql.util - package org.teasoft.honey.osql.util
-
OSQL核心相关的工具包.OSQL core related util.
- org.teasoft.honey.util - package org.teasoft.honey.util
-
通用工具包.Universal util.
- OriginalName - Class in org.teasoft.honey.osql.name
-
返回原名称
return original name
- OriginalName() - Constructor for class org.teasoft.honey.osql.name.OriginalName
-