Interface ElasticsearchSearchPredicateFactory

    • Method Detail

      • fromJson

        PredicateFinalStep fromJson​(String jsonString)
        Create a predicate from JSON.
        Parameters:
        jsonString - A JSON-formatted string representing an Elasticsearch query. The JSON object must be a syntactically correct Elasticsearch query. See the Elasticsearch documentation.
        Returns:
        The final step of the predicate DSL.
      • fromJson

        PredicateFinalStep fromJson​(com.google.gson.JsonObject jsonObject)
        Create a predicate from JSON.
        Parameters:
        jsonObject - A JsonObject representing an Elasticsearch query. The JSON object must be a syntactically correct Elasticsearch query. See the Elasticsearch documentation.
        Returns:
        The final step of the predicate DSL.