public abstract class FieldValueMutatingUpdateProcessor extends FieldMutatingUpdateProcessor
FieldMutatingUpdateProcessorFactoryFieldMutatingUpdateProcessor.FieldNameSelector| Modifier and Type | Field and Description | 
|---|---|
static Object | 
DELETE_VALUE_SINGLETON  | 
SELECT_ALL_FIELDS, SELECT_NO_FIELDSnext| Constructor and Description | 
|---|
FieldValueMutatingUpdateProcessor(FieldMutatingUpdateProcessor.FieldNameSelector selector,
                                 UpdateRequestProcessor next)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected SolrInputField | 
mutate(SolrInputField src)
Method for mutating SolrInputFields associated with fields identified 
 by the FieldNameSelector associated with this processor 
 | 
protected abstract Object | 
mutateValue(Object src)
Mutates individual values of a field as needed, or returns the original 
 value. 
 | 
static FieldValueMutatingUpdateProcessor | 
valueMutator(FieldMutatingUpdateProcessor.FieldNameSelector selector,
            UpdateRequestProcessor next,
            Function<Object,Object> fun)  | 
createFieldNameSelector, createFieldNameSelector, mutator, processAdd, wrapclose, doClose, finish, processCommit, processDelete, processMergeIndexes, processRollbackpublic static final Object DELETE_VALUE_SINGLETON
public FieldValueMutatingUpdateProcessor(FieldMutatingUpdateProcessor.FieldNameSelector selector, UpdateRequestProcessor next)
protected abstract Object mutateValue(Object src)
src - a value from a matched field which should be mutatedDELETE_VALUE_SINGLETON to indicate that the value 
         should be removed completely.DELETE_VALUE_SINGLETONprotected final SolrInputField mutate(SolrInputField src)
FieldMutatingUpdateProcessormutate in class FieldMutatingUpdateProcessorsrc - the SolrInputField to mutate, may be modified in place and 
            returnedpublic static FieldValueMutatingUpdateProcessor valueMutator(FieldMutatingUpdateProcessor.FieldNameSelector selector, UpdateRequestProcessor next, Function<Object,Object> fun)
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.