public abstract class NestedCreateFunction<Node,Result> extends NestedBaseFunction<Node,Result>
Function implementations that want to simply store
values in a new nested object tree.
All argument values referenced by the pointerMap will be set on a new instance of the root node.
That is, every Fields instance in the pointer map is expected to have a corresponding argument passed to the operation.
The pointer path mapped to any given Fields instance in the pointerMap will be used as the location to set on the
root node.
If a pointerMap is not provided, the resolved argument fields will be mapped to the root of the node. This is a
convenience for quickly pivoting a Tuple into an nested object with the same attributes.
NestedBaseFunction.ContextdefaultValueFilter, pointers, rootPointernestedCoercibleType| Constructor and Description |
|---|
NestedCreateFunction(NestedCoercibleType<Node,Result> nestedCoercibleType,
cascading.tuple.Fields fieldDeclaration) |
NestedCreateFunction(NestedCoercibleType<Node,Result> nestedCoercibleType,
cascading.tuple.Fields fieldDeclaration,
cascading.operation.SerPredicate<?> defaultValueFilter) |
NestedCreateFunction(NestedCoercibleType<Node,Result> nestedCoercibleType,
cascading.tuple.Fields fieldDeclaration,
java.lang.String rootPointer) |
NestedCreateFunction(NestedCoercibleType<Node,Result> nestedCoercibleType,
cascading.tuple.Fields fieldDeclaration,
java.lang.String rootPointer,
cascading.operation.SerPredicate<?> defaultValueFilter) |
NestedCreateFunction(NestedCoercibleType nestedCoercibleType,
cascading.tuple.Fields fieldDeclaration,
java.util.Map<cascading.tuple.Fields,java.lang.String> pointerMap) |
NestedCreateFunction(NestedCoercibleType nestedCoercibleType,
cascading.tuple.Fields fieldDeclaration,
cascading.operation.SerPredicate<?> defaultValueFilter,
java.util.Map<cascading.tuple.Fields,java.lang.String> pointerMap) |
| Modifier and Type | Method and Description |
|---|---|
protected Node |
getNode(cascading.tuple.TupleEntry arguments) |
operate, preparedeepCopy, getCoercibleType, getLiteralNode, getNestedPointerCompiler, getRootNode, iterable, sizecleanup, equals, flush, getFieldDeclaration, getNumArgs, getTrace, hashCode, isSafe, printOperationInternal, toString, toStringInternalpublic NestedCreateFunction(NestedCoercibleType<Node,Result> nestedCoercibleType, cascading.tuple.Fields fieldDeclaration)
public NestedCreateFunction(NestedCoercibleType<Node,Result> nestedCoercibleType, cascading.tuple.Fields fieldDeclaration, java.lang.String rootPointer)
public NestedCreateFunction(NestedCoercibleType nestedCoercibleType, cascading.tuple.Fields fieldDeclaration, java.util.Map<cascading.tuple.Fields,java.lang.String> pointerMap)
public NestedCreateFunction(NestedCoercibleType<Node,Result> nestedCoercibleType, cascading.tuple.Fields fieldDeclaration, cascading.operation.SerPredicate<?> defaultValueFilter)
public NestedCreateFunction(NestedCoercibleType<Node,Result> nestedCoercibleType, cascading.tuple.Fields fieldDeclaration, java.lang.String rootPointer, cascading.operation.SerPredicate<?> defaultValueFilter)
public NestedCreateFunction(NestedCoercibleType nestedCoercibleType, cascading.tuple.Fields fieldDeclaration, cascading.operation.SerPredicate<?> defaultValueFilter, java.util.Map<cascading.tuple.Fields,java.lang.String> pointerMap)
Copyright © 2007-2021 Cascading Maintainers. All Rights Reserved.