Class ResultList.Field

  • Enclosing class:
    ResultList

    public static final class ResultList.Field
    extends java.lang.Object
    Class that maps a result set column to a map key/value pair.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String columnName
      The source column name.
      java.lang.String key
      The name of the map key.
      java.lang.Class<?> type
      The type of the map value.
    • Constructor Summary

      Constructors 
      Constructor Description
      Field​(java.lang.String columnName)  
      Field​(java.lang.String columnName, java.lang.String key)  
      Field​(java.lang.String columnName, java.lang.String key, java.lang.Class<?> type)  
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • columnName

        public final java.lang.String columnName
        The source column name.
      • key

        public final java.lang.String key
        The name of the map key. If null, the column name will be used.
      • type

        public final java.lang.Class<?> type
        The type of the map value. If null, the default SQL type will be used.
    • Constructor Detail

      • Field

        public Field​(java.lang.String columnName)
      • Field

        public Field​(java.lang.String columnName,
                     java.lang.String key)
      • Field

        public Field​(java.lang.String columnName,
                     java.lang.String key,
                     java.lang.Class<?> type)