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>
  • Constructor Details

  • 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: IndexEngineValidator
      Validates 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:
      validate in interface IndexEngineValidator<com.orientechnologies.orient.core.storage.index.sbtree.multivalue.v2.MultiValueEntry,Byte>
      Parameters:
      k - the put operation key.
      ov - the old value or null if 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.IGNORE value to silently ignore the put operation request being processed.