Class RowMapperImpl<ID,​E>

  • All Implemented Interfaces:
    RowMapper<ID,​E>

    public class RowMapperImpl<ID,​E>
    extends Object
    implements RowMapper<ID,​E>
    • Constructor Detail

      • RowMapperImpl

        public RowMapperImpl​(BuilderImpl<ID,​E> builder)
    • Method Detail

      • tableName

        public String tableName()
      • newInstance

        public E newInstance()
      • pkName

        public String pkName()
      • isPkAutoGen

        public boolean isPkAutoGen()
      • getColumnNames

        public List<String> getColumnNames()
      • getColumnNames

        public List<String> getColumnNames​(boolean includePK)
      • getId

        public ID getId​(E entity)
      • id2DbValue

        public Object id2DbValue​(ID id)
      • setId

        public void setId​(E entity,
                          Object id)
      • map

        public E map​(io.vertx.sqlclient.Row rs)
        Specified by:
        map in interface RowMapper<ID,​E>
      • toTuple

        public io.vertx.sqlclient.Tuple toTuple​(E entity)
      • toTuple

        public io.vertx.sqlclient.Tuple toTuple​(E entity,
                                                boolean includePK)