Class ResultTable.ColumnMetadata

  • Enclosing class:
    ResultTable

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

      Constructors 
      Constructor Description
      ColumnMetadata​(int index, @NotNull java.lang.String name, @NotNull java.lang.reflect.Type type, int jdbcType, @NotNull java.lang.String databaseType)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @NotNull java.lang.String getDatabaseType()
      Returns the vendor-specific database type name for this column.
      int getIndex()
      Returns the zero-based index of this column.
      int getJdbcType()
      Returns the JDBC type code for this column.
      @NotNull java.lang.String getName()
      Returns the name of this column.
      @NotNull java.lang.Class<?> getRawType()
      Returns the raw Java-type of this column.
      @NotNull java.lang.reflect.Type getType()
      Returns the Java-type of this column.
      @NotNull java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ColumnMetadata

        public ColumnMetadata​(int index,
                              @NotNull
                              @NotNull java.lang.String name,
                              @NotNull
                              @NotNull java.lang.reflect.Type type,
                              int jdbcType,
                              @NotNull
                              @NotNull java.lang.String databaseType)
    • Method Detail

      • getIndex

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

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

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

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

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

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

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