Class ExistsFunction

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

public class ExistsFunction extends AbstractFunction
Implementation of exists(field|function)
Since:
1.1
  • Method Details

    • exists

      public static ExistsFunction exists(Field field)
      Creates new ExistsFunction representing exists(field)
      Parameters:
      field -
      Returns:
    • exists

      public static ExistsFunction exists(String fieldName)
      Creates new ExistsFunction representing exists(fieldname)
      Parameters:
      fieldName -
      Returns:
    • exists

      public static ExistsFunction exists(Function function)
      Creates new ExistsFunction representing exists(function())
      Parameters:
      function -
      Returns:
    • getOperation

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