org.jbpm.services.api.query.model

## Class QueryParam

- java.lang.Object
- - org.jbpm.services.api.query.model.QueryParam

- All Implemented Interfaces:
    Serializable

      public class QueryParam
      extends Object
      implements Serializable

  Basic data carrier to provide filtering capabilities on top of query definition.
  See Also:
    Serialized Form

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `QueryParam.Builder`

  - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `CENTURY`
    `static String` | `DAY`
    `static String` | `DAY_OF_WEEK`
    `static String` | `DECADE`
    `static String` | `HOUR`
    `static String` | `HUNDRETH`
    `static String` | `MILLENIUM`
    `static String` | `MILLISECOND`
    `static String` | `MINUTE`
    `static String` | `MONTH`
    `static String` | `QUARTER`
    `static String` | `SECOND`
    `static String` | `TENTH`
    `static String` | `WEEK`
    `static String` | `YEAR`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `QueryParam(String column, String operator, List<?> value)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static QueryParam` | `average(String column)`
    `static QueryParam` | `between(String column, Comparable<?> start, Comparable<?> end)`
    `static QueryParam` | `count(String column)`
    `static QueryParam` | `distinct(String column)`
    `static QueryParam` | `equalsTo(String column, Comparable<?>... values)`
    `static QueryParam.Builder` | `getBuilder()`
    `String` | `getColumn()`
    `String` | `getOperator()`
    `List<?>` | `getValue()`
    `static QueryParam` | `greaterOrEqualTo(String column, Comparable<?> value)`
    `static QueryParam` | `greaterThan(String column, Comparable<?> value)`
    `static QueryParam[]` | `groupBy(String column)`
    `static QueryParam[]` | `groupBy(String column, String intervalSize, int maxInterval)`
    `static QueryParam` | `in(String column, List<?> values)`
    `static QueryParam` | `isNotNull(String column)`
    `static QueryParam` | `isNull(String column)`
    `static QueryParam` | `likeTo(String column, boolean caseSensitive, Comparable<?> value)`
    `static QueryParam` | `lowerOrEqualTo(String column, Comparable<?> value)`
    `static QueryParam` | `lowerThan(String column, Comparable<?> value)`
    `static QueryParam` | `max(String column)`
    `static QueryParam` | `min(String column)`
    `static QueryParam` | `notEqualsTo(String column, Comparable<?>... values)`
    `static QueryParam` | `notIn(String column, List<?> values)`
    `void` | `setColumn(String column)`
    `void` | `setOperator(String operator)`
    `void` | `setValue(List<?> value)`
    `static QueryParam` | `sum(String column)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### MILLISECOND

          public static final String MILLISECOND

      See Also:
        Constant Field Values

    - #### HUNDRETH

          public static final String HUNDRETH

      See Also:
        Constant Field Values

    - #### TENTH

          public static final String TENTH

      See Also:
        Constant Field Values

    - #### SECOND

          public static final String SECOND

      See Also:
        Constant Field Values

    - #### MINUTE

          public static final String MINUTE

      See Also:
        Constant Field Values

    - #### HOUR

          public static final String HOUR

      See Also:
        Constant Field Values

    - #### DAY

          public static final String DAY

      See Also:
        Constant Field Values

    - #### DAY_OF_WEEK

          public static final String DAY_OF_WEEK

      See Also:
        Constant Field Values

    - #### WEEK

          public static final String WEEK

      See Also:
        Constant Field Values

    - #### MONTH

          public static final String MONTH

      See Also:
        Constant Field Values

    - #### QUARTER

          public static final String QUARTER

      See Also:
        Constant Field Values

    - #### YEAR

          public static final String YEAR

      See Also:
        Constant Field Values

    - #### DECADE

          public static final String DECADE

      See Also:
        Constant Field Values

    - #### CENTURY

          public static final String CENTURY

      See Also:
        Constant Field Values

    - #### MILLENIUM

          public static final String MILLENIUM

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### QueryParam

          public QueryParam(String column,
                            String operator,
                            List<?> value)

  - ### Method Detail

    - #### isNull

          public static QueryParam isNull(String column)

    - #### isNotNull

          public static QueryParam isNotNull(String column)

    - #### equalsTo

          public static QueryParam equalsTo(String column,
                                            Comparable<?>... values)

    - #### notEqualsTo

          public static QueryParam notEqualsTo(String column,
                                               Comparable<?>... values)

    - #### likeTo

          public static QueryParam likeTo(String column,
                                          boolean caseSensitive,
                                          Comparable<?> value)

    - #### greaterThan

          public static QueryParam greaterThan(String column,
                                               Comparable<?> value)

    - #### greaterOrEqualTo

          public static QueryParam greaterOrEqualTo(String column,
                                                    Comparable<?> value)

    - #### lowerThan

          public static QueryParam lowerThan(String column,
                                             Comparable<?> value)

    - #### lowerOrEqualTo

          public static QueryParam lowerOrEqualTo(String column,
                                                  Comparable<?> value)

    - #### between

          public static QueryParam between(String column,
                                           Comparable<?> start,
                                           Comparable<?> end)

    - #### in

          public static QueryParam in(String column,
                                      List<?> values)

    - #### notIn

          public static QueryParam notIn(String column,
                                         List<?> values)

    - #### count

          public static QueryParam count(String column)

    - #### distinct

          public static QueryParam distinct(String column)

    - #### average

          public static QueryParam average(String column)

    - #### sum

          public static QueryParam sum(String column)

    - #### min

          public static QueryParam min(String column)

    - #### max

          public static QueryParam max(String column)

    - #### groupBy

          public static QueryParam[] groupBy(String column)

    - #### groupBy

          public static QueryParam[] groupBy(String column,
                                             String intervalSize,
                                             int maxInterval)

    - #### getColumn

          public String getColumn()

    - #### setColumn

          public void setColumn(String column)

    - #### getOperator

          public String getOperator()

    - #### setOperator

          public void setOperator(String operator)

    - #### getValue

          public List<?> getValue()

    - #### setValue

          public void setValue(List<?> value)

    - #### getBuilder

          public static QueryParam.Builder getBuilder()

Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.