Package org.hibernate.query.sqm
Interface SqmExpressible<J>
-
- All Superinterfaces:
BindableType<J>
- All Known Subinterfaces:
AdjustableBasicType<J>
,AnyMappingDomainType<J>
,BagPersistentAttribute<D,E>
,BasicDomainType<J>
,BasicPluralType<C,E>
,BasicType<T>
,CompositeSqmPathSource<J>
,ConvertedBasicType<J>
,DiscriminatorType<O>
,DomainType<J>
,EmbeddableDomainType<J>
,EmbeddedDomainType<J>
,EntityDomainType<J>
,IdentifiableDomainType<J>
,ListPersistentAttribute<D,E>
,ManagedDomainType<J>
,MappedSuperclassDomainType<J>
,MapPersistentAttribute<D,K,V>
,PluralPersistentAttribute<D,C,E>
,ReturnableType<T>
,SetPersistentAttribute<D,E>
,SimpleDomainType<J>
,SingularPersistentAttribute<D,J>
,SqmDynamicInstantiationTarget<T>
,SqmPathSource<J>
,TreatableDomainType<J>
,TupleType<J>
- All Known Implementing Classes:
AbstractDiscriminatorSqmPathSource
,AbstractDomainType
,AbstractIdentifiableType
,AbstractManagedType
,AbstractPluralAttribute
,AbstractSingleColumnStandardBasicType
,AbstractSqmPathSource
,AbstractStandardBasicType
,AnonymousTupleSimpleSqmPathSource
,AnonymousTupleSqmAssociationPathSource
,AnonymousTupleSqmPathSource
,AnonymousTupleType
,AnyDiscriminatorSqmPathSource
,AnyMappingDomainTypeImpl
,AnyMappingSqmPathSource
,ArrayTupleType
,BagAttributeImpl
,BasicArrayType
,BasicCollectionType
,BasicSqmPathSource
,BasicTypeImpl
,BasicTypeImpl
,BottomType
,ConvertedBasicArrayType
,ConvertedBasicCollectionType
,ConvertedBasicTypeImpl
,CustomMutabilityConvertedBasicTypeImpl
,CustomMutabilityConvertedPrimitiveBasicTypeImpl
,CustomType
,DiscriminatorType
,DiscriminatorTypeImpl
,EmbeddableTypeImpl
,EmbeddedDiscriminatorSqmPathSource
,EmbeddedSqmPathSource
,EntityDiscriminatorSqmPathSource
,EntitySqmPathSource
,EntityTypeImpl
,ImmutableNamedBasicTypeImpl
,JavaObjectType
,ListAttributeImpl
,MapAttributeImpl
,MappedSuperclassSqmPathSource
,MappedSuperclassTypeImpl
,NamedBasicTypeImpl
,NonAggregatedCompositeSqmPathSource
,NullSqmExpressible
,NullType
,PrimitiveBasicTypeImpl
,QueryParameterJavaObjectType
,SerializableToBlobType
,SerializableType
,SetAttributeImpl
,SingularAttributeImpl
,SingularAttributeImpl.Identifier
,SingularAttributeImpl.Version
,SqmBasicValuedSimplePath
,SqmCteTable
,SqmEmbeddedValuedSimplePath
,SqmEnumLiteral
,SqmFieldLiteral
,SqmJpaCompoundSelection
,SqmMapEntryReference
,SqmPolymorphicRootDescriptor
,SqmTreatedEmbeddedValuedSimplePath
,StandardBasicTypeTemplate
public interface SqmExpressible<J> extends BindableType<J>
Anything in the application domain model that can be used in an SQM query as an expression- See Also:
SqmExpression.getNodeType()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description JavaType<J>
getExpressibleJavaType()
The Java type descriptor for this expressibledefault JavaType<?>
getRelationalJavaType()
DomainType<J>
getSqmType()
default String
getTypeName()
The name of the type.default boolean
isInstance(J value)
default SqmExpressible<J>
resolveExpressible(SessionFactoryImplementor sessionFactory)
Resolve this parameter type to the corresponding SqmExpressible-
Methods inherited from interface org.hibernate.query.BindableType
getBindableJavaType
-
-
-
-
Method Detail
-
getExpressibleJavaType
JavaType<J> getExpressibleJavaType()
The Java type descriptor for this expressible
-
getRelationalJavaType
default JavaType<?> getRelationalJavaType()
-
isInstance
default boolean isInstance(J value)
- Specified by:
isInstance
in interfaceBindableType<J>
-
resolveExpressible
default SqmExpressible<J> resolveExpressible(SessionFactoryImplementor sessionFactory)
Description copied from interface:BindableType
Resolve this parameter type to the corresponding SqmExpressible- Specified by:
resolveExpressible
in interfaceBindableType<J>
-
getTypeName
default String getTypeName()
The name of the type.- API Note:
- This is the Hibernate notion of the type name. For most types
this will simply be the Java type (i.e.
Class
) name. However using the String allows for Hibernate's dynamic model feature.
-
getSqmType
DomainType<J> getSqmType()
-
-