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

com.databricks.jdbc.core.DatabricksColumn Maven / Gradle / Ivy

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

import com.databricks.jdbc.core.types.AccessType;
import com.databricks.jdbc.core.types.Nullable;
import org.immutables.value.Value;

@Value.Immutable
public interface DatabricksColumn {

  /** Name of the column in result set */
  String columnName();

  /** Type of the column in result set */
  int columnType();

  /** Full data type spec, SQL/catalogString text */
  String columnTypeText();

  /**
   * Precision is the maximum number of significant digits that can be stored in a column. For
   * string, it's 255.
   */
  int typePrecision();

  int displaySize();

  boolean isSigned();

  String schemaName();

  boolean isCurrency();

  boolean isAutoIncrement();

  boolean isCaseSensitive();

  boolean isSearchable();

  Nullable nullable();

  int typeScale();

  AccessType accessType();

  boolean isDefinitelyWritable();

  String columnTypeClassName();

  String tableName();

  String catalogName();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy