Class DdsqlTabularQueryRequestAttributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class DdsqlTabularQueryRequestAttributes extends Object
Attributes describing the DDSQL query to execute.
  • Field Details

  • Constructor Details

    • DdsqlTabularQueryRequestAttributes

      public DdsqlTabularQueryRequestAttributes()
    • DdsqlTabularQueryRequestAttributes

      public DdsqlTabularQueryRequestAttributes(String query, DdsqlTabularQueryTimeWindow time)
  • Method Details

    • query

    • getQuery

      public String getQuery()
      The DDSQL statement to execute. DDSQL is Datadog's SQL dialect, which is a subset of PostgreSQL, scoped to Datadog data sources.
      Returns:
      query
    • setQuery

      public void setQuery(String query)
    • rowLimit

      public DdsqlTabularQueryRequestAttributes rowLimit(Long rowLimit)
    • getRowLimit

      @Nullable public Long getRowLimit()
      Cap on the number of rows returned. Defaults to 5,000 when omitted. Must be between 1 and 10,000 inclusive; values outside this range are rejected with 400. minimum: 1 maximum: 10000
      Returns:
      rowLimit
    • setRowLimit

      public void setRowLimit(Long rowLimit)
    • time

    • getTime

      public DdsqlTabularQueryTimeWindow getTime()
      Time window scoping the underlying data sources, expressed in Unix milliseconds since the epoch. Inclusive on from_timestamp, exclusive on to_timestamp. Results from static tables (for example, dd.hosts) are not affected by the time window, but the field must still be provided.
      Returns:
      time
    • setTime

      public void setTime(DdsqlTabularQueryTimeWindow time)
    • putAdditionalProperty

      public DdsqlTabularQueryRequestAttributes 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:
      DdsqlTabularQueryRequestAttributes
    • 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 DdsqlTabularQueryRequestAttributes 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