protected abstract static class AbstractDefaultValueUpdateProcessorFactory.DefaultValueUpdateProcessor extends UpdateRequestProcessor
getDefaultValue()
to any document which does not already have a value in
fieldName
next
Constructor and Description |
---|
AbstractDefaultValueUpdateProcessorFactory.DefaultValueUpdateProcessor(String fieldName,
UpdateRequestProcessor next) |
Modifier and Type | Method and Description |
---|---|
abstract Object |
getDefaultValue() |
void |
processAdd(AddUpdateCommand cmd) |
finish, processCommit, processDelete, processMergeIndexes, processRollback
public AbstractDefaultValueUpdateProcessorFactory.DefaultValueUpdateProcessor(String fieldName, UpdateRequestProcessor next)
public void processAdd(AddUpdateCommand cmd) throws IOException
processAdd
in class UpdateRequestProcessor
IOException
public abstract Object getDefaultValue()
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.