Class IndexEngineValidatorIncrement<K>
java.lang.Object
com.orientechnologies.orient.core.storage.index.sbtree.multivalue.v2.IndexEngineValidatorIncrement<K>
- All Implemented Interfaces:
IndexEngineValidator<MultiValueEntry,Byte>
public class IndexEngineValidatorIncrement<K>
extends Object
implements IndexEngineValidator<MultiValueEntry,Byte>
-
Field Summary
Fields inherited from interface com.orientechnologies.orient.core.index.engine.IndexEngineValidator
IGNORE -
Constructor Summary
ConstructorsConstructorDescriptionIndexEngineValidatorIncrement(CellBTreeMultiValueV2Bucket<K> bucketMultiValue, int index) -
Method Summary
Modifier and TypeMethodDescriptionvalidate(MultiValueEntry k, Byte ov, Byte v) Validates the put operation for the given key, the old value and the new value.
-
Constructor Details
-
IndexEngineValidatorIncrement
-
-
Method Details
-
validate
Description copied from interface:IndexEngineValidatorValidates the put operation for the given key, the old value and the new value. May throw an exception to abort the current put operation with an error.- Specified by:
validatein interfaceIndexEngineValidator<MultiValueEntry,Byte> - Parameters:
k- the put operation key.ov- the old value ornullif no value is currently stored.v- the new value passed to validatedPut(Object, OIdentifiable, Validator).- Returns:
- the new value to store, may differ from the passed one, or the special
IndexEngineValidator.IGNOREvalue to silently ignore the put operation request being processed.
-