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 StringThe column alias.(package private) final StringThe column name or null.(package private) final TypeInfoThe column type.(package private) final booleanTrue if this is an identity column.(package private) final intTrue if this column is nullable.(package private) final StringThe schema name or null.(package private) final StringThe table name or null. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidwriteColumn(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
-