All Known Implementing Classes:
DataList, DataValue

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 class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Data
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default List<Data>
     
    boolean
     
    default boolean
     
    boolean
     
     
  • Field Details

    • NULL

      static final Data NULL
  • 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

      String textValue()
      Returns:
      text data value, throws exception for data which can't be represented as text
    • asList

      default List<Data> asList()
      Returns:
      this instance cast to List, may throw exception if this instance is not of kind list.