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, AnonymousTupleSqmAssociationPathSourceNew, AnonymousTupleSqmPathSource, AnonymousTupleSqmPathSourceNew, 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:
  • Method Details

    • 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 interface BindableType<J>
    • resolveExpressible

      default SqmExpressible<J> resolveExpressible(BindingContext bindingContext)
      Description copied from interface: BindableType
      Resolve this parameter type to the corresponding SqmExpressible
      Specified by:
      resolveExpressible in interface BindableType<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()