Class SingleColumnRSE<K>

  • All Implemented Interfaces:
    RSExtractor<K>
    Direct Known Subclasses:
    BigDecimalRSE, DoubleRSE, IntegerRSE, LongRSE, StringRSE

    public abstract class SingleColumnRSE<K>
    extends Object
    implements RSExtractor<K>
    Result Set Extractor for query where just one column should be get. Can be used the column name or the column index. Default is using column index at position 1.
    Author:
    Fugerit
    • Constructor Detail

      • SingleColumnRSE

        protected SingleColumnRSE​(int index)
      • SingleColumnRSE

        protected SingleColumnRSE​(String name)
      • SingleColumnRSE

        protected SingleColumnRSE()
    • Method Detail

      • getColumnName

        public String getColumnName()
      • getColumnIndex

        public int getColumnIndex()
      • isUseColumnIndex

        public boolean isUseColumnIndex()
      • isUseColumnName

        public boolean isUseColumnName()
      • convert

        protected abstract K convert​(Object o)