K
- the key type.V
- the value type.public static interface OBaseIndexEngine.Validator<K,V>
Modifier and Type | Field and Description |
---|---|
static Object |
IGNORE
Indicates that a put request should be silently ignored by the store.
|
Modifier and Type | Method and Description |
---|---|
Object |
validate(K key,
V oldValue,
V newValue)
Validates the put operation for the given key, the old value and the new value.
|
static final Object IGNORE
validate(Object, Object, Object)
Object validate(K key, V oldValue, V newValue)
key
- the put operation key.oldValue
- the old value or null
if no value is currently stored.newValue
- the new value passed to validatedPut(Object, OIdentifiable, Validator).IGNORE
value to silently ignore the put operation request being processed.Copyright © 2009–2020 OrientDB. All rights reserved.