The CREATE DEFAULT SHADOW ALGORITHM
syntax is used to create a default shadow algorithm.
CreateDefaultShadowAlgorithm ::=
'CREATE' 'DEFAULT' 'SHADOW' 'ALGORITHM' ifNotExists? shadowAlgorithm
ifNotExists ::=
'IF' 'NOT' 'EXISTS'
shadowAlgorithm ::=
'TYPE' '(' 'NAME' '=' algorithmType ',' propertiesDefiinition ')'
algorithmType ::=
string
propertiesDefinition ::=
'PROPERTIES' '(' key '=' value (',' key '=' value)* ')'
key ::=
string
value ::=
literal
algorithmType
currently supports VALUE_MATCH
, REGEX_MATCH
and SQL_HINT
;ifNotExists
clause is used for avoid Duplicate default shadow algorithm
error.CREATE DEFAULT SHADOW ALGORITHM TYPE(NAME="SQL_HINT");
ifNotExist
clauseCREATE DEFAULT SHADOW ALGORITHM IF NOT EXISTS TYPE(NAME="SQL_HINT");
CREATE
, DEFAULT
, SHADOW
, ALGORITHM
, TYPE
, NAME
, PROPERTIES