Package org.hibernate.metamodel.mapping
Interface DiscriminatorType<O>
- Type Parameters:
O- The Java type of the domain form of the discriminator.
- All Superinterfaces:
BasicDomainType<O>,BasicType<O>,BasicType<O>,BasicValuedMapping,Bindable,BindableType<O>,ConvertedBasicType<O>,DomainType<O>,JavaTypedExpressible,JdbcMapping,JdbcMappingContainer,MappingModelExpressible,MappingType,OutputableType<O>,ReturnableType<O>,Serializable,SimpleDomainType<O>,SqlExpressible,SqmBindableType<O>,SqmDomainType<O>,SqmExpressible<O>,Type<O>,Type,ValueMapping
- All Known Implementing Classes:
DiscriminatorTypeImpl
Union of
ConvertedBasicType and BasicDomainType capabilities.- Implementation Note:
- We need the
BasicDomainTypeaspect for handling in SQM trees.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.metamodel.mapping.Bindable
Bindable.JdbcValuesBiConsumer<X,Y>, Bindable.JdbcValuesConsumer Nested classes/interfaces inherited from interface jakarta.persistence.metamodel.Type
Type.PersistenceType -
Method Summary
Modifier and TypeMethodDescriptionThe descriptor for the Java type represented by this expressible typeBasicType<?>Returns the converter that this basic type uses for transforming from the domain type, to the relational type, ornullif there is no conversion.Methods inherited from interface org.hibernate.metamodel.model.domain.BasicDomainType
getPersistenceTypeMethods inherited from interface org.hibernate.type.BasicType
compare, disassemble, forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcType, getCheckCondition, getExpressibleJavaType, getJavaType, getJdbcLiteralFormatter, getJdbcMapping, getJdbcMapping, getJdbcTypeCount, getJdbcValueBinder, getJdbcValueExtractor, getMappedJavaType, getMappedType, getRegistrationKeys, getSingleJdbcMapping, getSqmTypeMethods inherited from interface org.hibernate.metamodel.mapping.BasicValuedMapping
addToCacheKeyMethods inherited from interface org.hibernate.metamodel.mapping.Bindable
forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachJdbcValue, forEachJdbcValue, forEachJdbcValue, forEachJdbcValueMethods inherited from interface org.hibernate.metamodel.mapping.JdbcMapping
convertToDomainValue, convertToRelationalValue, getCastType, getJdbcJavaType, getJdbcTypeMethods inherited from interface org.hibernate.type.OutputableType
canDoExtraction, extract, extract, getJdbcTypeMethods inherited from interface org.hibernate.query.sqm.SqmBindableType
resolveExpressibleMethods inherited from interface org.hibernate.query.sqm.tree.domain.SqmDomainType
getTupleLength, getTypeNameMethods inherited from interface org.hibernate.query.sqm.SqmExpressible
getRelationalJavaTypeMethods inherited from interface org.hibernate.type.Type
assemble, beforeAssemble, compare, deepCopy, disassemble, disassemble, getColumnSpan, getHashCode, getHashCode, getName, getReturnedClass, getReturnedClassName, getSqlTypeCodes, getTypeForEqualsHashCode, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isDirty, isEntityType, isEqual, isEqual, isModified, isMutable, isSame, nullSafeSet, nullSafeSet, replace, replace, toColumnNullness, toLoggableStringMethods inherited from interface org.hibernate.metamodel.mapping.ValueMapping
treatAs
-
Method Details
-
getValueConverter
DiscriminatorConverter<O,?> getValueConverter()Description copied from interface:JdbcMappingReturns the converter that this basic type uses for transforming from the domain type, to the relational type, ornullif there is no conversion.- Specified by:
getValueConverterin interfaceBasicType<O>- Specified by:
getValueConverterin interfaceConvertedBasicType<O>- Specified by:
getValueConverterin interfaceJdbcMapping
-
getUnderlyingJdbcMapping
BasicType<?> getUnderlyingJdbcMapping() -
getJavaTypeDescriptor
Description copied from interface:JdbcMappingThe descriptor for the Java type represented by this expressible type- Specified by:
getJavaTypeDescriptorin interfaceBasicType<O>- Specified by:
getJavaTypeDescriptorin interfaceJdbcMapping
-