Interface JpaCastTarget<T>

All Known Implementing Classes:
SqmCastTarget

@Incubating public interface JpaCastTarget<T>
The target for cast.
Since:
7.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the specified length of the cast target or null.
    Returns the specified precision of the cast target or null.
    Returns the specified scale of the cast target or null.
    Returns the JPA type for this cast target.
  • Method Details

    • getType

      Type<T> getType()
      Returns the JPA type for this cast target.
    • getLength

      @Nullable Long getLength()
      Returns the specified length of the cast target or null.
    • getPrecision

      @Nullable Integer getPrecision()
      Returns the specified precision of the cast target or null.
    • getScale

      @Nullable Integer getScale()
      Returns the specified scale of the cast target or null.