Class QueryOperation<T>

    • Constructor Detail

      • QueryOperation

        protected QueryOperation​(java.lang.String operator)
        Create an operation, using only an operator.

        This means this operation needs to have a value to operate on.

        Parameters:
        operator - a string representing the url parameter operation (aka. [eq])
      • QueryOperation

        protected QueryOperation​(java.lang.String operator,
                                 T defaultValue)
        Create an operation which does take its default value, if no value is given.
        Parameters:
        operator - the operator to be used.
        defaultValue - the default value of the operation.
    • Method Detail

      • hasDefaultValue

        protected boolean hasDefaultValue()
        Check presence of a default value
        Returns:
        true if this operation can be used without a parameter.