Class DdsqlTabularQueryResponseAttributes

java.lang.Object
com.datadog.api.client.v2.model.DdsqlTabularQueryResponseAttributes

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class DdsqlTabularQueryResponseAttributes extends Object
Attributes of a DDSQL tabular query response. query_id is set when state is running; columns is set when state is completed.
  • Field Details

  • Constructor Details

    • DdsqlTabularQueryResponseAttributes

      public DdsqlTabularQueryResponseAttributes()
    • DdsqlTabularQueryResponseAttributes

      public DdsqlTabularQueryResponseAttributes(DdsqlTabularQueryState state)
  • Method Details

    • columns

    • addColumnsItem

      public DdsqlTabularQueryResponseAttributes addColumnsItem(DdsqlTabularQueryColumn columnsItem)
    • getColumns

      @Nullable public List<DdsqlTabularQueryColumn> getColumns()
      Column-major result set. Each element carries one column's name, type, and values, with one value per row of the result. Set when state is completed.
      Returns:
      columns
    • setColumns

      public void setColumns(List<DdsqlTabularQueryColumn> columns)
    • queryId

      public DdsqlTabularQueryResponseAttributes queryId(String queryId)
    • getQueryId

      @Nullable public String getQueryId()
      Opaque token to pass to the fetch endpoint to poll for results. Set when state is running and absent when state is completed.
      Returns:
      queryId
    • setQueryId

      public void setQueryId(String queryId)
    • state

    • getState

      public DdsqlTabularQueryState getState()
      Lifecycle state of a DDSQL tabular query response. running means the query is still executing and the client should poll the fetch endpoint with the returned query_id . completed means the result set is inlined in columns and no further polling is required.
      Returns:
      state
    • setState

      public void setState(DdsqlTabularQueryState state)
    • warnings

      public DdsqlTabularQueryResponseAttributes warnings(List<String> warnings)
    • addWarningsItem

      public DdsqlTabularQueryResponseAttributes addWarningsItem(String warningsItem)
    • getWarnings

      @Nullable public List<String> getWarnings()
      Non-fatal messages emitted by the query engine while serving this response.
      Returns:
      warnings
    • setWarnings

      public void setWarnings(List<String> warnings)
    • putAdditionalProperty

      public DdsqlTabularQueryResponseAttributes putAdditionalProperty(String key, Object value)
      Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
      Parameters:
      key - The arbitrary key to set
      value - The associated value
      Returns:
      DdsqlTabularQueryResponseAttributes
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - The arbitrary key to get
      Returns:
      The specific additional property for the given key
    • equals

      public boolean equals(Object o)
      Return true if this DdsqlTabularQueryResponseAttributes object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object