Class TupleOperationBitwiseAnd
- java.lang.Object
-
- io.tarantool.driver.api.tuple.operations.TupleOperationBitwiseAnd
-
- All Implemented Interfaces:
TupleOperation,Packable,Serializable
public class TupleOperationBitwiseAnd extends Object
Represents bitwise AND operation on tuple field- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected IntegerfieldIndexprotected StringfieldNameprotected booleanisProxyOperationprotected TarantoolUpdateOperationTypeoperationTypeprotected Objectvalue
-
Constructor Summary
Constructors Constructor Description TupleOperationBitwiseAnd(int fieldIndex, long value)TupleOperationBitwiseAnd(String fieldName, long value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TupleOperationcloneWithIndex(int fieldMetadataIndex)booleanequals(Object o)IntegergetFieldIndex()StringgetFieldName()protected IntegergetFieldNumber()Convert field index to field numberTarantoolUpdateOperationTypegetOperationType()ObjectgetValue()inthashCode()BooleanisProxyOperation()org.msgpack.value.ValuetoMessagePackValue(MessagePackObjectMapper mapper)Convert this instance into a corresponding MessagePackValueTupleOperationtoProxyTupleOperation()
-
-
-
Field Detail
-
isProxyOperation
protected final boolean isProxyOperation
-
operationType
protected final TarantoolUpdateOperationType operationType
-
fieldIndex
protected final Integer fieldIndex
-
fieldName
protected final String fieldName
-
value
protected final Object value
-
-
Constructor Detail
-
TupleOperationBitwiseAnd
public TupleOperationBitwiseAnd(int fieldIndex, long value)
-
TupleOperationBitwiseAnd
public TupleOperationBitwiseAnd(String fieldName, long value)
-
-
Method Detail
-
toProxyTupleOperation
public TupleOperation toProxyTupleOperation()
-
cloneWithIndex
public TupleOperation cloneWithIndex(int fieldMetadataIndex)
-
toMessagePackValue
public org.msgpack.value.Value toMessagePackValue(MessagePackObjectMapper mapper)
Description copied from interface:PackableConvert this instance into a corresponding MessagePackValue- Specified by:
toMessagePackValuein interfacePackable- Parameters:
mapper- configured Java objects to entities mapper- Returns:
- MessagePack entity
-
getOperationType
public TarantoolUpdateOperationType getOperationType()
- Specified by:
getOperationTypein interfaceTupleOperation
-
getFieldIndex
public Integer getFieldIndex()
- Specified by:
getFieldIndexin interfaceTupleOperation
-
getFieldName
public String getFieldName()
- Specified by:
getFieldNamein interfaceTupleOperation
-
getValue
public Object getValue()
- Specified by:
getValuein interfaceTupleOperation
-
isProxyOperation
public Boolean isProxyOperation()
- Specified by:
isProxyOperationin interfaceTupleOperation
-
getFieldNumber
protected Integer getFieldNumber()
Convert field index to field number- Returns:
- field number started from 1
-
-