Class RowMapperImpl<ID,E>
- java.lang.Object
-
- com.github.longdt.vertxorm.repository.base.RowMapperImpl<ID,E>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.github.longdt.vertxorm.repository.RowMapper
RowMapper.Builder<ID,E>
-
-
Constructor Summary
Constructors Constructor Description RowMapperImpl(BuilderImpl<ID,E> builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getColumnNames()List<String>getColumnNames(boolean includePK)List<FieldMapping<E,?>>getFieldMappings()IDgetId(E entity)List<FieldMapping<E,?>>getMappings(boolean includePK)Objectid2DbValue(ID id)booleanisPkAutoGen()Emap(io.vertx.sqlclient.Row rs)EnewInstance()StringpkName()voidsetId(E entity, Object id)StringtableName()io.vertx.sqlclient.TupletoTuple(E entity)io.vertx.sqlclient.TupletoTuple(E entity, boolean includePK)
-
-
-
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()
-
getFieldMappings
public List<FieldMapping<E,?>> getFieldMappings()
-
getMappings
public List<FieldMapping<E,?>> getMappings(boolean includePK)
-
toTuple
public io.vertx.sqlclient.Tuple toTuple(E entity)
-
toTuple
public io.vertx.sqlclient.Tuple toTuple(E entity, boolean includePK)
-
-