org.apache.geode.cache.query

## Interface CqAttributes

-     public interface CqAttributes

  This interface holds all attribute values for a CQ and provides methods for retrieving all attribute settings. This interface can be modified only by the CqAttributesFactory class (before CQ creation) and the CqAttributesMutator interface (after CQ creation). For compatibility rules and default values, see `CqAttributesFactory`.
  Since:
    GemFire 5.5

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `CqListener` | `getCqListener()` Get the CqListener set with the CQ.
    `CqListener[]` | `getCqListeners()` Get the CqListeners set with the CQ.

- - ### Method Detail

    - #### getCqListeners

          CqListener[] getCqListeners()

      Get the CqListeners set with the CQ. Returns all the Listener associated with this CQ.
      Returns:
        CQListener[] array of CqListner
      See Also:
        `CqListener`

    - #### getCqListener

          CqListener getCqListener()

      Get the CqListener set with the CQ. Returns the CqListener associated with the CQ. If there are more than one CqListener throws IllegalStateException.
      Returns:
        CqListener Object, returns null if there is no CqListener.
      See Also:
        `CqListener`