public class TupleOperationAdd extends Object
Modifier and Type | Field and Description |
---|---|
protected Integer |
fieldIndex |
protected String |
fieldName |
protected boolean |
isProxyOperation |
protected TarantoolUpdateOperationType |
operationType |
protected Object |
value |
Constructor and Description |
---|
TupleOperationAdd(int fieldIndex,
Number value) |
TupleOperationAdd(String fieldName,
Number value) |
Modifier and Type | Method and Description |
---|---|
TupleOperation |
cloneWithIndex(int fieldMetadataIndex) |
boolean |
equals(Object o) |
Integer |
getFieldIndex() |
String |
getFieldName() |
protected Integer |
getFieldNumber()
Convert field index to field number
|
TarantoolUpdateOperationType |
getOperationType() |
Object |
getValue() |
int |
hashCode() |
Boolean |
isProxyOperation() |
org.msgpack.value.Value |
toMessagePackValue(MessagePackObjectMapper mapper)
Convert this instance into a corresponding MessagePack
Value |
TupleOperation |
toProxyTupleOperation() |
protected final boolean isProxyOperation
protected final TarantoolUpdateOperationType operationType
protected final Integer fieldIndex
protected final String fieldName
protected final Object value
public TupleOperationAdd(int fieldIndex, Number value)
public TupleOperation toProxyTupleOperation()
public TupleOperation cloneWithIndex(int fieldMetadataIndex)
public org.msgpack.value.Value toMessagePackValue(MessagePackObjectMapper mapper)
Packable
Value
toMessagePackValue
in interface Packable
mapper
- configured Java objects to entities mapperpublic TarantoolUpdateOperationType getOperationType()
getOperationType
in interface TupleOperation
public Integer getFieldIndex()
getFieldIndex
in interface TupleOperation
public String getFieldName()
getFieldName
in interface TupleOperation
public Object getValue()
getValue
in interface TupleOperation
public Boolean isProxyOperation()
isProxyOperation
in interface TupleOperation
protected Integer getFieldNumber()
Copyright © 2025 Picodata. All rights reserved.