org.springframework.data.solr.core.query
Class AbstractFunction
java.lang.Object
org.springframework.data.solr.core.query.AbstractFunction
- All Implemented Interfaces:
- Function
- Direct Known Subclasses:
- CurrencyFunction, DefaultValueFunction, DistanceFunction, DivideFunction, ExistsFunction, GeoDistanceFunction, GeoHashFunction, IfFunction, MaxFunction, NotFunction, ProductFunction, QueryFunction, TermFrequencyFunction
public abstract class AbstractFunction
- extends Object
- implements Function
- Since:
- 1.1
- Author:
- Christoph Strobl
AbstractFunction
protected AbstractFunction()
AbstractFunction
protected AbstractFunction(List<?> arguments)
addArgument
protected void addArgument(Object argument)
getArguments
public List<?> getArguments()
- Specified by:
getArguments in interface Function
- Returns:
hasArguments
public boolean hasArguments()
- Specified by:
hasArguments in interface Function
- Returns:
- true if
Function.getArguments() is not empty
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2011-2014-2014 Pivotal. All Rights Reserved.