@Immutable public class ColumnMappers extends Object
ColumnMapper objects for columns.| Modifier and Type | Class and Description |
|---|---|
static class |
ColumnMappers.Builder
A builder of
Selectors. |
protected static class |
ColumnMappers.MapperRule |
| Modifier and Type | Field and Description |
|---|---|
private List<ColumnMappers.MapperRule> |
rules |
| Modifier | Constructor and Description |
|---|---|
private |
ColumnMappers(List<ColumnMappers.MapperRule> rules) |
| Modifier and Type | Method and Description |
|---|---|
static ColumnMappers.Builder |
create()
Obtain a new
builder for a table selection predicate. |
protected static ColumnMapper |
instantiateMapper(Class<ColumnMapper> clazz,
Configuration config) |
ColumnMapper |
mapperFor(TableId tableId,
Column column)
Get the value mapping function for the given column.
|
ValueConverter |
mappingConverterFor(Table table,
Column column)
Get the value mapping function for the given column.
|
ValueConverter |
mappingConverterFor(TableId tableId,
Column column)
Get the value mapping function for the given column.
|
private final List<ColumnMappers.MapperRule> rules
private ColumnMappers(List<ColumnMappers.MapperRule> rules)
public static ColumnMappers.Builder create()
builder for a table selection predicate.public ValueConverter mappingConverterFor(Table table, Column column)
table - the table to which the column belongs; may not be nullcolumn - the column; may not be nullpublic ValueConverter mappingConverterFor(TableId tableId, Column column)
tableId - the identifier of the table to which the column belongs; may not be nullcolumn - the column; may not be nullpublic ColumnMapper mapperFor(TableId tableId, Column column)
tableId - the identifier of the table to which the column belongs; may not be nullcolumn - the column; may not be nullprotected static ColumnMapper instantiateMapper(Class<ColumnMapper> clazz, Configuration config)
Copyright © 2016 JBoss by Red Hat. All rights reserved.