Interface ColumnMatchers


public interface ColumnMatchers
Built-in column matchers.
See Also:
  • Method Details

    • forName

      static ColumnMatcher forName(String columnName)
      Builds a matcher for matching name(case incensitive) of a column.
      Parameters:
      columnName - The column name to be checked
      Returns:
      A matcher for that column name
    • hasProperty

      static ColumnMatcher hasProperty(ColumnMeta.Property checkedProperty)
      Builds a matcher for a column that has a specific property.
      Parameters:
      checkedProperty - The property to be checked
      Returns:
      A matcher for a column has that property
    • forJdbcType

      static ColumnMatcher forJdbcType(JDBCType targetType)
      Builds a matcher for matching a type of JDBC.
      Parameters:
      targetType - The target type of JDBC
      Returns:
      A matcher for that JDBC type
    • forTypeName

      static ColumnMatcher forTypeName(String typeName)
      Builds a matcher for matching type name(case incensitive) of ColumnMeta.
      Parameters:
      typeName - The type to be checked
      Returns:
      A matcher for that type name