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

public final Class TupleMetadata

extends Object
Class Inheritance
Imports
jakarta.persistence.TupleElement, java.util.HashMap, .IdentityHashMap, .List, .Map

Metadata about the tuple structure.
Authors
Christian Beikov, Gavin King

Field Summary

Modifier and TypeField and Description
private final String[]
private Map<TupleElement<?>, Integer>
private final TupleElement<?>[]
private List<TupleElement<?>>
private Map<String, Integer>

Constructor Summary

AccessConstructor and Description
public
TupleMetadata(TupleElement<?>[] elements, String[] aliases)

Method Summary

Modifier and TypeMethod and Description
public Integer
get(TupleElement<?> element)

public Integer
get(String name)

public List<TupleElement<?>>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

aliasesback to summary
private final String[] aliases
elementIndexback to summary
private Map<TupleElement<?>, Integer> elementIndex
elementsback to summary
private final TupleElement<?>[] elements
listback to summary
private List<TupleElement<?>> list
nameIndexback to summary
private Map<String, Integer> nameIndex

Constructor Detail

TupleMetadataback to summary
public TupleMetadata(TupleElement<?>[] elements, String[] aliases)

Method Detail

getback to summary
public Integer get(TupleElement<?> element)
getback to summary
public Integer get(String name)
getListback to summary
public List<TupleElement<?>> getList()