Package org.hibernate.metamodel.mapping
Interface Bindable
-
- All Superinterfaces:
JdbcMappingContainer
- All Known Subinterfaces:
AdjustableBasicType<J>
,Association
,AttributeMapping
,BasicEntityIdentifierMapping
,BasicPluralType<C,E>
,BasicType<T>
,BasicValuedMapping
,BasicValuedModelPart
,CollectionIdentifierDescriptor
,CollectionPart
,CompositeIdentifierMapping
,ConvertedBasicType<J>
,ConvertibleValueMapping<O>
,DatabaseSnapshotContributor
,DiscriminatedAssociationModelPart
,EmbeddableMappingType
,EmbeddableValuedFetchable
,EmbeddableValuedModelPart
,EntityAssociationMapping
,EntityDiscriminatorMapping
,EntityIdentifierMapping
,EntityMappingType
,EntityPersister
,EntityRowIdMapping
,EntityValuedFetchable
,EntityValuedModelPart
,EntityVersionMapping
,Fetchable
,FetchableContainer
,ForeignKeyDescriptor
,InFlightEntityMappingType
,Loadable
,Loadable
,Lockable
,ManagedMappingType
,MappingModelExpressible<T>
,MappingTypedModelPart
,ModelPart
,ModelPartContainer
,NaturalIdMapping
,NonAggregatedIdentifierMapping
,NonAggregatedIdentifierMapping.IdentifierValueMapper
,OuterJoinLoadable
,PluralAttributeMapping
,PostInsertIdentityPersister
,Queryable
,Queryable
,RootTableGroupProducer
,SingleAttributeIdentifierMapping
,SingularAttributeMapping
,SQLLoadable
,TableGroupJoinProducer
,TableGroupProducer
,UniqueKeyLoadable
,ValueMapping
,VirtualModelPart
- All Known Implementing Classes:
AbstractAttributeMapping
,AbstractCompositeIdentifierMapping
,AbstractDiscriminatorMapping
,AbstractEmbeddableMapping
,AbstractEntityPersister
,AbstractJdbcParameter
,AbstractNaturalIdMapping
,AbstractSingleColumnStandardBasicType
,AbstractSingularAttributeMapping
,AbstractStandardBasicType
,AbstractStateArrayContributorMapping
,AnonymousTupleBasicEntityIdentifierMapping
,AnonymousTupleBasicValuedModelPart
,AnonymousTupleEmbeddableValuedModelPart
,AnonymousTupleEmbeddedEntityIdentifierMapping
,AnonymousTupleEntityValuedModelPart
,AnonymousTupleNonAggregatedEntityIdentifierMapping
,AnonymousTupleTableGroupProducer
,AnyDiscriminatorPart
,AnyKeyPart
,ArrayTupleType
,BasicArrayType
,BasicAttributeMapping
,BasicCollectionType
,BasicEntityIdentifierMappingImpl
,BasicTypeImpl
,BasicValuedCollectionPart
,CaseStatementDiscriminatorMappingImpl
,CircularBiDirectionalFetchImpl
,CircularFetchImpl
,CollectionIdentifierDescriptorImpl
,CompoundNaturalIdMapping
,ConvertedBasicTypeImpl
,CustomMutabilityConvertedBasicTypeImpl
,CustomType
,DbTimestampType
,DiscriminatedAssociationAttributeMapping
,DiscriminatedCollectionPart
,DiscriminatorType
,EmbeddableMappingTypeImpl
,EmbeddedAttributeMapping
,EmbeddedCollectionPart
,EmbeddedForeignKeyDescriptor
,EmbeddedIdentifierMappingImpl
,EntityCollectionPart
,EntityRowIdMappingImpl
,EntityTypeLiteral
,EntityVersionMappingImpl
,ExplicitColumnDiscriminatorMappingImpl
,IdClassEmbeddable
,ImmutableNamedBasicTypeImpl
,InverseNonAggregatedIdentifierMapping
,JavaObjectType
,JdbcLiteral
,JdbcParameterImpl
,JoinedSubclassEntityPersister
,NamedBasicTypeImpl
,NonAggregatedIdentifierMappingImpl
,NullType
,PluralAttributeMappingImpl
,SerializableToBlobType
,SerializableType
,SimpleForeignKeyDescriptor
,SimpleNaturalIdMapping
,SingleTableEntityPersister
,SqlTypedMappingJdbcParameter
,StandardBasicTypeTemplate
,ToOneAttributeMapping
,TupleMappingModelExpressible
,UnionSubclassEntityPersister
,VersionTypeSeedParameterSpecification
,VirtualEmbeddedAttributeMapping
,VirtualIdEmbeddable
public interface Bindable extends JdbcMappingContainer
Contract for things at the domain mapping level that can be bound into a JDBCPreparedStatement
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
Bindable.JdbcValuesConsumer
Functional interface for consuming the JDBC values.
-
Method Summary
-
Methods inherited from interface org.hibernate.metamodel.mapping.JdbcMappingContainer
forEachJdbcType
-
-
-
-
Method Detail
-
getJdbcTypeCount
default int getJdbcTypeCount()
The number of JDBC mappings- Specified by:
getJdbcTypeCount
in interfaceJdbcMappingContainer
-
getJdbcMappings
default List<JdbcMapping> getJdbcMappings()
The list of JDBC mappings- Specified by:
getJdbcMappings
in interfaceJdbcMappingContainer
-
forEachJdbcType
default int forEachJdbcType(IndexedConsumer<JdbcMapping> action)
Visit each of JdbcMapping- Specified by:
forEachJdbcType
in interfaceJdbcMappingContainer
-
disassemble
Object disassemble(Object value, SharedSessionContractImplementor session)
-
forEachDisassembledJdbcValue
default int forEachDisassembledJdbcValue(Object value, Clause clause, Bindable.JdbcValuesConsumer valuesConsumer, SharedSessionContractImplementor session)
-
forEachDisassembledJdbcValue
int forEachDisassembledJdbcValue(Object value, Clause clause, int offset, Bindable.JdbcValuesConsumer valuesConsumer, SharedSessionContractImplementor session)
-
forEachJdbcValue
default int forEachJdbcValue(Object value, Clause clause, Bindable.JdbcValuesConsumer valuesConsumer, SharedSessionContractImplementor session)
Visit each constituent JDBC value extracted from the entity instance itself. Short-hand form of callingdisassemble(java.lang.Object, org.hibernate.engine.spi.SharedSessionContractImplementor)
and piping its result toforEachDisassembledJdbcValue(java.lang.Object, org.hibernate.sql.ast.Clause, org.hibernate.metamodel.mapping.Bindable.JdbcValuesConsumer, org.hibernate.engine.spi.SharedSessionContractImplementor)
-
forEachJdbcValue
default int forEachJdbcValue(Object value, Clause clause, int offset, Bindable.JdbcValuesConsumer valuesConsumer, SharedSessionContractImplementor session)
-
-