public final class ShardingSphereAlgorithmFactory extends Object
| Constructor and Description |
|---|
ShardingSphereAlgorithmFactory() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends ShardingSphereAlgorithm> |
createAlgorithm(TypedSPIConfiguration typedSPIConfig,
Class<? extends ShardingSphereAlgorithm> algorithmClass)
Create algorithm.
|
public static <T extends ShardingSphereAlgorithm> T createAlgorithm(TypedSPIConfiguration typedSPIConfig, Class<? extends ShardingSphereAlgorithm> algorithmClass)
T - type of algorithmtypedSPIConfig - typed SPI configurationalgorithmClass - algorithm classCopyright © 2021 The Apache Software Foundation. All rights reserved.