Package gudusoft.gsqlparser
Enum TCustomSqlStatement.SqlNormalizationProfile
Object
Enum<TCustomSqlStatement.SqlNormalizationProfile>
gudusoft.gsqlparser.TCustomSqlStatement.SqlNormalizationProfile
- All Implemented Interfaces:
Serializable,Comparable<TCustomSqlStatement.SqlNormalizationProfile>,java.lang.constant.Constable
- Enclosing class:
- TCustomSqlStatement
public static enum TCustomSqlStatement.SqlNormalizationProfile
extends Enum<TCustomSqlStatement.SqlNormalizationProfile>
Normalization profiles for SQL hashing.
- IDENTITY_SAFE: Remove comments and normalize spacing/case only.
Literal values are preserved. Operator synonyms are minimally
unified (e.g.,
!=to<>). - GROUPING_FRIENDLY: In addition to IDENTITY_SAFE, date/time
string literals are normalized to
'1970-01-01'to aid grouping across different runs where only timestamps vary.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
IDENTITY_SAFE
-
GROUPING_FRIENDLY
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-