Top Description Fields Constructors Methods
org.hibernate.sql.results.internal

public Class RowTransformerStandardImpl<T>

extends Object
implements RowTransformer<T>
Class Inheritance
All Implemented Interfaces
org.hibernate.sql.results.spi.RowTransformer
Annotations
@Incubating
Imports
org.hibernate.Incubating, org.hibernate.sql.results.spi.RowTransformer

The standard RowTransformer -
  1. if the row array has just a single dimension, the value from that dimension (index zero) is returned
  2. otherwise, the array itself is returned
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
public static final RowTransformerStandardImpl<T>
INSTANCE

Singleton access

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static <T> RowTransformerStandardImpl<T>
public T
transformRow(Object[] row)

Implements org.hibernate.sql.results.spi.RowTransformer.transformRow.

Transform the "raw" row values into the ultimate query result (for a row)
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
public static final RowTransformerStandardImpl<T> INSTANCE

Singleton access

Annotations
@SuppressWarnings:rawtypes

Constructor Detail

RowTransformerStandardImplback to summary
private RowTransformerStandardImpl()

Method Detail

instanceback to summary
public static <T> RowTransformerStandardImpl<T> instance()
Annotations
@SuppressWarnings:unchecked
transformRowback to summary
public T transformRow(Object[] row)

Implements org.hibernate.sql.results.spi.RowTransformer.transformRow.

Doc from org.hibernate.sql.results.spi.RowTransformer.transformRow.

Transform the "raw" row values into the ultimate query result (for a row)

Annotations
@Override
@SuppressWarnings:unchecked