Interface ColumnNativeTypeDecorator

All Known Implementing Classes:
HanaBlobColumnNativeTypeDecorator

public interface ColumnNativeTypeDecorator
This is extension point which allows to decorate or change native sql type for given column.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    canBeUsed(org.apache.ddlutils.model.Column column, String nativeType)
    Method invoked to check whether this implementation can be used or not.
    decorate(org.apache.ddlutils.model.Column column, String nativeType)
    Method invoked to decorate/change sql type for given column
  • Method Details

    • canBeUsed

      boolean canBeUsed(org.apache.ddlutils.model.Column column, String nativeType)
      Method invoked to check whether this implementation can be used or not.
      Parameters:
      column - column
      nativeType - current native type
      Returns:
      returns true if this implementation can be used
    • decorate

      String decorate(org.apache.ddlutils.model.Column column, String nativeType)
      Method invoked to decorate/change sql type for given column
      Parameters:
      column - column
      nativeType - current native type
      Returns:
      returns new native type