Spring Data Solr

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

java.lang.Object
  extended by org.springframework.data.solr.core.query.AbstractFunction
      extended by org.springframework.data.solr.core.query.ProductFunction
All Implemented Interfaces:
Function

public class ProductFunction
extends AbstractFunction

Implementation of product(x,y,...)

Since:
1.1
Author:
Christoph Strobl

Nested Class Summary
static class ProductFunction.Builder
           
 
Method Summary
 String getOperation()
          solr readable representation of function
static ProductFunction.Builder product(Field field)
           
static ProductFunction.Builder product(Function function)
           
static ProductFunction.Builder product(Number value)
           
static ProductFunction.Builder product(String fieldname)
           
 
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

product

public static ProductFunction.Builder product(Number value)
Parameters:
value -
Returns:

product

public static ProductFunction.Builder product(Field field)
Parameters:
field -
Returns:

product

public static ProductFunction.Builder product(String fieldname)
Parameters:
fieldname -
Returns:

product

public static ProductFunction.Builder product(Function function)
Parameters:
function -
Returns:

getOperation

public String getOperation()
Description copied from interface: Function
solr readable representation of function

Returns:

Spring Data Solr

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