Class QueryReportDataObject

java.lang.Object
com.inductiveautomation.reporting.common.data.QueryReportDataObject
All Implemented Interfaces:
DataSourceConfigObject, Serializable

public class QueryReportDataObject extends Object implements DataSourceConfigObject
This is the "ConfigObject" for the Query data source. Note that within any query data source could be contained an entire tree of queries, which themselves are a public API and may be of type of query.

Created by carl.gould on 3/3/2015.

See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • getRootQuery

      public QueryReportDataObject.SubQuery getRootQuery()
    • setRootQuery

      public void setRootQuery(QueryReportDataObject.SubQuery rootQuery)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toJson

      public com.inductiveautomation.ignition.common.gson.JsonObject toJson()
      Description copied from interface: DataSourceConfigObject
      This should return a JsonObject that represents the configuration of this data source. This is used to serialize this class for RPC calls between the Designer and Gateway.
      Specified by:
      toJson in interface DataSourceConfigObject
      Returns:
      a JsonObject representing the configuration of this data source
    • fromJson

      public static QueryReportDataObject fromJson(com.inductiveautomation.ignition.common.gson.JsonObject json)