Package org.hibernate.sql.results.internal
package org.hibernate.sql.results.internal
-
ClassesClassDescriptionInternal helper to keep track of the various Initializer instances being used during RowReader processing: different types of initializers need to be invoked in different orders, so rather than having to identify the order of initializers again during the processing of each row we keep separated lists of initializers defined upfront and then reuse these sets for the scope of the whole resultset's processing.Represents a collection currently being loaded.This is in all practical terms a
Map<NavigablePath, Initializer>
but wrapping aHashMap
to keep the client code readable as we need to: have a way to log all initializers prevent type pollution from happening on Initializer retrieval I also consider it good practice to only expose the minimal set of operations the client actually needs.Standard RowProcessingState implementationRowTransformer used when an array is explicitly specified as the return typeVerifies that the first object in each row is assignable to the query result type.RowTransformer
instantiating an arbitrary classRowTransformer generating a JPATuple
RowTransformer
instantiating aList
RowTransformer
instantiating aMap
Returns the first object in each row.Returns the first object in each row, if there is exactly one item in the selection list, or the whole row otherwise.An adapter for treating aTupleTransformer
as aRowTransformer
Implementation of the JPA TupleElement contractImplementation of the JPA Tuple contractMetadata about the tuple structure.