Class QueryBuilderTools.SearchOp

java.lang.Object
com.appiancorp.common.query.QueryBuilderTools.SearchOp
Direct Known Subclasses:
GenericQuery.GenericBuilder.SearchOp, TypedValueQuery.TypedValueBuilder.SearchOp
Enclosing interface:
QueryBuilderTools

public static class QueryBuilderTools.SearchOp extends Object

This class is available as a preview of functionality that will be added to the supported public API in a future release. While it is in the preview phase, it is subject to change or removal without deprecation or notice. Although notice of change is not guaranteed, we will try to let developers know of major changes through announcements in release notes. Allows specifying a search query.

  • Constructor Details

    • SearchOp

      public SearchOp()
  • Method Details

    • searchQuery

      public static Search searchQuery(String searchQuery)
      Apply a "search" constraint to the Query
      Parameters:
      searchQuery - a search query
      Returns:
      a Search constraint
    • searchQuery

      public static Search searchQuery(String searchQuery, String field)