cascading.operation.xml
Class XPathGenerator
java.lang.Object
cascading.operation.BaseOperation<Pair<DocumentBuilder,Tuple>>
cascading.operation.xml.XPathOperation
cascading.operation.xml.XPathGenerator
- All Implemented Interfaces:
- DeclaresResults, Function<Pair<DocumentBuilder,Tuple>>, Operation<Pair<DocumentBuilder,Tuple>>, Traceable, Serializable
public class XPathGenerator
- extends XPathOperation
- implements Function<Pair<DocumentBuilder,Tuple>>
XPathGenerator is a Generator function that will emit a new Tuple for every Node returned by
the given XPath expression.
- See Also:
- Serialized Form
Fields inherited from interface cascading.operation.Operation |
ANY |
Constructor Summary |
XPathGenerator(Fields fieldDeclaration,
String[][] namespaces,
String... paths)
Constructor XPathGenerator creates a new XPathGenerator instance. |
XPathGenerator
public XPathGenerator(Fields fieldDeclaration,
String[][] namespaces,
String... paths)
- Constructor XPathGenerator creates a new XPathGenerator instance.
- Parameters:
fieldDeclaration
- of type Fieldsnamespaces
- of type String[][]paths
- of type String...
operate
public void operate(FlowProcess flowProcess,
FunctionCall<Pair<DocumentBuilder,Tuple>> functionCall)
- Specified by:
operate
in interface Function<Pair<DocumentBuilder,Tuple>>
Copyright © 2007-2015 Concurrent, Inc. All Rights Reserved.