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 FunctionalDependencyAnalysisSupportImplNONENo support for functional dependency analysisstatic FunctionalDependencyAnalysisSupportImplTABLE_GROUPSupports the analysis for single tables, a group of joined tables or a result set (e.g.static FunctionalDependencyAnalysisSupportImplTABLE_GROUP_AND_CONSTANTSFully supports the analysis for joined / union table groups, including any constant value (e.g.static FunctionalDependencyAnalysisSupportImplTABLE_REFERENCEOnly 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 booleansupportsAnalysis()Supports primary key functional dependency analysisbooleansupportsConstants()Also supports functional dependency analysis for constant values other than table columnsbooleansupportsTableGroups()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:FunctionalDependencyAnalysisSupportSupports primary key functional dependency analysis- Specified by:
supportsAnalysisin interfaceFunctionalDependencyAnalysisSupport
-
supportsTableGroups
public boolean supportsTableGroups()
Description copied from interface:FunctionalDependencyAnalysisSupportSupports functional dependency analysis through joined tables and result sets (e.g. unions)- Specified by:
supportsTableGroupsin interfaceFunctionalDependencyAnalysisSupport
-
supportsConstants
public boolean supportsConstants()
Description copied from interface:FunctionalDependencyAnalysisSupportAlso supports functional dependency analysis for constant values other than table columns- Specified by:
supportsConstantsin interfaceFunctionalDependencyAnalysisSupport
-
-