Class ViewColumnMeta<V>

java.lang.Object
ru.curs.celesta.score.ViewColumnMeta<V>
Type Parameters:
V - Java class of column value
All Implemented Interfaces:
ColumnMeta<V>

public final class ViewColumnMeta<V> extends Object implements ColumnMeta<V>
View column metadata.
  • Constructor Details

  • Method Details

    • getColumnType

      public ViewColumnType getColumnType()
      Returns column type.
      Returns:
    • getName

      public String getName()
      Description copied from interface: ColumnMeta
      Returns column name.
      Specified by:
      getName in interface ColumnMeta<V>
      Returns:
    • jdbcGetterName

      public String jdbcGetterName()
      Description copied from interface: ColumnMeta
      Name of jdbcGetter that should be used for getting column data.
      Specified by:
      jdbcGetterName in interface ColumnMeta<V>
      Returns:
    • getCelestaType

      public String getCelestaType()
      Description copied from interface: ColumnMeta
      Celesta data type that corresponds to the field.
      Specified by:
      getCelestaType in interface ColumnMeta<V>
      Returns:
    • getJavaClass

      public Class<?> getJavaClass()
      Description copied from interface: ColumnMeta
      Returns corresponding Java data type.
      Specified by:
      getJavaClass in interface ColumnMeta<V>
      Returns:
    • isNullable

      public boolean isNullable()
      Description copied from interface: ColumnMeta
      Whether the field is nullable.
      Specified by:
      isNullable in interface ColumnMeta<V>
      Returns:
    • getCelestaDoc

      public String getCelestaDoc()
      Description copied from interface: ColumnMeta
      Column's CelestaDoc.
      Specified by:
      getCelestaDoc in interface ColumnMeta<V>
      Returns:
    • getLength

      public int getLength()
      Returns field's length (or -1 if undefined).
      Returns: