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
ConstructorDescriptionColumnMetadata
(int index, @NotNull String name, @NotNull Type type, int jdbcType, @NotNull String databaseType) -
Method Summary
Modifier and TypeMethodDescription@NotNull String
Returns the vendor-specific database type name for this column.int
getIndex()
Returns the zero-based index of this column.int
Returns the JDBC type code for this column.@NotNull String
getName()
Returns the name of this column.@NotNull Class<?>
Returns the raw Java-type of this column.@NotNull Type
getType()
Returns the Java-type of this column.@NotNull String
toString()
-
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
-