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

com.scalar.db.sql.ColumnDefinition Maven / Gradle / Ivy

There is a newer version: 3.14.0
Show newest version
package com.scalar.db.sql;

import java.util.Optional;

/** Metadata about a column of the {@link ResultSet}. */
public interface ColumnDefinition {

  /**
   * Returns the name of the namespace of the table.
   *
   * @return the name of the namespace of the table or empty if not applicable
   */
  Optional getNamespaceName();

  /**
   * Returns the name of the table of the column.
   *
   * @return the name of the table of the column or empty if not applicable
   */
  Optional getTableName();

  /**
   * Returns the name of the column.
   *
   * @return the name of the column
   */
  String getColumnName();

  /**
   * Returns the data type of the column.
   *
   * @return the data type of the column
   */
  DataType getDataType();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy