|
Spring Data Solr | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.data.solr.core.query.AbstractFunction
org.springframework.data.solr.core.query.DefaultValueFunction
public class DefaultValueFunction
Implementation of def(field|function,defaultValue)
| Method Summary | |
|---|---|
static DefaultValueFunction |
defaultValue(Field field,
Object defaultValue)
Creates new DefaultValueFunction representing def(field.getName(), defaultValue)) |
static DefaultValueFunction |
defaultValue(Function function,
Object defaultValue)
Creates new DefaultValueFunction representing def(function, defaultValue)) |
static DefaultValueFunction |
defaultValue(String fieldName,
Object defaultValue)
Creates new DefaultValueFunction representing def(fieldname, defaultValue)) |
String |
getOperation()
solr readable representation of function |
| Methods inherited from class org.springframework.data.solr.core.query.AbstractFunction |
|---|
addArgument, getArguments, hasArguments, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static DefaultValueFunction defaultValue(String fieldName,
Object defaultValue)
DefaultValueFunction representing def(fieldname, defaultValue))
fieldName - must not be emptydefaultValue - must not be null
public static DefaultValueFunction defaultValue(Field field,
Object defaultValue)
DefaultValueFunction representing def(field.getName(), defaultValue))
field - must not be nulldefaultValue - must not be null
public static DefaultValueFunction defaultValue(Function function,
Object defaultValue)
DefaultValueFunction representing def(function, defaultValue))
function - must not be nulldefaultValue - must not be null
public String getOperation()
Function
|
Spring Data Solr | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||