Class JoinRow


  • public class JoinRow
    extends java.lang.Object
    Holder 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> T get​(java.lang.Class<T> klass)
      Return the value mapped for a given class.
      java.lang.Object get​(java.lang.reflect.Type type)
      Return the value mapped for a given type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • entries

        private final java.util.Map<java.lang.reflect.Type,​java.lang.Object> entries
    • Constructor Detail

      • JoinRow

        JoinRow​(java.util.Map<java.lang.reflect.Type,​java.lang.Object> entries)
    • 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