Package org.h2.result
Class ResultColumn
java.lang.Object
org.h2.result.ResultColumn
A result set column of a remote result.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final String
The column alias.(package private) final String
The column name or null.(package private) final TypeInfo
The column type.(package private) final boolean
True if this is an identity column.(package private) final int
True if this column is nullable.(package private) final String
The schema name or null.(package private) final String
The table name or null. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
writeColumn
(Transfer out, ResultInterface result, int i) Write a result column to the given output.
-
Field Details
-
alias
The column alias. -
schemaName
The schema name or null. -
tableName
The table name or null. -
columnName
The column name or null. -
columnType
The column type. -
identity
final boolean identityTrue if this is an identity column. -
nullable
final int nullableTrue if this column is nullable.
-
-
Constructor Details
-
ResultColumn
ResultColumn(Transfer in) throws IOException Read an object from the given transfer object.- Parameters:
in
- the object from where to read the data- Throws:
IOException
-
-
Method Details
-
writeColumn
Write a result column to the given output.- Parameters:
out
- the object to where to write the dataresult
- the resulti
- the column index- Throws:
IOException
- on failure
-