com.ansys.ingress.client.api.search

## Class QueryOperation

- java.lang.Object
- - com.ansys.ingress.client.api.search.QueryOperation

-     public class QueryOperation
      extends java.lang.Object

  QueryOperation is the data used to query for objects on the EKM server.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `QueryOperation()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addRow(QueryRow row)` Adds a row to this operation.
    `void` | `addSubExpression(QueryOperation subExpression)` Adds a subexpression to this operation.
    `boolean` | `allowsChildBasedSearch()`
    `boolean` | `allowsSubExpressionSearch()`
    `QueryMatch` | `getMatch()`
    `java.util.List<QueryRow>` | `getRows()`
    `java.util.List<QueryOperation>` | `getSubExpressions()`
    `void` | `setAllowChildBasedSearch(boolean allowChildBasedSearch)`
    `void` | `setAllowSubExpressionSearch(boolean allowSubExpressionSearch)`
    `void` | `setMatch(QueryMatch match)`
    `void` | `setRows(java.util.List<QueryRow> rows)`
    `void` | `setSubExpressions(java.util.List<QueryOperation> subExpressions)`

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

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

- - ### Constructor Detail

    - #### QueryOperation

          public QueryOperation()

  - ### Method Detail

    - #### addRow

          public void addRow(QueryRow row)

      Adds a row to this operation.
      Parameters:
        `row` - the row to add

    - #### addSubExpression

          public void addSubExpression(QueryOperation subExpression)

      Adds a subexpression to this operation.
      Parameters:
        `subExpression` - the expression to add.

    - #### allowsChildBasedSearch

          public boolean allowsChildBasedSearch()

      Returns:
        Returns true if this query allows child-based searches.

    - #### allowsSubExpressionSearch

          public boolean allowsSubExpressionSearch()

      Returns:
        Returns true if this query allows subexpressions.

    - #### getMatch

          public QueryMatch getMatch()

      Returns:
        the match

    - #### getRows

          public java.util.List<QueryRow> getRows()

      Returns:
        the rows

    - #### getSubExpressions

          public java.util.List<QueryOperation> getSubExpressions()

      Returns:
        the subExpression

    - #### setAllowChildBasedSearch

          public void setAllowChildBasedSearch(boolean allowChildBasedSearch)

      Parameters:
        `allowChildBasedSearch` - the allowChildBasedSearch to set

    - #### setAllowSubExpressionSearch

          public void setAllowSubExpressionSearch(boolean allowSubExpressionSearch)

      Parameters:
        `allowSubExpressionSearch` - the allowSubExpressionSearch to set

    - #### setMatch

          public void setMatch(QueryMatch match)

      Parameters:
        `match` - the match to set

    - #### setRows

          public void setRows(java.util.List<QueryRow> rows)

      Parameters:
        `rows` - the rows to set

    - #### setSubExpressions

          public void setSubExpressions(java.util.List<QueryOperation> subExpressions)

      Parameters:
        `subExpressions` - the subExpression to set