コード例 #1
0
    @Override
    public List<DataRecord> visit(Field field) {
      lastField = field.getFieldMetadata();
      recordProjection.put(
          lastField,
          new ValueBuilder() {

            @Override
            public Object getValue(DataRecord record) {
              return record.get(lastField);
            }
          });
      return records;
    }
コード例 #2
0
 @Override
 public Collection<? extends ComplexTypeMetadata> visit(Field field) {
   closure.add(field.getFieldMetadata().getContainingType());
   return closure;
 }