Package org.hibernate.metamodel.mapping
Interface BasicValuedMapping
- All Superinterfaces:
Bindable,JavaTypedExpressible,JdbcMappingContainer,MappingModelExpressible,SqlExpressible,ValueMapping
- All Known Subinterfaces:
AdjustableBasicType<J>,BasicEntityIdentifierMapping,BasicPluralType<C,,E> BasicType<T>,BasicValuedModelPart,CollectionIdentifierDescriptor,ConvertedBasicType<J>,DiscriminatorMapping,DiscriminatorType<O>,EmbeddableDiscriminatorMapping,EntityDiscriminatorMapping,EntityRowIdMapping,EntityVersionMapping
- All Known Implementing Classes:
AbstractDiscriminatorMapping,AbstractJdbcParameter,AbstractSingleColumnStandardBasicType,AbstractStandardBasicType,AnonymousTupleBasicEntityIdentifierMapping,AnonymousTupleBasicValuedModelPart,AnyDiscriminatorPart,AnyKeyPart,BasicArrayType,BasicAttributeMapping,BasicCollectionType,BasicEntityIdentifierMappingImpl,BasicTypeImpl,BasicValuedCollectionPart,BottomType,CaseStatementDiscriminatorMappingImpl,CollectionIdentifierDescriptorImpl,ColumnValueParameter,ConvertedBasicArrayType,ConvertedBasicCollectionType,ConvertedBasicTypeImpl,CustomMutabilityConvertedBasicTypeImpl,CustomMutabilityConvertedPrimitiveBasicTypeImpl,CustomType,DiscriminatorType,DiscriminatorTypeImpl,EmbeddableTypeLiteral,EntityRowIdMappingImpl,EntityTypeLiteral,EntityVersionMappingImpl,ExplicitColumnDiscriminatorMappingImpl,ImmutableNamedBasicTypeImpl,JavaObjectType,JdbcParameterImpl,NamedBasicTypeImpl,NullType,QueryParameterJavaObjectType,SerializableType,SimpleForeignKeyDescriptor,SimpleNaturalIdMapping,SqlTypedMappingJdbcParameter,StandardBasicTypeTemplate,VersionTypeSeedParameterSpecification
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.metamodel.mapping.Bindable
Bindable.JdbcValuesBiConsumer<X,Y>, Bindable.JdbcValuesConsumer -
Method Summary
Modifier and TypeMethodDescriptiondefault voidaddToCacheKey(MutableCacheKeyBuilder cacheKey, Object value, SharedSessionContractImplementor session) Add to the MutableCacheKey the values obtained disassembling the value and the hasCode generated from the disassembled value.default Objectdisassemble(Object value, SharedSessionContractImplementor session) Breaks down a value ofJinto its simple pieces.Anything that is expressible at the SQL AST level would be of basic type.default JdbcMappinggetJdbcMapping(int index) default intThe number of JDBC mappingsdefault JdbcMappingMethods inherited from interface org.hibernate.metamodel.mapping.Bindable
forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcValue, forEachJdbcValue, forEachJdbcValue, forEachJdbcValueMethods inherited from interface org.hibernate.metamodel.mapping.JdbcMappingContainer
forEachJdbcTypeMethods inherited from interface org.hibernate.metamodel.mapping.ValueMapping
getExpressibleJavaType, getMappedType, treatAs
-
Method Details
-
getJdbcTypeCount
default int getJdbcTypeCount()Description copied from interface:BindableThe number of JDBC mappings- Specified by:
getJdbcTypeCountin interfaceBindable- Specified by:
getJdbcTypeCountin interfaceJdbcMappingContainer
-
getJdbcMapping
- Specified by:
getJdbcMappingin interfaceJdbcMappingContainer- Specified by:
getJdbcMappingin interfaceSqlExpressible
-
getSingleJdbcMapping
- Specified by:
getSingleJdbcMappingin interfaceJdbcMappingContainer
-
getJdbcMapping
JdbcMapping getJdbcMapping()Description copied from interface:SqlExpressibleAnything that is expressible at the SQL AST level would be of basic type.- Specified by:
getJdbcMappingin interfaceSqlExpressible
-