org.springframework.data.solr.core.query
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
public class SimpleUpdateField
- extends SimpleField
- implements UpdateField
Implementation of UpdateField to be used with Update
- Author:
- Christoph Strobl
| Methods inherited from interface org.springframework.data.solr.core.query.Field |
getName |
SimpleUpdateField
public SimpleUpdateField(String name)
SimpleUpdateField
public SimpleUpdateField(String name,
Object value)
- Creates new instance with
DEFAULT_ACTION
- Parameters:
name - value -
SimpleUpdateField
public SimpleUpdateField(String name,
Object value,
UpdateAction action)
- Parameters:
name - value - action -
getAction
public UpdateAction getAction()
- Description copied from interface:
UpdateField
UpdateAction to perform during update
- Specified by:
getAction in interface UpdateField
- Returns:
getValue
public Object getValue()
- Description copied from interface:
ValueHoldingField
- Get value for field
- Specified by:
getValue in interface ValueHoldingField
- Returns:
setValue
public void setValue(Object value)
Copyright © 2011-2014-2014 Pivotal. All Rights Reserved.