public abstract class Mappers extends Object
A set of common mappers for convenience.
ObjectMappers| Constructor and Description |
|---|
Mappers() |
| Modifier and Type | Method and Description |
|---|---|
static Mapper<Map<String,Object>> |
map() |
static Mapper<BigDecimal> |
singleBigDecimal()
Maps the first BigDecimal column
|
static Mapper<Boolean> |
singleBoolean()
Maps the first Boolean column
|
static Mapper<byte[]> |
singleByteArray() |
static Mapper<Integer> |
singleInteger()
Maps the first Integer column.
|
static Mapper<Long> |
singleLong()
Maps the first Long column.
|
static Mapper<String> |
singleString()
Maps the first string column
|
public static Mapper<Integer> singleInteger()
public static Mapper<Long> singleLong()
public static Mapper<String> singleString()
public static Mapper<BigDecimal> singleBigDecimal()
public static Mapper<Boolean> singleBoolean()
public static Mapper<byte[]> singleByteArray()
Copyright © 2017. All rights reserved.