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 FunctionalDependencyAnalysisSupportImplNo support for functional dependency analysisstatic final FunctionalDependencyAnalysisSupportImplSupports the analysis for single tables, a group of joined tables or a result set (e.g.static final FunctionalDependencyAnalysisSupportImplFully supports the analysis for joined / union table groups, including any constant value (e.g.static final FunctionalDependencyAnalysisSupportImplOnly supports the analysis for a single table reference, i.e. -
Constructor Summary
ConstructorsConstructorDescriptionFunctionalDependencyAnalysisSupportImpl(boolean supportsAnalysis, boolean supportsTableGroups, boolean supportsConstants) -
Method Summary
Modifier and TypeMethodDescriptionbooleanSupports primary key functional dependency analysisbooleanAlso supports functional dependency analysis for constant values other than table columnsbooleanSupports 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: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
-