java.lang.Object
io.xpipe.core.data.node.DataStructureNode
- All Implemented Interfaces:
Iterable<DataStructureNode>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Integerstatic final Integerstatic final Integerstatic final Integerstatic final Integerstatic final Integerstatic final Integerstatic final Integerstatic final Integerstatic final Integerstatic final Integerstatic final Integerstatic final Integerstatic final Integerstatic final Integerstatic final Integerstatic final Integer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal ArrayNodeasArray()intasInt()asString()final TupleNodeasTuple()final ValueNodeasValue()at(int index) clear()voidabstract DataTypevoidforEach(Consumer<? super DataStructureNode> action) forKeyIfPresent(String name) getMetaAttribute(Integer key) protected abstract StringgetName()getNodes()booleanhasMetaAttribute(Integer key) booleanisArray()abstract booleanbooleanisTuple()booleanisValue()iterator()keyNameAt(int index) mutable()put(DataStructureNode node) put(String keyName, DataStructureNode node) remove(int index) set(int index, DataStructureNode node) intsize()stream()toString()abstract StringtoString(int indent) protected UnsupportedOperationException
-
Field Details
-
KEY_TABLE_NAME
-
KEY_ROW_NAME
-
BOOLEAN_TRUE
-
IS_BOOLEAN
-
BOOLEAN_FALSE
-
INTEGER_VALUE
-
IS_NULL
-
IS_INTEGER
-
IS_DECIMAL
-
DECIMAL_VALUE
-
IS_TEXT
-
IS_INSTANT
-
IS_BINARY
-
IS_DATE
-
DATE_VALUE
-
IS_CURRENCY
-
CURRENCY_CODE
-
-
Constructor Details
-
DataStructureNode
public DataStructureNode()
-
-
Method Details
-
clearMetaAttributes
public void clearMetaAttributes() -
getMetaAttributes
-
tag
-
tag
-
tag
-
getMetaAttribute
-
hasMetaAttribute
-
mutable
-
keyNameAt
-
getKeyValuePairs
-
getKeyNames
-
getNodes
-
getName
-
unsupported
-
isMutable
public abstract boolean isMutable() -
toString
-
clear
-
metaToString
-
toString
-
isTuple
public boolean isTuple() -
isArray
public boolean isArray() -
isValue
public boolean isValue() -
set
-
asValue
-
asTuple
-
asArray
-
put
-
put
-
remove
-
remove
-
size
public int size() -
determineDataType
-
at
-
forKey
-
forKeyIfPresent
-
asInt
public int asInt() -
asString
-
stream
-
forEach
- Specified by:
forEachin interfaceIterable<DataStructureNode>
-
spliterator
- Specified by:
spliteratorin interfaceIterable<DataStructureNode>
-
iterator
- Specified by:
iteratorin interfaceIterable<DataStructureNode>
-