Interface SqmExpressible<J>
- All Known Subinterfaces:
AdjustableBasicType<J>, BasicPluralType<C,E>, BasicType<T>, ConvertedBasicType<J>, DiscriminatorType<O>, SqmBagPersistentAttribute<D, E>, SqmBindableType<J>, SqmDomainType<T>, SqmDynamicInstantiationTarget<T>, SqmEmbeddableDomainType<E>, SqmEntityDomainType<E>, SqmListPersistentAttribute<D, E>, SqmManagedDomainType<J>, SqmMappedSuperclassDomainType<T>, SqmMapPersistentAttribute<D, K, V>, SqmPathSource<J>, SqmPluralPersistentAttribute<D, C, E>, SqmSetPersistentAttribute<D, E>, SqmSingularPersistentAttribute<D, J>, SqmTreatableDomainType<T>
- All Known Implementing Classes:
AbstractSingleColumnStandardBasicType, AbstractStandardBasicType, org.hibernate.query.sqm.tuple.internal.AnonymousTupleType, BasicArrayType, BasicCollectionType, BottomType, ConvertedBasicArrayType, ConvertedBasicCollectionType, CustomType, DiscriminatorType, JavaObjectType, NullType, QueryParameterJavaObjectType, SerializableType, SqmBasicValuedSimplePath, SqmCteTable, SqmEmbeddedValuedSimplePath, SqmEnumLiteral, SqmFieldLiteral, SqmJpaCompoundSelection, SqmMapEntryReference, SqmPolymorphicRootDescriptor, SqmTreatedEmbeddedValuedSimplePath, StandardBasicTypeTemplate
public interface SqmExpressible<J>
Anything in the application domain model that can be used in an
SQM query as an expression.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionThe Java type descriptor for this expressibledefault JavaType<?> Usually the same asgetExpressibleJavaType().@Nullable SqmDomainType<J> default StringThe name of the type.
-
Method Details
-
getExpressibleJavaType
-
getRelationalJavaType
Usually the same asgetExpressibleJavaType(). But for types with value conversion, the Java type of the converted value. -
getTypeName
The name of the type. Usually, but not always, the name of a Java class.- See Also:
-
getSqmType
@Nullable SqmDomainType<J> getSqmType()
-