Class SimpleUpdateField
java.lang.Object
org.springframework.data.solr.core.query.SimpleField
org.springframework.data.solr.core.query.SimpleUpdateField
- All Implemented Interfaces:
Field,UpdateField,ValueHoldingField
Implementation of
UpdateField to be used with Update-
Constructor Summary
ConstructorsConstructorDescriptionSimpleUpdateField(String name) SimpleUpdateField(String name, Object value) Creates new instance withDEFAULT_ACTIONSimpleUpdateField(String name, Object value, UpdateAction action) -
Method Summary
Modifier and TypeMethodDescriptionUpdateActionto perform during updategetValue()Get value for fieldvoidMethods inherited from class org.springframework.data.solr.core.query.SimpleField
equals, getName, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.data.solr.core.query.ValueHoldingField
getValue
-
Constructor Details
-
SimpleUpdateField
-
SimpleUpdateField
Creates new instance withDEFAULT_ACTION- Parameters:
name-value-
-
SimpleUpdateField
- Parameters:
name-value-action-
-
-
Method Details
-
getAction
Description copied from interface:UpdateFieldUpdateActionto perform during update- Specified by:
getActionin interfaceUpdateField- Returns:
-
getValue
Description copied from interface:ValueHoldingFieldGet value for field- Specified by:
getValuein interfaceValueHoldingField- Returns:
- can be null.
-
setValue
-