Package org.hibernate.dialect
Class FunctionalDependencyAnalysisSupportImpl
java.lang.Object
org.hibernate.dialect.FunctionalDependencyAnalysisSupportImpl
- All Implemented Interfaces:
FunctionalDependencyAnalysisSupport
public class FunctionalDependencyAnalysisSupportImpl
extends Object
implements FunctionalDependencyAnalysisSupport
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final FunctionalDependencyAnalysisSupportImpl
No support for functional dependency analysisstatic final FunctionalDependencyAnalysisSupportImpl
Supports the analysis for single tables, a group of joined tables or a result set (e.g.static final FunctionalDependencyAnalysisSupportImpl
Fully supports the analysis for joined / union table groups, including any constant value (e.g.static final FunctionalDependencyAnalysisSupportImpl
Only supports the analysis for a single table reference, i.e. -
Constructor Summary
ConstructorsConstructorDescriptionFunctionalDependencyAnalysisSupportImpl
(boolean supportsAnalysis, boolean supportsTableGroups, boolean supportsConstants) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Supports primary key functional dependency analysisboolean
Also supports functional dependency analysis for constant values other than table columnsboolean
Supports functional dependency analysis through joined tables and result sets (e.g.
-
Field Details
-
NONE
No support for functional dependency analysis -
TABLE_REFERENCE
Only supports the analysis for a single table reference, i.e. no support for joins / unions -
TABLE_GROUP
Supports the analysis for single tables, a group of joined tables or a result set (e.g. union) as long as only table columns are selected, i.e. no constants (seeTABLE_GROUP_AND_CONSTANTS
) -
TABLE_GROUP_AND_CONSTANTS
Fully supports the analysis for joined / union table groups, including any constant value (e.g. the literalclazz_
column used as table per class inheritance discriminator column)
-
-
Constructor Details
-
FunctionalDependencyAnalysisSupportImpl
public FunctionalDependencyAnalysisSupportImpl(boolean supportsAnalysis, boolean supportsTableGroups, boolean supportsConstants)
-
-
Method Details
-
supportsAnalysis
public boolean supportsAnalysis()Description copied from interface:FunctionalDependencyAnalysisSupport
Supports primary key functional dependency analysis- Specified by:
supportsAnalysis
in interfaceFunctionalDependencyAnalysisSupport
-
supportsTableGroups
public boolean supportsTableGroups()Description copied from interface:FunctionalDependencyAnalysisSupport
Supports functional dependency analysis through joined tables and result sets (e.g. unions)- Specified by:
supportsTableGroups
in interfaceFunctionalDependencyAnalysisSupport
-
supportsConstants
public boolean supportsConstants()Description copied from interface:FunctionalDependencyAnalysisSupport
Also supports functional dependency analysis for constant values other than table columns- Specified by:
supportsConstants
in interfaceFunctionalDependencyAnalysisSupport
-