Class QueryHelper


  • public final class QueryHelper
    extends Object
    Class providing helper methods to Query implementations.
    • Method Detail

      • getStandardQuery

        public static final String getStandardQuery​(String fieldName,
                                                    Query.Operator operator,
                                                    Object value)
        Get a standard query on a value, with all possible standard operators.
        Parameters:
        fieldName - The field name.
        operator - The operator.
        value - The value, can be null if the operator is EXISTS.
        Returns:
        The standard value query.