public class LazyTuple extends TupleImpl implements IResourceTuple
IResourceTuple
efficiently encode the value and defer their
transformation in a real tuple only if there is a match.ancestor, content
Constructor and Description |
---|
LazyTuple() |
Modifier and Type | Method and Description |
---|---|
void |
addKeyValue(String k,
Tuple item)
Set or reset a value in a resource tuple
|
Tuple |
get(String key)
Retrieve a child.
|
Tuple |
onEnd()
This signal tells you the loading of a remote resource is now terminated.
|
Tuple |
set(Object value)
Set a new value to a tuple
|
add, append, asArray, asGeoShape, asSet, compareTo, compareTo, contains, decodeBase64, dtoPunchLeafValue, dump, duplicate, elements, empty, encodeBase64, equals, equalsOneOf, exists, fromEscapedJson, getByKey, getElement, getElement, getEntries, getIterator, getSingleChild, getValue, getValues, isEmpty, isLeaf, leafAsString, merge, mergeWith, putAll, remove, remove, removeElement, replaceAllKeys, replaceAllKeyValues, select, set, setLeaf, size, skip, splitAsTupleArray, toAsciiJson, toEscapedJson, toFlat, toJson, toMap, toString, up
asBoolean, asBytes, asCollection, asDouble, asDoubleArray, asFloat, asInt, asLong, asLongArray, asString, asString, asStringArray, attach, concat, containsOneOf, containsOneOf, cutPrefix, cutSuffix, endsWith, get, get, get, getAttachment, getCreateTrie, getDeep, getDeepEs, getKeys, getType, hasKey, indexOf, indexOf, indexOf, indexOf, isArray, isBooleanLeaf, isBytesLeaf, isDoubleLeaf, isEquals, isLongLeaf, isRoot, isSet, isStringLeaf, isTuple, length, matches, remove, replace, replaceAll, replaceAllValues, replaceFirst, split, startsWith, substring, substring, toArray, toLowerCase, toUpperCase, trim, tryBoolean, tryBoolean, tryBytes, tryBytes, tryDouble, tryDouble, tryIp, tryIp, tryIpv4, tryIpv4, tryIpv6, tryIpv6, tryLong, tryLong
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
onStart
public Tuple get(String key)
TupleImpl
tuple.get("a").get("b|).get("c").set("hello");Without 'a' being there.
public Tuple set(Object value)
TupleImpl
public void addKeyValue(String k, Tuple item)
IResourceTuple
addKeyValue
in interface IResourceTuple
public Tuple onEnd()
IResourceTuple
You must return the underlying Tuple resource object.
onEnd
in interface IResourceTuple
Copyright © 2022. All rights reserved.