Interface Transform<SourceType,TargetType>
- Type Parameters:
SourceType- source typeTargetType- target type
- All Known Subinterfaces:
DBToJsonMappingTable,JsonToDBGraph
public interface Transform<SourceType,TargetType>
Interface for transforming JSON coordinates (JSON path or JSON attribute) to DB coordinates (column and table name) and back
-
Method Summary
Modifier and TypeMethodDescriptionconvertColumn(String value) Conversion from attributeName to columnName and backtransform(SourceType sourceObject) Get jsonPath by DB table and column and back
-
Method Details
-
transform
Get jsonPath by DB table and column and back- Parameters:
sourceObject- jsonPath (or DB table and column)- Returns:
- DB table and column (or jsonPath)
- Throws:
Exception- there is no such object
-
convertColumn
Conversion from attributeName to columnName and back- Parameters:
value- attribute (or column) name- Returns:
- column (or attribute) name
-