Class SpannerPostgreSQLAggregateSupport

java.lang.Object
org.hibernate.dialect.aggregate.AggregateSupportImpl
org.hibernate.dialect.aggregate.PostgreSQLAggregateSupport
org.hibernate.community.dialect.aggregate.SpannerPostgreSQLAggregateSupport
All Implemented Interfaces:
org.hibernate.dialect.aggregate.AggregateSupport

public class SpannerPostgreSQLAggregateSupport extends org.hibernate.dialect.aggregate.PostgreSQLAggregateSupport
Spanner supports only JSON aggregation. It doesn't support XML or STRUCT aggregation
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.hibernate.dialect.aggregate.AggregateSupport

    org.hibernate.dialect.aggregate.AggregateSupport.AggregateColumnWriteExpression, org.hibernate.dialect.aggregate.AggregateSupport.WriteExpressionRenderer
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.hibernate.dialect.aggregate.AggregateSupport
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    aggregateComponentAssignmentExpression(String aggregateParentAssignmentExpression, String columnExpression, int aggregateColumnTypeCode, org.hibernate.mapping.Column column)
     
    aggregateComponentCustomReadExpression(String template, String placeholder, String aggregateParentReadExpression, String columnExpression, int aggregateColumnTypeCode, org.hibernate.metamodel.mapping.SqlTypedMapping column, org.hibernate.type.spi.TypeConfiguration typeConfiguration)
     
    org.hibernate.dialect.aggregate.AggregateSupport.WriteExpressionRenderer
    aggregateCustomWriteExpressionRenderer(org.hibernate.metamodel.mapping.SelectableMapping aggregateColumn, org.hibernate.metamodel.mapping.SelectableMapping[] columnsToUpdate, org.hibernate.type.spi.TypeConfiguration typeConfiguration)
     
    boolean
     

    Methods inherited from class org.hibernate.dialect.aggregate.PostgreSQLAggregateSupport

    preferSelectAggregateMapping, valueOf

    Methods inherited from class org.hibernate.dialect.aggregate.AggregateSupportImpl

    aggregateAuxiliaryDatabaseObjects, aggregateComponentSqlTypeCode, aggregateCustomWriteExpression, preferBindAggregateMapping, supportsComponentCheckConstraints

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.hibernate.dialect.aggregate.AggregateSupport

    aggregateComponentAssignmentExpression, aggregateComponentCustomReadExpression
  • Field Details

    • INSTANCE

      public static final org.hibernate.dialect.aggregate.AggregateSupport INSTANCE
  • Constructor Details

    • SpannerPostgreSQLAggregateSupport

      public SpannerPostgreSQLAggregateSupport()
  • Method Details

    • aggregateComponentCustomReadExpression

      public String aggregateComponentCustomReadExpression(String template, String placeholder, String aggregateParentReadExpression, String columnExpression, int aggregateColumnTypeCode, org.hibernate.metamodel.mapping.SqlTypedMapping column, org.hibernate.type.spi.TypeConfiguration typeConfiguration)
      Specified by:
      aggregateComponentCustomReadExpression in interface org.hibernate.dialect.aggregate.AggregateSupport
      Overrides:
      aggregateComponentCustomReadExpression in class org.hibernate.dialect.aggregate.PostgreSQLAggregateSupport
    • aggregateComponentAssignmentExpression

      public String aggregateComponentAssignmentExpression(String aggregateParentAssignmentExpression, String columnExpression, int aggregateColumnTypeCode, org.hibernate.mapping.Column column)
      Specified by:
      aggregateComponentAssignmentExpression in interface org.hibernate.dialect.aggregate.AggregateSupport
      Overrides:
      aggregateComponentAssignmentExpression in class org.hibernate.dialect.aggregate.PostgreSQLAggregateSupport
    • requiresAggregateCustomWriteExpressionRenderer

      public boolean requiresAggregateCustomWriteExpressionRenderer(int aggregateSqlTypeCode)
      Specified by:
      requiresAggregateCustomWriteExpressionRenderer in interface org.hibernate.dialect.aggregate.AggregateSupport
      Overrides:
      requiresAggregateCustomWriteExpressionRenderer in class org.hibernate.dialect.aggregate.PostgreSQLAggregateSupport
    • aggregateCustomWriteExpressionRenderer

      public org.hibernate.dialect.aggregate.AggregateSupport.WriteExpressionRenderer aggregateCustomWriteExpressionRenderer(org.hibernate.metamodel.mapping.SelectableMapping aggregateColumn, org.hibernate.metamodel.mapping.SelectableMapping[] columnsToUpdate, org.hibernate.type.spi.TypeConfiguration typeConfiguration)
      Specified by:
      aggregateCustomWriteExpressionRenderer in interface org.hibernate.dialect.aggregate.AggregateSupport
      Overrides:
      aggregateCustomWriteExpressionRenderer in class org.hibernate.dialect.aggregate.PostgreSQLAggregateSupport