Package org.dalesbred.result
Class ResultTable.ColumnMetadata
- java.lang.Object
-
- org.dalesbred.result.ResultTable.ColumnMetadata
-
- Enclosing class:
- ResultTable
public static class ResultTable.ColumnMetadata extends java.lang.ObjectProvides 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.StringgetDatabaseType()Returns the vendor-specific database type name for this column.intgetIndex()Returns the zero-based index of this column.intgetJdbcType()Returns the JDBC type code for this column.@NotNull java.lang.StringgetName()Returns the name of this column.@NotNull java.lang.Class<?>getRawType()Returns the raw Java-type of this column.@NotNull java.lang.reflect.TypegetType()Returns the Java-type of this column.@NotNull java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object
-
-