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
Fields Modifier and Type Field Description static FunctionalDependencyAnalysisSupportImpl
NONE
No support for functional dependency analysisstatic FunctionalDependencyAnalysisSupportImpl
TABLE_GROUP
Supports the analysis for single tables, a group of joined tables or a result set (e.g.static FunctionalDependencyAnalysisSupportImpl
TABLE_GROUP_AND_CONSTANTS
Fully supports the analysis for joined / union table groups, including any constant value (e.g.static FunctionalDependencyAnalysisSupportImpl
TABLE_REFERENCE
Only supports the analysis for a single table reference, i.e.
-
Constructor Summary
Constructors Constructor Description FunctionalDependencyAnalysisSupportImpl(boolean supportsAnalysis, boolean supportsTableGroups, boolean supportsConstants)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
supportsAnalysis()
Supports primary key functional dependency analysisboolean
supportsConstants()
Also supports functional dependency analysis for constant values other than table columnsboolean
supportsTableGroups()
Supports functional dependency analysis through joined tables and result sets (e.g.
-
-
-
Field Detail
-
NONE
public static final FunctionalDependencyAnalysisSupportImpl NONE
No support for functional dependency analysis
-
TABLE_REFERENCE
public static final FunctionalDependencyAnalysisSupportImpl TABLE_REFERENCE
Only supports the analysis for a single table reference, i.e. no support for joins / unions
-
TABLE_GROUP
public static final FunctionalDependencyAnalysisSupportImpl 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
public static final FunctionalDependencyAnalysisSupportImpl 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)
-
-
Method Detail
-
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
-
-