| Modifier and Type | Method and Description |
|---|---|
void |
addColumn(String tableName,
String columnName,
Class<?> objClass)
Adds a column to the table.
|
Set<String> |
getProperties(String tableName) |
Object |
retrieve(Class<?> cls,
String tableName,
Map<String,Object> properties,
Map<String,Class<?>> types)
Retrieves an object from the table.
|
boolean |
store(String tableName,
Map<String,Object> properties)
Stores the properties in the table.
|
public PgMapper(PgRunner runner)
public boolean store(String tableName, Map<String,Object> properties)
public Object retrieve(Class<?> cls, String tableName, Map<String,Object> properties, Map<String,Class<?>> types)
public void addColumn(String tableName, String columnName, Class<?> objClass)
public Set<String> getProperties(String tableName)
getProperties in interface MapperCopyright © 2016. All rights reserved.