类 UpdateSpec
- java.lang.Object
-
- com.mysql.cj.xdevapi.UpdateSpec
-
public class UpdateSpec extends Object
Representation of a single update operation in a list of operations to be performed byModifyStatement. Used internally for transformation of X DevAPI parameters into X Protocol ones.
-
-
构造器概要
构造器 构造器 说明 UpdateSpec(UpdateType updateType, String source)Constructor.
-
-
-
构造器详细资料
-
UpdateSpec
public UpdateSpec(UpdateType updateType, String source)
Constructor.- 参数:
updateType- update operation typesource- document path expression
-
-
方法详细资料
-
getUpdateType
public Object getUpdateType()
Get X Protocol update type.- 返回:
- X Protocol UpdateOperation.UpdateType
-
getSource
public Object getSource()
Get X Protocol ColumnIdentifier.- 返回:
- X Protocol MysqlxExpr.ColumnIdentifier
-
setValue
public UpdateSpec setValue(Object value)
Set value to be set by this update operation.- 参数:
value- value expression- 返回:
- this UpdateSpec
-
getValue
public Object getValue()
Get X Protocol value expression.- 返回:
- X Protocol MysqlxExpr.Expr
-
-