Class DdsqlTabularQueryColumn

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class DdsqlTabularQueryColumn extends Object
A single column of a DDSQL tabular query result.
  • Field Details

  • Constructor Details

    • DdsqlTabularQueryColumn

      public DdsqlTabularQueryColumn()
    • DdsqlTabularQueryColumn

      public DdsqlTabularQueryColumn(String name, String type, List<Object> values)
  • Method Details

    • name

      public DdsqlTabularQueryColumn name(String name)
    • getName

      public String getName()
      Name of the column as projected by the SQL statement.
      Returns:
      name
    • setName

      public void setName(String name)
    • type

      public DdsqlTabularQueryColumn type(String type)
    • getType

      public String getType()
      DDSQL data type of the column's values, for example VARCHAR, BIGINT, DECIMAL, BOOLEAN, TIMESTAMP, JSON, or an array variant such as VARCHAR[]. See the DDSQL data-types reference for the full, up-to-date list.
      Returns:
      type
    • setType

      public void setType(String type)
    • values

      public DdsqlTabularQueryColumn values(List<Object> values)
    • addValuesItem

      public DdsqlTabularQueryColumn addValuesItem(Object valuesItem)
    • getValues

      public List<Object> getValues()
      Column values in row order, one entry per result row. The element type follows the column's type. The following serialization rules should be taken into account:
      • BIGINT values are encoded as JSON numbers in the signed 64-bit integer range.
      • DECIMAL values are encoded as JSON numbers with 64-bit double precision.
      • TIMESTAMP and DATE values are encoded as Unix-millisecond integers; a DATE resolves to midnight UTC.
      • JSON values are returned as a JSON-encoded string.

      null is allowed for any column type where a value is missing.

      Returns:
      values
    • setValues

      public void setValues(List<Object> values)
    • putAdditionalProperty

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