Class ResultTable.ColumnMetadata

java.lang.Object
org.dalesbred.result.ResultTable.ColumnMetadata
Enclosing class:
ResultTable

public static class ResultTable.ColumnMetadata extends Object
Provides metadata about a column of the result.
  • Constructor Details

    • ColumnMetadata

      public ColumnMetadata(int index, @NotNull @NotNull String name, @NotNull @NotNull Type type, int jdbcType, @NotNull @NotNull String databaseType)
  • Method Details

    • getIndex

      public int getIndex()
      Returns the zero-based index of this column.
    • getName

      @NotNull public @NotNull String getName()
      Returns the name of this column.
    • getType

      @NotNull public @NotNull Type getType()
      Returns the Java-type of this column.
    • getRawType

      @NotNull public @NotNull Class<?> getRawType()
      Returns the raw Java-type of this column.
    • getJdbcType

      public int getJdbcType()
      Returns the JDBC type code for this column.
      See Also:
    • getDatabaseType

      @NotNull public @NotNull String getDatabaseType()
      Returns the vendor-specific database type name for this column.
    • toString

      @NotNull public @NotNull String toString()
      Overrides:
      toString in class Object