FilterType type = new FilterType(1, "Greater Than");
ValueType valueType = new ValueType(1, null, "java.lang.Long",
"java.lang.Long", "java.lang.Long", true);
RowAlias alias = new RowAlias(1, null, valueType, 8, "alias");
RowAliasFilter rowFilter = new RowAliasFilter(null, type, "123", alias);
FilterType type1 = new FilterType(2, "Substring");
ValueType valueType1 = new ValueType(2, null, "java.lang.String",
"java.lang.String", false);
RowAlias alias1 = new RowAlias(2, null, valueType1, 6, "alias1");
RowAliasFilter rowFilter1 = new RowAliasFilter(null, type1, "Substr",
alias1);
Mapping mapping = new Mapping();
Map<String, RowAlias> rowAliases = new TreeMap<String, RowAlias>();
rowAliases.put(alias.getAlias(), alias);
rowAliases.put(alias1.getAlias(), alias1);
mapping.setRowAlias(rowAliases);
ArrayList<RowAliasFilter> greaterFilters = new ArrayList<RowAliasFilter>();
greaterFilters.add(rowFilter);