public final class CosIdIntervalShardingAlgorithm extends AbstractCosIdIntervalShardingAlgorithm<Comparable<?>>
DATE_TIME_LOWER_KEY, DATE_TIME_UPPER_KEY, DEFAULT_DATE_TIME_FORMATTER, DEFAULT_DATE_TIME_PATTERN, INTERVAL_AMOUNT_KEY, INTERVAL_UNIT_KEY, SHARDING_SUFFIX_FORMAT_KEY, ZONE_ID_KEY| 构造器和说明 |
|---|
CosIdIntervalShardingAlgorithm() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected LocalDateTime |
convertShardingValue(Comparable<?> shardingValue) |
String |
getType() |
void |
init(Properties props) |
doSharding, doShardingclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindMatchedTargetNamepublic void init(Properties props)
init 在接口中 org.apache.shardingsphere.infra.util.spi.lifecycle.SPIPostProcessorinit 在类中 AbstractCosIdIntervalShardingAlgorithm<Comparable<?>>protected LocalDateTime convertShardingValue(Comparable<?> shardingValue)
public String getType()
Copyright © 2022 The Apache Software Foundation. All rights reserved.