public class JSONCreateFunction extends cascading.nested.core.NestedCreateFunction<JsonNode,ArrayNode>
If a SerPredicate is supplied, it will be tested on the current value, if true, the value
will be set on the final JSON object. This is useful for prevent null values from being set, artificially
increasing the size of the final object.
for more details.,
Serialized Form| Constructor and Description |
|---|
JSONCreateFunction(cascading.tuple.Fields fieldDeclaration)
Creates a new JSONCreateFunction instance that will pivot all resolved arguments fields into
a new JSON object, where all the JSON object attributes are the argument field names.
|
JSONCreateFunction(cascading.tuple.Fields fieldDeclaration,
cascading.tuple.Fields fromFields,
java.lang.String stringPointer)
Creates a new JSONCreateFunction instance that maps the given
fromFields value to the location
declared by the stringPointer. |
JSONCreateFunction(cascading.tuple.Fields fieldDeclaration,
java.util.Map<cascading.tuple.Fields,java.lang.String> pointerMap)
Creates a new JSONCreateFunction instance that maps all the Fields declared in the
pointerMap to the declared path pointers. |
JSONCreateFunction(cascading.tuple.Fields fieldDeclaration,
cascading.operation.SerPredicate<?> defaultValueFilter)
Creates a new JSONCreateFunction instance that will pivot all resolved arguments fields into
a new JSON object, where all the JSON object attributes are the argument field names.
|
JSONCreateFunction(cascading.tuple.Fields fieldDeclaration,
cascading.operation.SerPredicate<?> defaultValueFilter,
cascading.tuple.Fields fromFields,
java.lang.String stringPointer)
Creates a new JSONCreateFunction instance that maps the given
fromFields value to the location
declared by the stringPointer. |
JSONCreateFunction(cascading.tuple.Fields fieldDeclaration,
cascading.operation.SerPredicate<?> defaultValueFilter,
java.util.Map<cascading.tuple.Fields,java.lang.String> pointerMap)
Creates a new JSONCreateFunction instance that maps all the Fields declared in the
pointerMap to the declared path pointers. |
JSONCreateFunction(cascading.tuple.Fields fieldDeclaration,
java.lang.String rootPointer)
Creates a new JSONCreateFunction instance that will pivot all resolved arguments fields into
a new JSON object, where all the JSON object attributes are the argument field names.
|
JSONCreateFunction(cascading.tuple.Fields fieldDeclaration,
java.lang.String rootPointer,
cascading.operation.SerPredicate<?> defaultValueFilter)
Creates a new JSONCreateFunction instance that will pivot all resolved arguments fields into
a new JSON object, where all the JSON object attributes are the argument field names.
|
JSONCreateFunction(JSONCoercibleType coercibleType,
cascading.tuple.Fields fieldDeclaration)
Creates a new JSONCreateFunction instance that will pivot all resolved arguments fields into
a new JSON object, where all the JSON object attributes are the argument field names.
|
JSONCreateFunction(JSONCoercibleType coercibleType,
cascading.tuple.Fields fieldDeclaration,
cascading.tuple.Fields fromFields,
java.lang.String stringPointer)
Creates a new JSONCreateFunction instance that maps the given
fromFields value to the location
declared by the stringPointer. |
JSONCreateFunction(JSONCoercibleType coercibleType,
cascading.tuple.Fields fieldDeclaration,
java.util.Map<cascading.tuple.Fields,java.lang.String> pointerMap)
Creates a new JSONCreateFunction instance that maps all the Fields declared in the
pointerMap to the declared path pointers. |
JSONCreateFunction(JSONCoercibleType coercibleType,
cascading.tuple.Fields fieldDeclaration,
cascading.operation.SerPredicate<?> defaultValueFilter)
Creates a new JSONCreateFunction instance that will pivot all resolved arguments fields into
a new JSON object, where all the JSON object attributes are the argument field names.
|
JSONCreateFunction(JSONCoercibleType coercibleType,
cascading.tuple.Fields fieldDeclaration,
cascading.operation.SerPredicate<?> defaultValueFilter,
cascading.tuple.Fields fromFields,
java.lang.String stringPointer)
Creates a new JSONCreateFunction instance that maps the given
fromFields value to the location
declared by the stringPointer. |
JSONCreateFunction(JSONCoercibleType coercibleType,
cascading.tuple.Fields fieldDeclaration,
cascading.operation.SerPredicate<?> defaultValueFilter,
java.util.Map<cascading.tuple.Fields,java.lang.String> pointerMap)
Creates a new JSONCreateFunction instance that maps all the Fields declared in the
pointerMap to the declared path pointers. |
JSONCreateFunction(JSONCoercibleType coercibleType,
cascading.tuple.Fields fieldDeclaration,
java.lang.String rootPointer)
Creates a new JSONCreateFunction instance that will pivot all resolved arguments fields into
a new JSON object, where all the JSON object attributes are the argument field names.
|
JSONCreateFunction(JSONCoercibleType coercibleType,
cascading.tuple.Fields fieldDeclaration,
java.lang.String rootPointer,
cascading.operation.SerPredicate<?> defaultValueFilter)
Creates a new JSONCreateFunction instance that will pivot all resolved arguments fields into
a new JSON object, where all the JSON object attributes are the argument field names.
|
deepCopy, getCoercibleType, getLiteralNode, getNestedPointerCompiler, getRootNode, iterable, sizecleanup, equals, flush, getFieldDeclaration, getNumArgs, getTrace, hashCode, isSafe, printOperationInternal, toString, toStringInternal@ConstructorProperties(value="fieldDeclaration") public JSONCreateFunction(cascading.tuple.Fields fieldDeclaration)
fieldDeclaration - of Fields@ConstructorProperties(value={"fieldDeclaration","rootPointer"})
public JSONCreateFunction(cascading.tuple.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 String@ConstructorProperties(value={"coercibleType","fieldDeclaration"})
public JSONCreateFunction(JSONCoercibleType coercibleType,
cascading.tuple.Fields fieldDeclaration)
coercibleType - of JSONCoercibleTypefieldDeclaration - of Fields@ConstructorProperties(value={"coercibleType","fieldDeclaration","rootPointer"})
public JSONCreateFunction(JSONCoercibleType coercibleType,
cascading.tuple.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".
coercibleType - of JSONCoercibleTypefieldDeclaration - of FieldsrootPointer - of String@ConstructorProperties(value={"fieldDeclaration","fromFields","stringPointer"})
public JSONCreateFunction(cascading.tuple.Fields fieldDeclaration,
cascading.tuple.Fields fromFields,
java.lang.String stringPointer)
fromFields value to the location
declared by the stringPointer.fieldDeclaration - of FieldsfromFields - of FieldsstringPointer - of String@ConstructorProperties(value={"fieldDeclaration","pointerMap"})
public JSONCreateFunction(cascading.tuple.Fields fieldDeclaration,
java.util.Map<cascading.tuple.Fields,java.lang.String> pointerMap)
pointerMap to the declared path pointers.fieldDeclaration - of FieldspointerMap - of Map@ConstructorProperties(value={"coercibleType","fieldDeclaration","fromFields","stringPointer"})
public JSONCreateFunction(JSONCoercibleType coercibleType,
cascading.tuple.Fields fieldDeclaration,
cascading.tuple.Fields fromFields,
java.lang.String stringPointer)
fromFields value to the location
declared by the stringPointer.coercibleType - of JSONCoercibleTypefieldDeclaration - of FieldsfromFields - of FieldsstringPointer - of String@ConstructorProperties(value={"coercibleType","fieldDeclaration","pointerMap"})
public JSONCreateFunction(JSONCoercibleType coercibleType,
cascading.tuple.Fields fieldDeclaration,
java.util.Map<cascading.tuple.Fields,java.lang.String> pointerMap)
pointerMap to the declared path pointers.coercibleType - of JSONCoercibleTypefieldDeclaration - of FieldspointerMap - of Map@ConstructorProperties(value={"fieldDeclaration","defaultValueFilter"})
public JSONCreateFunction(cascading.tuple.Fields fieldDeclaration,
cascading.operation.SerPredicate<?> defaultValueFilter)
fieldDeclaration - of FieldsdefaultValueFilter - of Predicate@ConstructorProperties(value={"fieldDeclaration","rootPointer","defaultValueFilter"})
public JSONCreateFunction(cascading.tuple.Fields fieldDeclaration,
java.lang.String rootPointer,
cascading.operation.SerPredicate<?> defaultValueFilter)
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 StringdefaultValueFilter - of Predicate@ConstructorProperties(value={"coercibleType","fieldDeclaration","defaultValueFilter"})
public JSONCreateFunction(JSONCoercibleType coercibleType,
cascading.tuple.Fields fieldDeclaration,
cascading.operation.SerPredicate<?> defaultValueFilter)
coercibleType - of JSONCoercibleTypefieldDeclaration - of FieldsdefaultValueFilter - of Predicate@ConstructorProperties(value={"coercibleType","fieldDeclaration","rootPointer","defaultValueFilter"})
public JSONCreateFunction(JSONCoercibleType coercibleType,
cascading.tuple.Fields fieldDeclaration,
java.lang.String rootPointer,
cascading.operation.SerPredicate<?> defaultValueFilter)
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".
coercibleType - of JSONCoercibleTypefieldDeclaration - of FieldsrootPointer - of StringdefaultValueFilter - of Predicate@ConstructorProperties(value={"fieldDeclaration","defaultValueFilter","fromFields","stringPointer"})
public JSONCreateFunction(cascading.tuple.Fields fieldDeclaration,
cascading.operation.SerPredicate<?> defaultValueFilter,
cascading.tuple.Fields fromFields,
java.lang.String stringPointer)
fromFields value to the location
declared by the stringPointer.fieldDeclaration - of FieldsdefaultValueFilter - of PredicatefromFields - of FieldsstringPointer - of String@ConstructorProperties(value={"fieldDeclaration","defaultValueFilter","pointerMap"})
public JSONCreateFunction(cascading.tuple.Fields fieldDeclaration,
cascading.operation.SerPredicate<?> defaultValueFilter,
java.util.Map<cascading.tuple.Fields,java.lang.String> pointerMap)
pointerMap to the declared path pointers.fieldDeclaration - of FieldsdefaultValueFilter - of PredicatepointerMap - of Map@ConstructorProperties(value={"coercibleType","fieldDeclaration","defaultValueFilter","fromFields","stringPointer"})
public JSONCreateFunction(JSONCoercibleType coercibleType,
cascading.tuple.Fields fieldDeclaration,
cascading.operation.SerPredicate<?> defaultValueFilter,
cascading.tuple.Fields fromFields,
java.lang.String stringPointer)
fromFields value to the location
declared by the stringPointer.coercibleType - of JSONCoercibleTypefieldDeclaration - of FieldsdefaultValueFilter - of PredicatefromFields - of FieldsstringPointer - of String@ConstructorProperties(value={"coercibleType","fieldDeclaration","defaultValueFilter","pointerMap"})
public JSONCreateFunction(JSONCoercibleType coercibleType,
cascading.tuple.Fields fieldDeclaration,
cascading.operation.SerPredicate<?> defaultValueFilter,
java.util.Map<cascading.tuple.Fields,java.lang.String> pointerMap)
pointerMap to the declared path pointers.coercibleType - of JSONCoercibleTypefieldDeclaration - of FieldsdefaultValueFilter - of PredicatepointerMap - of MapCopyright © 2007-2021 Cascading Maintainers. All Rights Reserved.