Package org.h2.result

Class ResultColumn

java.lang.Object
org.h2.result.ResultColumn

public class ResultColumn extends Object
A result set column of a remote result.
  • Field Details

    • alias

      final String alias
      The column alias.
    • schemaName

      final String schemaName
      The schema name or null.
    • tableName

      final String tableName
      The table name or null.
    • columnName

      final String columnName
      The column name or null.
    • columnType

      final TypeInfo columnType
      The column type.
    • identity

      final boolean identity
      True if this is an identity column.
    • nullable

      final int nullable
      True 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

      public static void writeColumn(Transfer out, ResultInterface result, int i) throws IOException
      Write a result column to the given output.
      Parameters:
      out - the object to where to write the data
      result - the result
      i - the column index
      Throws:
      IOException - on failure