Class ReplaceWithValueOperation
java.lang.Object
org.apache.solr.client.solrj.io.ops.ReplaceWithValueOperation
- All Implemented Interfaces:
Serializable,StreamOperation,Expressible
Implementation of replace(...., withValue="some value") See ReplaceOperation for description.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionReplaceWithValueOperation(String forField, StreamExpression expression, StreamFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionvoidtoExplanation(StreamFactory factory) Returns an explanation about the stream objecttoExpression(StreamFactory factory)
-
Constructor Details
-
ReplaceWithValueOperation
public ReplaceWithValueOperation(String forField, StreamExpression expression, StreamFactory factory) throws IOException - Throws:
IOException
-
-
Method Details
-
operate
- Specified by:
operatein interfaceStreamOperation
-
toExpression
- Specified by:
toExpressionin interfaceExpressible- Throws:
IOException
-
toExplanation
Description copied from interface:ExpressibleReturns an explanation about the stream object- Specified by:
toExplanationin interfaceExpressible- 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
-