public class JSONSetFunction extends NestedSetFunction<JsonNode,ArrayNode>
for more details.
,
Serialized FormNestedBaseFunction.Context
pointers, rootPointer
nestedCoercibleType
fieldDeclaration, numArgs, trace
Constructor and Description |
---|
JSONSetFunction(Fields fieldDeclaration)
Creates a new JSONSetFunction instance that will pivot all resolved arguments fields into
an existing JSON object, where all the JSON object attributes are the argument field names.
|
JSONSetFunction(Fields fieldDeclaration,
Fields fromFields,
java.lang.String stringPointer)
Creates a new JSONSetFunction instance.
|
JSONSetFunction(Fields fieldDeclaration,
java.util.Map<Fields,java.lang.String> pointerMap)
Creates a new JSONSetFunction instance.
|
JSONSetFunction(Fields fieldDeclaration,
java.lang.String rootPointer)
Creates a new JSONSetFunction instance that will pivot all resolved arguments fields into
an existing JSON object, where all the JSON object attributes are the argument field names.
|
getNode
operate, prepare
deepCopy, getCoercibleType, getLiteralNode, getNestedPointerCompiler, getRootNode, iterable
cleanup, equals, flush, getFieldDeclaration, getNumArgs, getTrace, hashCode, isSafe, printOperationInternal, toString, toStringInternal
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
cleanup, flush, getFieldDeclaration, getNumArgs, isSafe
@ConstructorProperties(value="fieldDeclaration") public JSONSetFunction(Fields fieldDeclaration)
fieldDeclaration
- of Fields@ConstructorProperties(value={"fieldDeclaration","rootPointer"}) public JSONSetFunction(Fields fieldDeclaration, java.lang.String rootPointer)
The rootPointer
values specifies the base name of the final pointer path. If rootPointer
is
"/person" and and argument is passed with field name "fullName", the value will be placed in "/person/fullName".
fieldDeclaration
- of FieldsrootPointer
- of Stringpublic JSONSetFunction(Fields fieldDeclaration, Fields fromFields, java.lang.String stringPointer)
fieldDeclaration
- of FieldsfromFields
- of FieldsstringPointer
- of Stringpublic JSONSetFunction(Fields fieldDeclaration, java.util.Map<Fields,java.lang.String> pointerMap)
fieldDeclaration
- of FieldspointerMap
- of MapCopyright © 2007-2017 Cascading Maintainers. All Rights Reserved.