Class 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 Detail

      • ViewColumnMeta

        public ViewColumnMeta​(ViewColumnType type,
                              int length)
    • Method Detail

      • getColumnType

        public ViewColumnType getColumnType()
        Returns column type.
        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:
      • getLength

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