CREATE DEFAULT SHADOW ALGORITHM
Description
The CREATE DEFAULT SHADOW ALGORITHM
syntax is used to create a default shadow algorithm.
Syntax
CreateDefaultShadowAlgorithm ::=
'CREATE' 'DEFAULT' 'SHADOW' 'ALGORITHM' shadowAlgorithm
shadowAlgorithm ::=
'TYPE' '(' 'NAME' '=' shadowAlgorithmType ',' 'PROPERTIES' '(' ( 'key' '=' 'value' ( ',' 'key' '=' 'value' )* ) ')' ')'
shadowAlgorithmType ::=
string
Supplement
shadowAlgorithmType
currently supportsVALUE_MATCH
,REGEX_MATCH
andSIMPLE_HINT
.
Example
- Create default shadow algorithm
CREATE DEFAULT SHADOW ALGORITHM TYPE(NAME="SIMPLE_HINT", PROPERTIES("shadow"="true", "foo"="bar");
Reserved word
CREATE
, DEFAULT
, SHADOW
, ALGORITHM
, TYPE
, NAME
, PROPERTIES
Related links
当前内容版权归 ShardingSphere 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 ShardingSphere .