Top Description Fields Constructors Methods
org.h2.result

public Class ResultColumn

extends Object
Class Inheritance
Imports
java.io.IOException, org.h2.engine.Constants, org.h2.value.Transfer, .TypeInfo

A result set column of a remote result.

Field Summary

Modifier and TypeField and Description
pack-priv final String
alias

The column alias.

pack-priv final String
columnName

The column name or null.

pack-priv final TypeInfo
columnType

The column type.

pack-priv final boolean
identity

True if this is an identity column.

pack-priv final int
nullable

True if this column is nullable.

pack-priv final String
schemaName

The schema name or null.

pack-priv final String
tableName

The table name or null.

Constructor Summary

AccessConstructor and Description
pack-priv
ResultColumn(Transfer
the object from where to read the data
in
)

Read an object from the given transfer object.

Method Summary

Modifier and TypeMethod and Description
public static void
writeColumn(Transfer
the object to where to write the data
out
,
ResultInterface
the result
result
,
int
the column index
i
)

Write a result column to the given output.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

aliasback to summary
pack-priv final String alias

The column alias.

columnNameback to summary
pack-priv final String columnName

The column name or null.

columnTypeback to summary
pack-priv final TypeInfo columnType

The column type.

identityback to summary
pack-priv final boolean identity

True if this is an identity column.

nullableback to summary
pack-priv final int nullable

True if this column is nullable.

schemaNameback to summary
pack-priv final String schemaName

The schema name or null.

tableNameback to summary
pack-priv final String tableName

The table name or null.

Constructor Detail

ResultColumnback to summary
pack-priv ResultColumn(Transfer in) throws IOException

Read an object from the given transfer object.

Parameters
in:Transfer

the object from where to read the data

Method Detail

writeColumnback to summary
public static void writeColumn(Transfer out, ResultInterface result, int i) throws IOException

Write a result column to the given output.

Parameters
out:Transfer

the object to where to write the data

result:ResultInterface

the result

i:int

the column index

Exceptions
IOException:
on failure