Class RichTextQuery

All Implemented Interfaces:
Query

public class RichTextQuery extends AbstractTextQuery
Represents a Query testing a string field.
  • Constructor Details

    • RichTextQuery

      public RichTextQuery(String fieldPath)
      Build a StringQuery testing the existence of the field.
      Parameters:
      fieldPath - the field path
    • RichTextQuery

      public RichTextQuery(String fieldPath, String value)
      Build a string query.
      Parameters:
      fieldPath - the field's path
      value - the value.
    • RichTextQuery

      public RichTextQuery(String fieldPath, String value, String language)
      Build a string query.
      Parameters:
      fieldPath - the field's path
      value - the value.
      language - the query language (can be null).
    • RichTextQuery

      public RichTextQuery(String fieldPath, Query.Operator op, String value, String language)
      Build a string query.
      Parameters:
      fieldPath - the field's path
      op - the operator.
      value - the value.
      language - the query language (can be null).
    • RichTextQuery

      public RichTextQuery(String fieldPath, Query.Operator op, String value, String language, boolean alreadyEscaped)
      Build a string query.
      Parameters:
      fieldPath - the field's path
      op - the operator.
      value - the value.
      language - the query language (can be null).
      alreadyEscaped - true if the value is already escaped and there is no need to escape again the value during the build of the query.
  • Method Details