Package com.datadog.api.client.v2.model
Class ObservabilityPipelineClickhouseDestination
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineClickhouseDestination
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineClickhouseDestination
extends Object
The
clickhouse destination sends log events to a ClickHouse database table over
HTTP.
Supported pipeline types: logs.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringboolean -
Constructor Summary
ConstructorsConstructorDescriptionObservabilityPipelineClickhouseDestination(String id, List<String> inputs, String table, ObservabilityPipelineClickhouseDestinationType type) -
Method Summary
Modifier and TypeMethodDescriptionaddInputsItem(String inputsItem) dateTimeBestEffort(Boolean dateTimeBestEffort) endpointUrlKey(String endpointUrlKey) booleanReturn true if this ObservabilityPipelineClickhouseDestination object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getAuth()HTTP Basic Authentication credentials for the ClickHouse destination.getBatch()Batching configuration for ClickHouse inserts.Batch encoding configuration for the ClickHouse destination.Configuration for buffer settings on destination components.Compression setting for outbound HTTP requests to ClickHouse.Optional ClickHouse database name.Whentrue, enables flexible DateTime parsing on the ClickHouse server side.Name of the environment variable or secret that contains the ClickHouse HTTP endpoint URL.Insert format for events sent to ClickHouse.getId()The unique identifier for this component.A list of component IDs whose output is used as theinputfor this component.Whentrue, fields not present in the target table schema are dropped instead of causing insert errors.org.openapitools.jackson.nullable.JsonNullable<Boolean>getTable()Target ClickHouse table name.getTls()Configuration for enabling TLS encryption between the pipeline component and external services.getType()The destination type.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidvoidvoidvoidsetDatabase(String database) voidsetDateTimeBestEffort(Boolean dateTimeBestEffort) voidsetEndpointUrlKey(String endpointUrlKey) voidvoidvoidvoidsetSkipUnknownFields(Boolean skipUnknownFields) voidsetSkipUnknownFields_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> skipUnknownFields) voidvoidvoidskipUnknownFields(Boolean skipUnknownFields) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_AUTH
- See Also:
-
JSON_PROPERTY_BATCH
- See Also:
-
JSON_PROPERTY_BATCH_ENCODING
- See Also:
-
JSON_PROPERTY_BUFFER
- See Also:
-
JSON_PROPERTY_COMPRESSION
- See Also:
-
JSON_PROPERTY_DATABASE
- See Also:
-
JSON_PROPERTY_DATE_TIME_BEST_EFFORT
- See Also:
-
JSON_PROPERTY_ENDPOINT_URL_KEY
- See Also:
-
JSON_PROPERTY_FORMAT
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_INPUTS
- See Also:
-
JSON_PROPERTY_SKIP_UNKNOWN_FIELDS
- See Also:
-
JSON_PROPERTY_TABLE
- See Also:
-
JSON_PROPERTY_TLS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
ObservabilityPipelineClickhouseDestination
public ObservabilityPipelineClickhouseDestination() -
ObservabilityPipelineClickhouseDestination
public ObservabilityPipelineClickhouseDestination(String id, List<String> inputs, String table, ObservabilityPipelineClickhouseDestinationType type)
-
-
Method Details
-
auth
-
getAuth
HTTP Basic Authentication credentials for the ClickHouse destination. Whenstrategyisbasic, provideusername_keyandpassword_keythat reference environment variables or secrets containing the credentials.- Returns:
- auth
-
setAuth
-
batch
-
getBatch
Batching configuration for ClickHouse inserts.- Returns:
- batch
-
setBatch
-
batchEncoding
public ObservabilityPipelineClickhouseDestination batchEncoding(ObservabilityPipelineClickhouseDestinationBatchEncoding batchEncoding) -
getBatchEncoding
Batch encoding configuration for the ClickHouse destination. Required whenformatisarrow_stream. Thecodecfield must be set toarrow_stream.- Returns:
- batchEncoding
-
setBatchEncoding
-
buffer
-
getBuffer
Configuration for buffer settings on destination components.- Returns:
- buffer
-
setBuffer
-
compression
public ObservabilityPipelineClickhouseDestination compression(ObservabilityPipelineClickhouseDestinationCompression compression) -
getCompression
Compression setting for outbound HTTP requests to ClickHouse. Can be specified as a shorthand string ("gzip"or"none") or as an object with analgorithmfield and an optionallevel(gzip only, 1–9).- Returns:
- compression
-
setCompression
-
database
-
getDatabase
Optional ClickHouse database name. If omitted, the user's default database on the ClickHouse server is used.- Returns:
- database
-
setDatabase
-
dateTimeBestEffort
-
getDateTimeBestEffort
Whentrue, enables flexible DateTime parsing on the ClickHouse server side.- Returns:
- dateTimeBestEffort
-
setDateTimeBestEffort
-
endpointUrlKey
-
getEndpointUrlKey
Name of the environment variable or secret that contains the ClickHouse HTTP endpoint URL. Defaults toDESTINATION_CLICKHOUSE_ENDPOINT_URL(prefixed withDD_OP_at runtime).- Returns:
- endpointUrlKey
-
setEndpointUrlKey
-
format
public ObservabilityPipelineClickhouseDestination format(ObservabilityPipelineClickhouseDestinationFormat format) -
getFormat
Insert format for events sent to ClickHouse. -json_each_row: Maps event fields to columns by name (ClickHouseJSONEachRow). -json_as_object: Inserts each event into a singleObject('json')/JSONcolumn (ClickHouseJSONAsObject). -json_as_string: Inserts each event into a singleString-typed column as raw JSON (ClickHouseJSONAsString). -arrow_stream: Batches events using Apache Arrow IPC streaming format. Requiresbatch_encoding.- Returns:
- format
-
setFormat
-
id
-
getId
The unique identifier for this component.- Returns:
- id
-
setId
-
inputs
-
addInputsItem
-
getInputs
A list of component IDs whose output is used as theinputfor this component.- Returns:
- inputs
-
setInputs
-
skipUnknownFields
-
getSkipUnknownFields
Whentrue, fields not present in the target table schema are dropped instead of causing insert errors. When unset, the ClickHouse server's owninput_format_skip_unknown_fieldssetting applies.- Returns:
- skipUnknownFields
-
getSkipUnknownFields_JsonNullable
-
setSkipUnknownFields_JsonNullable
public void setSkipUnknownFields_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> skipUnknownFields) -
setSkipUnknownFields
-
table
-
getTable
Target ClickHouse table name. Events are inserted into this table.- Returns:
- table
-
setTable
-
tls
-
getTls
Configuration for enabling TLS encryption between the pipeline component and external services.- Returns:
- tls
-
setTls
-
type
-
getType
The destination type. The value must beclickhouse.- Returns:
- type
-
setType
-
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:
- ObservabilityPipelineClickhouseDestination
-
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 ObservabilityPipelineClickhouseDestination object is equal to o. -
hashCode
public int hashCode() -
toString
-