Class FeaturesAllowed
java.lang.Object
net.sf.jsqlparser.util.validation.feature.FeaturesAllowed
- All Implemented Interfaces:
FeatureSet
,ModifyableFeatureSet
,FeatureSetValidation
,ValidationCapability
Privileges/Features allowed
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final FeaturesAllowed
all "ALTER"Feature
'sstatic final FeaturesAllowed
all "CREATE"Feature
'sstatic final FeaturesAllowed
all DDLFeature
'sstatic final FeaturesAllowed
static final FeaturesAllowed
all DMLFeature
'sstatic final FeaturesAllowed
all "DROP"Feature
'sstatic final FeaturesAllowed
static final FeaturesAllowed
static final FeaturesAllowed
static final FeaturesAllowed
static final FeaturesAllowed
allFeature
' for SQL MERGE other similar commandsstatic final FeaturesAllowed
allFeature
' within SQL SELECT without modification features likeFeature.selectInto
, but jdbc-features likeFeature.jdbcParameter
andFeature.jdbcNamedParameter
private static final String
private static final String
static final FeaturesAllowed
Fields inherited from interface net.sf.jsqlparser.util.validation.feature.FeatureSetValidation
DEFAULT_NAME
-
Constructor Summary
ConstructorsConstructorDescriptionFeaturesAllowed
(String name, Feature... features) FeaturesAllowed
(Feature... features) -
Method Summary
Modifier and TypeMethodDescriptionadd
(Collection<Feature> features) add
(FeatureSet... featureSets) copy()
getMessage
(Feature feature) getName()
remove
(Collection<Feature> features) remove
(FeatureSet... featureSets) makes the innerFeature
-set unmodifiableMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.sf.jsqlparser.parser.feature.FeatureSet
contains, getFeaturesClone, getNotContained, retainAll
Methods inherited from interface net.sf.jsqlparser.util.validation.feature.FeatureSetValidation
validate
Methods inherited from interface net.sf.jsqlparser.util.validation.ValidationCapability
toError, toError
-
Field Details
-
SEPERATOR_REGEX
- See Also:
-
SEPERATOR
- See Also:
-
JDBC
-
EXPRESSIONS
-
SELECT
allFeature
' within SQL SELECT without modification features likeFeature.selectInto
, but jdbc-features likeFeature.jdbcParameter
andFeature.jdbcNamedParameter
-
INSERT
-
UPDATE
-
DELETE
-
MERGE
allFeature
' for SQL MERGE other similar commands -
DML
all DMLFeature
's -
EXECUTE
-
CREATE
all "CREATE"Feature
's -
ALTER
all "ALTER"Feature
's -
DROP
all "DROP"Feature
's -
DDL
all DDLFeature
's -
names
-
features
-
-
Constructor Details
-
FeaturesAllowed
- Parameters:
features
-
-
FeaturesAllowed
- Parameters:
features
-
-
-
Method Details
-
add
- Specified by:
add
in interfaceModifyableFeatureSet
- Parameters:
featureSets
-- Returns:
this
-
add
- Specified by:
add
in interfaceModifyableFeatureSet
- Parameters:
features
-- Returns:
this
-
add
- Specified by:
add
in interfaceModifyableFeatureSet
- Parameters:
features
-- Returns:
this
-
remove
- Specified by:
remove
in interfaceModifyableFeatureSet
- Parameters:
featureSets
-- Returns:
this
-
remove
- Specified by:
remove
in interfaceModifyableFeatureSet
- Parameters:
features
-- Returns:
this
-
remove
- Specified by:
remove
in interfaceModifyableFeatureSet
- Parameters:
features
-- Returns:
this
-
copy
- Specified by:
copy
in interfaceFeatureSet
- Returns:
- returns a modifiable copy of this
FeaturesAllowed
object - See Also:
-
unmodifyable
makes the innerFeature
-set unmodifiable- Specified by:
unmodifyable
in interfaceModifyableFeatureSet
- Returns:
this
- See Also:
-
getMessage
- Specified by:
getMessage
in interfaceFeatureSetValidation
- Returns:
featureName + " not allowed."
-
getName
- Specified by:
getName
in interfaceFeatureSetValidation
- Specified by:
getName
in interfaceValidationCapability
- Returns:
- a name of this
ValidationCapability
-
getFeatures
- Specified by:
getFeatures
in interfaceFeatureSet
- Specified by:
getFeatures
in interfaceFeatureSetValidation
- Returns:
- all supported
Feature
's
-
collectNames
-