Class DdsqlTabularQueryTimeWindow

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class DdsqlTabularQueryTimeWindow extends Object
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.
  • Field Details

    • unparsed

      public boolean unparsed
    • JSON_PROPERTY_FROM_TIMESTAMP

      public static final String JSON_PROPERTY_FROM_TIMESTAMP
      See Also:
    • JSON_PROPERTY_TO_TIMESTAMP

      public static final String JSON_PROPERTY_TO_TIMESTAMP
      See Also:
  • Constructor Details

    • DdsqlTabularQueryTimeWindow

      public DdsqlTabularQueryTimeWindow()
    • DdsqlTabularQueryTimeWindow

      public DdsqlTabularQueryTimeWindow(Long fromTimestamp, Long toTimestamp)
  • Method Details

    • fromTimestamp

      public DdsqlTabularQueryTimeWindow fromTimestamp(Long fromTimestamp)
    • getFromTimestamp

      public Long getFromTimestamp()
      Start of the query window (inclusive), in Unix milliseconds since the epoch.
      Returns:
      fromTimestamp
    • setFromTimestamp

      public void setFromTimestamp(Long fromTimestamp)
    • toTimestamp

      public DdsqlTabularQueryTimeWindow toTimestamp(Long toTimestamp)
    • getToTimestamp

      public Long getToTimestamp()
      End of the query window (exclusive), in Unix milliseconds since the epoch.
      Returns:
      toTimestamp
    • setToTimestamp

      public void setToTimestamp(Long toTimestamp)
    • putAdditionalProperty

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