Class ReplaceWithValueOperation
- java.lang.Object
- 
- org.apache.solr.client.solrj.io.ops.ReplaceWithValueOperation
 
- 
- All Implemented Interfaces:
- Serializable,- StreamOperation,- Expressible
 
 public class ReplaceWithValueOperation extends Object implements StreamOperation Implementation of replace(...., withValue="some value") See ReplaceOperation for description.- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description ReplaceWithValueOperation(String forField, StreamExpression expression, StreamFactory factory)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidoperate(Tuple tuple)ExplanationtoExplanation(StreamFactory factory)Returns an explanation about the stream objectStreamExpressionParametertoExpression(StreamFactory factory)
 
- 
- 
- 
Constructor Detail- 
ReplaceWithValueOperationpublic ReplaceWithValueOperation(String forField, StreamExpression expression, StreamFactory factory) throws IOException - Throws:
- IOException
 
 
- 
 - 
Method Detail- 
operatepublic void operate(Tuple tuple) - Specified by:
- operatein interface- StreamOperation
 
 - 
toExpressionpublic StreamExpressionParameter toExpression(StreamFactory factory) throws IOException - Specified by:
- toExpressionin interface- Expressible
- Throws:
- IOException
 
 - 
toExplanationpublic Explanation toExplanation(StreamFactory factory) throws IOException Description copied from interface:ExpressibleReturns an explanation about the stream object- Specified by:
- toExplanationin interface- Expressible
- Parameters:
- factory- Stream factory for this, contains information about the function name
- Returns:
- Explanation about this stream object containing explanations of any child stream objects
- Throws:
- IOException- throw on any error
 
 
- 
 
-