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

com.databricks.jdbc.client.sqlexec.CreateSessionRequest Maven / Gradle / Ivy

There is a newer version: 2.6.40-patch-1
Show newest version
package com.databricks.jdbc.client.sqlexec;

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

/** Create session request */
public class CreateSessionRequest {

  /** Warehouse-Id for session */
  @JsonProperty("warehouse_id")
  private String warehouseId;

  @JsonProperty("schema")
  private String schema;

  @JsonProperty("catalog")
  private String catalog;

  @JsonProperty("session_confs")
  private Map sessionConfigs;

  public CreateSessionRequest setWarehouseId(String warehouseId) {
    this.warehouseId = warehouseId;
    return this;
  }

  public String getWarehouseId() {
    return warehouseId;
  }

  public CreateSessionRequest setSchema(String schema) {
    this.schema = schema;
    return this;
  }

  public String getSchema() {
    return schema;
  }

  public CreateSessionRequest setCatalog(String catalog) {
    this.catalog = catalog;
    return this;
  }

  public String getCatalog() {
    return catalog;
  }

  public CreateSessionRequest setSessionConfigs(Map sessionConfigs) {
    this.sessionConfigs = sessionConfigs;
    return this;
  }

  public Map getSessionConfigs() {
    return sessionConfigs;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy