All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.snowflake.ingest.streaming.internal.OpenChannelResponse Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (c) 2021-2024 Snowflake Computing Inc. All rights reserved.
 */

package net.snowflake.ingest.streaming.internal;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

/** Response to the OpenChannelRequest */
class OpenChannelResponse extends StreamingIngestResponse {
  private Long statusCode;
  private String message;
  private String dbName;
  private String schemaName;
  private String tableName;
  private String channelName;
  private Long clientSequencer;
  private Long rowSequencer;
  private String offsetToken;
  private List tableColumns;
  private String encryptionKey;
  private Long encryptionKeyId;
  private FileLocationInfo icebergLocationInfo;
  private String icebergSerializationPolicy;

  @JsonProperty("status_code")
  void setStatusCode(Long statusCode) {
    this.statusCode = statusCode;
  }

  @Override
  Long getStatusCode() {
    return this.statusCode;
  }

  @JsonProperty("message")
  void setMessage(String message) {
    this.message = message;
  }

  String getMessage() {
    return this.message;
  }

  @JsonProperty("database")
  void setDBName(String dbName) {
    this.dbName = dbName;
  }

  String getDBName() {
    return this.dbName;
  }

  @JsonProperty("schema")
  void setSchemaName(String schemaName) {
    this.schemaName = schemaName;
  }

  String getSchemaName() {
    return this.schemaName;
  }

  @JsonProperty("table")
  void setTableName(String tableName) {
    this.tableName = tableName;
  }

  String getTableName() {
    return this.tableName;
  }

  @JsonProperty("channel")
  void setChannelName(String channelName) {
    this.channelName = channelName;
  }

  String getChannelName() {
    return this.channelName;
  }

  @JsonProperty("client_sequencer")
  void setClientSequencer(Long clientSequencer) {
    this.clientSequencer = clientSequencer;
  }

  Long getClientSequencer() {
    return this.clientSequencer;
  }

  @JsonProperty("row_sequencer")
  void setRowSequencer(Long rowSequencer) {
    this.rowSequencer = rowSequencer;
  }

  Long getRowSequencer() {
    return this.rowSequencer;
  }

  @JsonProperty("offset_token")
  void setOffsetToken(String offsetToken) {
    this.offsetToken = offsetToken;
  }

  String getOffsetToken() {
    return this.offsetToken;
  }

  @JsonProperty("table_columns")
  void setTableColumns(List tableColumns) {
    this.tableColumns = tableColumns;
  }

  List getTableColumns() {
    return this.tableColumns;
  }

  @JsonProperty("encryption_key")
  void setEncryptionKey(String encryptionKey) {
    this.encryptionKey = encryptionKey;
  }

  String getEncryptionKey() {
    return this.encryptionKey;
  }

  @JsonProperty("encryption_key_id")
  void setEncryptionKeyId(Long encryptionKeyId) {
    this.encryptionKeyId = encryptionKeyId;
  }

  Long getEncryptionKeyId() {
    return this.encryptionKeyId;
  }

  @JsonProperty("iceberg_location")
  void setIcebergLocationInfo(FileLocationInfo icebergLocationInfo) {
    this.icebergLocationInfo = icebergLocationInfo;
  }

  FileLocationInfo getIcebergLocationInfo() {
    return this.icebergLocationInfo;
  }

  @JsonProperty("iceberg_serialization_policy")
  void setIcebergSerializationPolicy(String icebergSerializationPolicy) {
    this.icebergSerializationPolicy = icebergSerializationPolicy;
  }

  String getIcebergSerializationPolicy() {
    return this.icebergSerializationPolicy;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy