Package org.dalesbred.result
Class ResultTable.ColumnMetadata
java.lang.Object
org.dalesbred.result.ResultTable.ColumnMetadata
- Enclosing class:
ResultTable
Provides metadata about a column of the result.
-
Constructor Summary
ConstructorsConstructorDescriptionColumnMetadata(int index, @NotNull String name, @NotNull Type type, int jdbcType, @NotNull String databaseType) -
Method Summary
Modifier and TypeMethodDescription@NotNull StringReturns the vendor-specific database type name for this column.intgetIndex()Returns the zero-based index of this column.intReturns the JDBC type code for this column.@NotNull StringgetName()Returns the name of this column.@NotNull Class<?> Returns the raw Java-type of this column.@NotNull TypegetType()Returns the Java-type of this column.@NotNull StringtoString()
-
Constructor Details
-
ColumnMetadata
-
-
Method Details
-
getIndex
public int getIndex()Returns the zero-based index of this column. -
getName
Returns the name of this column. -
getType
Returns the Java-type of this column. -
getRawType
Returns the raw Java-type of this column. -
getJdbcType
public int getJdbcType()Returns the JDBC type code for this column.- See Also:
-
getDatabaseType
Returns the vendor-specific database type name for this column. -
toString
-