| Modifier and Type | Method and Description |
|---|---|
static Optional<ShardingConditionValue> |
ConditionValueGeneratorFactory.generate(org.apache.shardingsphere.sql.parser.sql.common.segment.dml.expr.ExpressionSegment predicate,
Column column,
List<Object> parameters)
Generate condition value.
|
Optional<ShardingConditionValue> |
ConditionValueGenerator.generate(T predicateRightValue,
Column column,
List<Object> parameters)
Generate route value.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<ShardingConditionValue> |
ConditionValueBetweenOperatorGenerator.generate(org.apache.shardingsphere.sql.parser.sql.common.segment.dml.expr.BetweenExpression predicate,
Column column,
List<Object> parameters) |
Optional<ShardingConditionValue> |
ConditionValueCompareOperatorGenerator.generate(org.apache.shardingsphere.sql.parser.sql.common.segment.dml.expr.BinaryOperationExpression predicate,
Column column,
List<Object> parameters) |
Optional<ShardingConditionValue> |
ConditionValueInOperatorGenerator.generate(org.apache.shardingsphere.sql.parser.sql.common.segment.dml.expr.InExpression predicate,
Column column,
List<Object> parameters) |
| Modifier and Type | Class and Description |
|---|---|
class |
AlwaysFalseShardingConditionValue
Always false sharding condition value.
|
class |
ListShardingConditionValue<T extends Comparable<?>>
Sharding condition value for list values.
|
class |
RangeShardingConditionValue<T extends Comparable<?>>
Sharding condition value for range.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
ShardingStrategy.doSharding(Collection<String> availableTargetNames,
Collection<ShardingConditionValue> shardingConditionValues,
org.apache.shardingsphere.infra.config.properties.ConfigurationProperties props)
Sharding.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
ComplexShardingStrategy.doSharding(Collection<String> availableTargetNames,
Collection<ShardingConditionValue> shardingConditionValues,
org.apache.shardingsphere.infra.config.properties.ConfigurationProperties props) |
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
HintShardingStrategy.doSharding(Collection<String> availableTargetNames,
Collection<ShardingConditionValue> shardingConditionValues,
org.apache.shardingsphere.infra.config.properties.ConfigurationProperties props) |
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
NoneShardingStrategy.doSharding(Collection<String> availableTargetNames,
Collection<ShardingConditionValue> shardingConditionValues,
org.apache.shardingsphere.infra.config.properties.ConfigurationProperties props) |
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
StandardShardingStrategy.doSharding(Collection<String> availableTargetNames,
Collection<ShardingConditionValue> shardingConditionValues,
org.apache.shardingsphere.infra.config.properties.ConfigurationProperties props) |
Copyright © 2021 The Apache Software Foundation. All rights reserved.