public class IfFunction extends AbstractFunction
if(value|field|function,trueValue,falseValue)| Modifier and Type | Class and Description |
|---|---|
static class |
IfFunction.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
getOperation()
solr readable representation of function
|
static IfFunction.Builder |
when(Field field) |
static IfFunction.Builder |
when(Function function) |
static IfFunction.Builder |
when(Object condition)
Creates new
IfFunction.Builder for creating IfFunction |
static IfFunction.Builder |
when(String fieldname) |
addArgument, getArguments, hasArguments, toStringpublic static IfFunction.Builder when(Object condition)
IfFunction.Builder for creating IfFunctioncondition - public static IfFunction.Builder when(Field field)
public static IfFunction.Builder when(String fieldname)
public static IfFunction.Builder when(Function function)
Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.