Class FieldQuery

java.lang.Object
org.apache.maven.search.api.request.Query
org.apache.maven.search.api.request.FieldQuery

public class FieldQuery extends Query
Field query.
  • Constructor Details

    • FieldQuery

      protected FieldQuery(Field field, String queryString)
  • Method Details

    • getField

      public Field getField()
      Returns the field, never null.
    • toString

      public String toString()
      Overrides:
      toString in class Query
    • fieldQuery

      public static FieldQuery fieldQuery(Field fieldName, String query)
      Creates a field query using given Field and query string.