The SHOW PLUGINS OF interfaceClass
syntax is used to query all the implementations of an interface.
showPluginImplementations ::=
'SHOW' 'PLUGINS' 'OF' interfaceClass
interfaceClass ::=
string
Columns | Description |
---|---|
type | type |
type_aliases | type aliases |
description | description |
org.apache.shardingsphere.sharding.spi.ShardingAlgorithm
interfaceSHOW PLUGINS OF 'org.apache.shardingsphere.sharding.spi.ShardingAlgorithm'
SHOW PLUGINS OF 'org.apache.shardingsphere.sharding.spi.ShardingAlgorithm';
+----------------+--------------+-------------+
| type | type_aliases | description |
+----------------+--------------+-------------+
| MOD | | |
| HASH_MOD | | |
| VOLUME_RANGE | | |
| BOUNDARY_RANGE | | |
| AUTO_INTERVAL | | |
| INTERVAL | | |
| CLASS_BASED | | |
| INLINE | | |
| COMPLEX_INLINE | | |
| HINT_INLINE | | |
+----------------+--------------+-------------+
10 rows in set (0.52 sec)
For some commonly used interface implementations, ShardingSphere provides syntax sugar functions to simplify operations.
The currently provided syntax sugar are as follows:
org.apache.shardingsphere.sharding.spi.ShardingAlgorithm
: SHOW SHARDING ALGORITHM PLUGINSorg.apache.shardingsphere.infra.algorithm.loadbalancer.core.LoadBalanceAlgorithm
: SHOW LOAD BALANCE ALGORITHM PLUGINSorg.apache.shardingsphere.encrypt.spi.EncryptAlgorithm
: SHOW ENCRYPT ALGORITHM PLUGINSorg.apache.shardingsphere.mask.spi.MaskAlgorithm
: SHOW MASK ALGORITHM PLUGINSorg.apache.shardingsphere.shadow.spi.ShadowAlgorithm
: SHOW SHADOW ALGORITHM PLUGINSorg.apache.shardingsphere.keygen.core.algorithm.KeyGenerateAlgorithm
: SHOW KEY GENERATE ALGORITHM PLUGINSSHOW
, PLUGINS
, OF