File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
metafix/src/main/java/org/metafacture/metafix Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 17
17
package org .metafacture .metafix ;
18
18
19
19
import org .metafacture .formatting .ObjectTemplate ;
20
+ import org .metafacture .framework .FluxCommand ;
20
21
import org .metafacture .framework .ObjectReceiver ;
21
22
import org .metafacture .framework .Sender ;
23
+ import org .metafacture .framework .StreamReceiver ;
24
+ import org .metafacture .framework .annotations .Description ;
25
+ import org .metafacture .framework .annotations .In ;
26
+ import org .metafacture .framework .annotations .Out ;
22
27
import org .metafacture .framework .helpers .DefaultStreamPipe ;
23
28
import org .metafacture .mangling .DuplicateObjectFilter ;
24
29
import org .metafacture .mangling .StreamFlattener ;
35
40
*
36
41
* @author Fabian Steeg
37
42
*/
43
+ @ Description ("Lists all paths found in a record. These paths can be used in a Fix to address fields. Options: " +
44
+ "count (output occurence frequency of each path, sorted by highest frequency first; default: true), " +
45
+ "index (output individual repeated subfields and array elements with index numbers instead of '*'; default: false)" )
46
+ @ In (StreamReceiver .class )
47
+ @ Out (String .class )
48
+ @ FluxCommand ("fix-list-paths" )
38
49
public class MetafixListPaths extends DefaultStreamPipe <ObjectReceiver <String >> {
39
50
40
51
private Metafix fix ;
You can’t perform that action at this time.
0 commit comments