org.apache.solr.update.processor
Class AbstractDefaultValueUpdateProcessorFactory.DefaultValueUpdateProcessor
java.lang.Object
org.apache.solr.update.processor.UpdateRequestProcessor
org.apache.solr.update.processor.AbstractDefaultValueUpdateProcessorFactory.DefaultValueUpdateProcessor
- Enclosing class:
- AbstractDefaultValueUpdateProcessorFactory
protected abstract static class AbstractDefaultValueUpdateProcessorFactory.DefaultValueUpdateProcessor
- extends UpdateRequestProcessor
A simple processor that adds the results of getDefaultValue()
to any document which does not already have a value in
fieldName
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractDefaultValueUpdateProcessorFactory.DefaultValueUpdateProcessor
public AbstractDefaultValueUpdateProcessorFactory.DefaultValueUpdateProcessor(String fieldName,
UpdateRequestProcessor next)
processAdd
public void processAdd(AddUpdateCommand cmd)
throws IOException
- Overrides:
processAdd
in class UpdateRequestProcessor
- Throws:
IOException
getDefaultValue
public abstract Object getDefaultValue()
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.