use of org.apache.apex.malhar.lib.util.FieldInfo in project apex-malhar by apache.
the class JdbcIOApp method addFieldInfos.
private List<FieldInfo> addFieldInfos() {
List<FieldInfo> fieldInfos = Lists.newArrayList();
fieldInfos.add(new FieldInfo("ACCOUNT_NO", "accountNumber", SupportType.INTEGER));
fieldInfos.add(new FieldInfo("NAME", "name", SupportType.STRING));
fieldInfos.add(new FieldInfo("AMOUNT", "amount", SupportType.INTEGER));
return fieldInfos;
}
Aggregations