Class RowValueSupport

java.lang.Object
org.hibernate.dialect.sql.ast.spi.RowValueSupport

@SPI({USE,SUPPLY}) public final class RowValueSupport extends Object

Immutable description of a Dialect's native row-value syntax.

Providers supply a stable profile through Dialect.getRowValueSupport(). Each RowValueSupport.Feature reports one exact syntax form or predicate context. Do not infer one context from another: a database may, for example, support row values in an IN subquery while rejecting an IN list. Explicit row(a, b) construction is likewise independent from parenthesized row-value predicates.

Ordering and distinctness comparisons refine equality comparison and are validated against that prerequisite. Native row distinctness additionally requires scalar PredicateSupport.Capability.DISTINCT_FROM at the rendering site.

Since:
8.0
See Also:
  • Field Details

    • NONE

      public static final RowValueSupport NONE
      No native row-value syntax.
    • STANDARD

      public static final RowValueSupport STANDARD
      The base-Dialect profile: every predicate feature, without explicit row(a, b) constructor syntax.
  • Method Details