Package org.jdbi.v3.core.mapper
Class JoinRow
- java.lang.Object
-
- org.jdbi.v3.core.mapper.JoinRow
-
public class JoinRow extends java.lang.ObjectHolder for a single joined row.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<java.lang.reflect.Type,java.lang.Object>entries
-
Constructor Summary
Constructors Constructor Description JoinRow(java.util.Map<java.lang.reflect.Type,java.lang.Object> entries)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Tget(java.lang.Class<T> klass)Return the value mapped for a given class.java.lang.Objectget(java.lang.reflect.Type type)Return the value mapped for a given type.
-
-
-
Method Detail
-
get
public <T> T get(java.lang.Class<T> klass)
Return the value mapped for a given class.- Type Parameters:
T- the type to map- Parameters:
klass- the type that was mapped- Returns:
- the value for that type
-
get
public java.lang.Object get(java.lang.reflect.Type type)
Return the value mapped for a given type.- Parameters:
type- the type that was mapped- Returns:
- the value for that type
-
-