Class IfFunction
java.lang.Object
org.springframework.data.solr.core.query.AbstractFunction
org.springframework.data.solr.core.query.IfFunction
- All Implemented Interfaces:
Function
Implementation of
if(value|field|function,trueValue,falseValue)- Since:
- 1.1
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.springframework.data.solr.core.query.Function
Function.Context -
Method Summary
Modifier and TypeMethodDescriptionsolr readable representation of functionstatic IfFunction.BuilderCreates newIfFunction.Builderfor creatingIfFunctionstatic IfFunction.Builderstatic IfFunction.Builderstatic IfFunction.BuilderMethods inherited from class org.springframework.data.solr.core.query.AbstractFunction
addArgument, getArguments, hasArguments, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.data.solr.core.query.Function
getArgumentMap, toSolrFunction
-
Method Details
-
when
Creates newIfFunction.Builderfor creatingIfFunction- Parameters:
condition-- Returns:
-
when
-
when
-
when
-
getOperation
Description copied from interface:Functionsolr readable representation of function- Returns:
-