Source:
public void activate(Context.OperatorContext context) { columnDataTypes.clear(); com.datastax.driver.core.ResultSet rs = store.getSession().execute("select * from " + store.keyspace + "." + tablename); final ColumnDefinitions rsMetaData = rs.getColumnDefinitions(); if(fieldInfos == null) { populateFieldInfosFromPojo(rsMetaData); } for (FieldInfo fieldInfo : getFieldInfos()) { final DataType type = rsMetaData.getType(fieldInfo.getColumnName()); columnDataTypes.add(type); final Object getter; final String getterExpr = fieldInfo.getPojoFieldExpression(); switch (type.getName()) { case ASCII: case TEXT: case VARCHAR: getter = PojoUtils.createGetter(pojoClass, getterExpr, String.class); break; case BOOLEAN: getter = PojoUtils.createGetterBoolean(pojoClass, getterExpr); break; case INT: getter = PojoUtils.createGetterInt(pojoClass, getterExpr); break; case BIGINT: case COUNTER: getter = PojoUtils.createGetterLong(pojoClass, getterExpr); break; case FLOAT: getter = PojoUtils.createGetterFloat(pojoClass, getterExpr); break; case DOUBLE: getter = PojoUtils.createGetterDouble(pojoClass, getterExpr); break; case DECIMAL: getter = PojoUtils.createGetter(pojoClass, getterExpr, BigDecimal.class); break; case SET: getter = PojoUtils.createGetter(pojoClass, getterExpr, Set.class); break; case MAP: getter = PojoUtils.createGetter(pojoClass, getterExpr, Map.class); break; case LIST: getter = PojoUtils.createGetter(pojoClass, getterExpr, List.class); break; case TIMESTAMP: getter = PojoUtils.createGetter(pojoClass, getterExpr, Date.class); break; case UUID: getter = PojoUtils.createGetter(pojoClass, getterExpr, UUID.class); break; default: getter = PojoUtils.createGetter(pojoClass, getterExpr, Object.class); break; } getters.add(getter); } super.activate(context); }

Target:
public void activate(Context.OperatorContext context) { com.datastax.driver.core.ResultSet rs = store.getSession().execute("select * from " + store.keyspace + "." + tablename); final ColumnDefinitions rsMetaData = rs.getColumnDefinitions(); if(fieldInfos == null) { populateFieldInfosFromPojo(rsMetaData); } for (FieldInfo fieldInfo : getFieldInfos()) { final DataType type = rsMetaData.getType(fieldInfo.getColumnName()); columnDataTypes.add(type); final Object getter; final String getterExpr = fieldInfo.getPojoFieldExpression(); switch (type.getName()) { case ASCII: case TEXT: case VARCHAR: getter = PojoUtils.createGetter(pojoClass, getterExpr, String.class); break; case BOOLEAN: getter = PojoUtils.createGetterBoolean(pojoClass, getterExpr); break; case INT: getter = PojoUtils.createGetterInt(pojoClass, getterExpr); break; case BIGINT: case COUNTER: getter = PojoUtils.createGetterLong(pojoClass, getterExpr); break; case FLOAT: getter = PojoUtils.createGetterFloat(pojoClass, getterExpr); break; case DOUBLE: getter = PojoUtils.createGetterDouble(pojoClass, getterExpr); break; case DECIMAL: getter = PojoUtils.createGetter(pojoClass, getterExpr, BigDecimal.class); break; case SET: getter = PojoUtils.createGetter(pojoClass, getterExpr, Set.class); break; case MAP: getter = PojoUtils.createGetter(pojoClass, getterExpr, Map.class); break; case LIST: getter = PojoUtils.createGetter(pojoClass, getterExpr, List.class); break; case TIMESTAMP: getter = PojoUtils.createGetter(pojoClass, getterExpr, Date.class); break; case UUID: getter = PojoUtils.createGetter(pojoClass, getterExpr, UUID.class); break; default: getter = PojoUtils.createGetter(pojoClass, getterExpr, Object.class); break; } getters.add(getter); } super.activate(context); }