public class PassThroughFieldExtractor<T> extends Object implements FieldExtractor<T>
FieldExtractor
that just returns the original item. If the item is an
array or collection it will be returned as is, otherwise it is wrapped in a
single element array.Constructor and Description |
---|
PassThroughFieldExtractor() |
public Object[] extract(T item)
FieldSet
or array will be returned as istoArray()
method will be usedvalues()
will be returned as an arrayextract
in interface FieldExtractor<T>
item
- the object to convertCopyright © 2014 Pivotal. All rights reserved.