Interface FeatureSetValidation
- All Superinterfaces:
FeatureSet
,ValidationCapability
- All Known Subinterfaces:
Version
- All Known Implementing Classes:
DatabaseType
,FeaturesAllowed
,H2Version
,MariaDbVersion
,MySqlVersion
,OracleVersion
,PostgresqlVersion
,SqlServerVersion
,SQLVersion
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetMessage
(Feature feature) default String
getName()
default void
validate
(ValidationContext context, Consumer<ValidationException> errorConsumer) Validate and addValidationException
's to given consumer.Methods inherited from interface net.sf.jsqlparser.parser.feature.FeatureSet
contains, copy, getFeaturesClone, getNotContained, retainAll
Methods inherited from interface net.sf.jsqlparser.util.validation.ValidationCapability
toError, toError
-
Field Details
-
DEFAULT_NAME
- See Also:
-
-
Method Details
-
validate
Description copied from interface:ValidationCapability
Validate and addValidationException
's to given consumer.- Specified by:
validate
in interfaceValidationCapability
- Parameters:
context
-errorConsumer
-
-
getFeatures
- Specified by:
getFeatures
in interfaceFeatureSet
- Returns:
- all supported
Feature
's
-
getMessage
- Returns:
- the default message if not contained in the feature set
-
getName
- Specified by:
getName
in interfaceValidationCapability
- Returns:
- a name of this
ValidationCapability
-