Package com.datadog.api.client.v2.model
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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionaddColumnsItem(DdsqlTabularQueryColumn columnsItem) addWarningsItem(String warningsItem) columns(List<DdsqlTabularQueryColumn> columns) booleanReturn true if this DdsqlTabularQueryResponseAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Column-major result set.Opaque token to pass to the fetch endpoint to poll for results.getState()Lifecycle state of a DDSQL tabular query response.Non-fatal messages emitted by the query engine while serving this response.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetColumns(List<DdsqlTabularQueryColumn> columns) voidsetQueryId(String queryId) voidsetState(DdsqlTabularQueryState state) voidsetWarnings(List<String> warnings) state(DdsqlTabularQueryState state) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_COLUMNS
- See Also:
-
JSON_PROPERTY_QUERY_ID
- See Also:
-
JSON_PROPERTY_STATE
- See Also:
-
JSON_PROPERTY_WARNINGS
- See Also:
-
-
Constructor Details
-
DdsqlTabularQueryResponseAttributes
public DdsqlTabularQueryResponseAttributes() -
DdsqlTabularQueryResponseAttributes
-
-
Method Details
-
columns
-
addColumnsItem
-
getColumns
Column-major result set. Each element carries one column's name, type, and values, with one value per row of the result. Set whenstateiscompleted.- Returns:
- columns
-
setColumns
-
queryId
-
getQueryId
Opaque token to pass to the fetch endpoint to poll for results. Set whenstateisrunningand absent whenstateiscompleted.- Returns:
- queryId
-
setQueryId
-
state
-
getState
Lifecycle state of a DDSQL tabular query response.runningmeans the query is still executing and the client should poll the fetch endpoint with the returnedquery_id.completedmeans the result set is inlined incolumnsand no further polling is required.- Returns:
- state
-
setState
-
warnings
-
addWarningsItem
-
getWarnings
Non-fatal messages emitted by the query engine while serving this response.- Returns:
- warnings
-
setWarnings
-
putAdditionalProperty
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 setvalue- The associated value- Returns:
- DdsqlTabularQueryResponseAttributes
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
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
Return true if this DdsqlTabularQueryResponseAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-