Interface Data
public interface Data
Data of
ExecutionResult, can be of three basic kinds - NULL, list and simple value.-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classData.DataDeserializer -
Field Summary
-
Method Summary
-
Field Details
-
Method Details
-
isList
boolean isList()- Returns:
- true if this instance is of kind list, false otherwise
-
isValue
boolean isValue()- Returns:
- true if this instance is of kind value, false otherwise
-
isNull
default boolean isNull()- Returns:
- true if this instance is the same as
NULL, false otherwise
-
textValue
java.lang.String textValue()- Returns:
- text data value, throws exception for data which can't be represented as text
-
asList
- Returns:
- this instance cast to List, may throw exception if this instance is not of kind list.
-