public class OUpdateItem extends SimpleNode
Modifier and Type | Field and Description |
---|---|
protected OIdentifier |
left |
protected OModifier |
leftModifier |
protected int |
operator |
static int |
OPERATOR_EQ |
static int |
OPERATOR_MINUSASSIGN |
static int |
OPERATOR_PLUSASSIGN |
static int |
OPERATOR_SLASHASSIGN |
static int |
OPERATOR_STARASSIGN |
protected OExpression |
right |
children, firstToken, id, lastToken, parent, parser, value
Constructor and Description |
---|
OUpdateItem(int id) |
OUpdateItem(OrientSql p,
int id) |
Modifier and Type | Method and Description |
---|---|
void |
applyOperation(OResultInternal doc,
OIdentifier attrName,
Object rightValue,
OCommandContext ctx) |
void |
applyUpdate(OResultInternal doc,
OCommandContext ctx) |
static boolean |
containsOResult(Collection value) |
static Object |
convertResultToDocument(Object value) |
static Object |
convertToPropertyType(OResultInternal res,
OIdentifier attrName,
Object newValue,
OCommandContext ctx) |
OUpdateItem |
copy() |
boolean |
equals(Object o) |
OIdentifier |
getLeft() |
OModifier |
getLeftModifier() |
int |
getOperator() |
OExpression |
getRight() |
int |
hashCode() |
void |
setLeft(OIdentifier left) |
void |
setLeftModifier(OModifier leftModifier) |
void |
setOperator(int operator) |
void |
setRight(OExpression right) |
void |
toString(Map<Object,Object> params,
StringBuilder builder) |
childrenAccept, dump, getDatabase, getValue, jjtAccept, jjtAddChild, jjtClose, jjtGetChild, jjtGetFirstToken, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, jjtSetValue, toString, toString
public static final int OPERATOR_EQ
public static final int OPERATOR_PLUSASSIGN
public static final int OPERATOR_MINUSASSIGN
public static final int OPERATOR_STARASSIGN
public static final int OPERATOR_SLASHASSIGN
protected OIdentifier left
protected OModifier leftModifier
protected int operator
protected OExpression right
public OUpdateItem(int id)
public OUpdateItem(OrientSql p, int id)
public void toString(Map<Object,Object> params, StringBuilder builder)
toString
in class SimpleNode
public OUpdateItem copy()
copy
in class SimpleNode
public void applyUpdate(OResultInternal doc, OCommandContext ctx)
public void applyOperation(OResultInternal doc, OIdentifier attrName, Object rightValue, OCommandContext ctx)
public static Object convertToPropertyType(OResultInternal res, OIdentifier attrName, Object newValue, OCommandContext ctx)
public static boolean containsOResult(Collection value)
public OIdentifier getLeft()
public void setLeft(OIdentifier left)
public OModifier getLeftModifier()
public void setLeftModifier(OModifier leftModifier)
public int getOperator()
public void setOperator(int operator)
public OExpression getRight()
public void setRight(OExpression right)
Copyright © 2009–2020 OrientDB. All rights reserved.