Class IndexEngineValidatorIncrement<K>
java.lang.Object
com.orientechnologies.orient.core.storage.index.sbtree.multivalue.v2.IndexEngineValidatorIncrement<K>
- All Implemented Interfaces:
IndexEngineValidator<com.orientechnologies.orient.core.storage.index.sbtree.multivalue.v2.MultiValueEntry,Byte>
public class IndexEngineValidatorIncrement<K>
extends Object
implements IndexEngineValidator<com.orientechnologies.orient.core.storage.index.sbtree.multivalue.v2.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
-
Constructor Details
-
IndexEngineValidatorIncrement
-
-
Method Details
-
validate
public Object validate(com.orientechnologies.orient.core.storage.index.sbtree.multivalue.v2.MultiValueEntry k, Byte ov, Byte v) 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<com.orientechnologies.orient.core.storage.index.sbtree.multivalue.v2.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.
-