Spring Data Solr

org.springframework.data.solr.core.query
Class AbstractFunction

java.lang.Object
  extended by 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

Constructor Summary
protected AbstractFunction()
           
protected AbstractFunction(List<?> arguments)
           
 
Method Summary
protected  void addArgument(Object argument)
           
 List<?> getArguments()
           
 boolean hasArguments()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.springframework.data.solr.core.query.Function
getOperation
 

Constructor Detail

AbstractFunction

protected AbstractFunction()

AbstractFunction

protected AbstractFunction(List<?> arguments)
Method Detail

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

Spring Data Solr

Copyright © 2011-2014-2014 Pivotal. All Rights Reserved.