类 DbDocValueFactory
- java.lang.Object
-
- com.mysql.cj.result.DefaultValueFactory<DbDoc>
-
- com.mysql.cj.xdevapi.DbDocValueFactory
-
- 所有已实现的接口:
ValueFactory<DbDoc>
public class DbDocValueFactory extends DefaultValueFactory<DbDoc>
AValueFactoryimplementation to createDbDocs.
-
-
字段概要
-
从类继承的字段 com.mysql.cj.result.DefaultValueFactory
jdbcCompliantTruncationForReads, pset
-
-
构造器概要
构造器 构造器 说明 DbDocValueFactory(PropertySet pset)Constructor.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 DbDoccreateFromBytes(byte[] bytes, int offset, int length, Field f)Interpret the given byte array as a string.DbDoccreateFromNull()Create result value from intermediate null value.StringgetTargetTypeName()Get the actual class name of T parameter.
-
-
-
构造器详细资料
-
DbDocValueFactory
public DbDocValueFactory(PropertySet pset)
Constructor.- 参数:
pset-PropertySet
-
-
方法详细资料
-
createFromBytes
public DbDoc createFromBytes(byte[] bytes, int offset, int length, Field f)
Interpret the given byte array as a string. This value factory needs to know the encoding to interpret the string. The default (null) will interpret the byte array using the platform encoding.
-
createFromNull
public DbDoc createFromNull()
从接口复制的说明:ValueFactoryCreate result value from intermediate null value.- 指定者:
createFromNull在接口中ValueFactory<DbDoc>- 覆盖:
createFromNull在类中DefaultValueFactory<DbDoc>- 返回:
- T object
-
getTargetTypeName
public String getTargetTypeName()
从接口复制的说明:ValueFactoryGet the actual class name of T parameter.- 返回:
- class name
-
-