OUT - The type of the output array. If out is set to String, the output of the extractor
will be a String[]. If it is set to String[] the output will be String[][].@Internal public class FieldsFromArray<OUT> extends Object implements Extractor<Object,OUT[]>
| 构造器和说明 |
|---|
FieldsFromArray(Class<OUT> clazz,
int... indexes)
Extracts multiple fields from an array and puts them in the given order into a new array of
the specified type.
|
public FieldsFromArray(Class<OUT> clazz, int... indexes)
clazz - the Class object representing the component type of the new arrayindexes - The indexes of the fields to be extracted. Any order is possible, but not more
than 255 fields due to limitations in Array.newInstance(Class, int...).Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.