类 CompositeEnumTypeHandler<E extends Enum<E>>

java.lang.Object
com.baomidou.mybatisplus.core.handlers.CompositeEnumTypeHandler<E>
所有已实现的接口:
org.apache.ibatis.type.TypeHandler<E>

public class CompositeEnumTypeHandler<E extends Enum<E>> extends Object implements org.apache.ibatis.type.TypeHandler<E>
从以下版本开始:
2022-03-07
作者:
miemie
  • 构造器详细资料

    • CompositeEnumTypeHandler

      public CompositeEnumTypeHandler(Class<E> enumClassType)
  • 方法详细资料

    • setDefaultEnumTypeHandler

      public static void setDefaultEnumTypeHandler(Class<? extends org.apache.ibatis.type.TypeHandler> defaultEnumTypeHandler)
    • setParameter

      public void setParameter(PreparedStatement ps, int i, E parameter, org.apache.ibatis.type.JdbcType jdbcType) throws SQLException
      指定者:
      setParameter 在接口中 org.apache.ibatis.type.TypeHandler<E extends Enum<E>>
      抛出:
      SQLException
    • getResult

      public E getResult(ResultSet rs, String columnName) throws SQLException
      指定者:
      getResult 在接口中 org.apache.ibatis.type.TypeHandler<E extends Enum<E>>
      抛出:
      SQLException
    • getResult

      public E getResult(ResultSet rs, int columnIndex) throws SQLException
      指定者:
      getResult 在接口中 org.apache.ibatis.type.TypeHandler<E extends Enum<E>>
      抛出:
      SQLException
    • getResult

      public E getResult(CallableStatement cs, int columnIndex) throws SQLException
      指定者:
      getResult 在接口中 org.apache.ibatis.type.TypeHandler<E extends Enum<E>>
      抛出:
      SQLException
    • getInstance

      public <T> org.apache.ibatis.type.TypeHandler<T> getInstance(Class<?> javaTypeClass, Class<?> typeHandlerClass)