## Uses of Class
io.vertx.ext.consul.PreparedQueryDefinition

- Packages that use PreparedQueryDefinition
  Package | Description
  --- | ---
  io.vertx.ext.consul |
  io.vertx.reactivex.ext.consul |
  io.vertx.rxjava3.ext.consul |

- - ### Uses of PreparedQueryDefinition in io.vertx.ext.consul

    Methods in io.vertx.ext.consul that return PreparedQueryDefinition
    Modifier and Type | Method | Description
    --- | --- | ---
    `PreparedQueryDefinition` | PreparedQueryDefinition.`setDcs​(List<String> dcs)` | Specifies a fixed list of remote datacenters to forward the query to if there are no healthy nodes in the local datacenter.
    `PreparedQueryDefinition` | PreparedQueryDefinition.`setDnsTtl​(String dnsTtl)` | Set the TTL duration when query results are served over DNS.
    `PreparedQueryDefinition` | PreparedQueryDefinition.`setId​(String id)` | Set ID of the query, always generated by Consul
    `PreparedQueryDefinition` | PreparedQueryDefinition.`setMeta​(Map<String,​String> meta)` | Set a list of user-defined key/value pairs that will be used for filtering the query results to nodes with the given metadata values present.
    `PreparedQueryDefinition` | PreparedQueryDefinition.`setName​(String name)` | Set an optional friendly name that can be used to execute a query instead of using its ID
    `PreparedQueryDefinition` | PreparedQueryDefinition.`setNearestN​(int nearestN)` | Specifies that the query will be forwarded to up to NearestN other datacenters based on their estimated network round trip time using Network Coordinates from the WAN gossip pool.
    `PreparedQueryDefinition` | PreparedQueryDefinition.`setPassing​(boolean passing)` | Specifies the behavior of the query's health check filtering.
    `PreparedQueryDefinition` | PreparedQueryDefinition.`setService​(String service)` | Set the name of the service to query
    `PreparedQueryDefinition` | PreparedQueryDefinition.`setSession​(String session)` | Set the ID of an existing session.
    `PreparedQueryDefinition` | PreparedQueryDefinition.`setTags​(List<String> tags)` | Set a list of service tags to filter the query results.
    `PreparedQueryDefinition` | PreparedQueryDefinition.`setTemplateRegexp​(String templateRegexp)` | Set regular expression which is used to extract fields from the entire name, once this template is selected.
    `PreparedQueryDefinition` | PreparedQueryDefinition.`setTemplateType​(String templateType)` | The template type, which must be `name_prefix_match`.
    `PreparedQueryDefinition` | PreparedQueryDefinition.`setToken​(String token)` | Set the ACL token to use each time the query is executed.

    Methods in io.vertx.ext.consul that return types with arguments of type PreparedQueryDefinition
    Modifier and Type | Method | Description
    --- | --- | ---
    `Future<List<PreparedQueryDefinition>>` | ConsulClient.`getAllPreparedQueries()` | Returns a list of all prepared queries.
    `Future<PreparedQueryDefinition>` | ConsulClient.`getPreparedQuery​(String id)` | Returns an existing prepared query

    Methods in io.vertx.ext.consul with parameters of type PreparedQueryDefinition
    Modifier and Type | Method | Description
    --- | --- | ---
    `Future<String>` | ConsulClient.`createPreparedQuery​(PreparedQueryDefinition definition)` |
    `Future<Void>` | ConsulClient.`updatePreparedQuery​(PreparedQueryDefinition definition)` |

  - ### Uses of PreparedQueryDefinition in io.vertx.reactivex.ext.consul

    Methods in io.vertx.reactivex.ext.consul that return types with arguments of type PreparedQueryDefinition
    Modifier and Type | Method | Description
    --- | --- | ---
    `Future<List<PreparedQueryDefinition>>` | ConsulClient.`getAllPreparedQueries()` | Returns a list of all prepared queries.
    `Future<PreparedQueryDefinition>` | ConsulClient.`getPreparedQuery​(String id)` | Returns an existing prepared query
    `Single<List<PreparedQueryDefinition>>` | ConsulClient.`rxGetAllPreparedQueries()` | Returns a list of all prepared queries.
    `Single<PreparedQueryDefinition>` | ConsulClient.`rxGetPreparedQuery​(String id)` | Returns an existing prepared query

    Methods in io.vertx.reactivex.ext.consul with parameters of type PreparedQueryDefinition
    Modifier and Type | Method | Description
    --- | --- | ---
    `Future<String>` | ConsulClient.`createPreparedQuery​(PreparedQueryDefinition definition)` |
    `Single<String>` | ConsulClient.`rxCreatePreparedQuery​(PreparedQueryDefinition definition)` |
    `Completable` | ConsulClient.`rxUpdatePreparedQuery​(PreparedQueryDefinition definition)` |
    `Future<Void>` | ConsulClient.`updatePreparedQuery​(PreparedQueryDefinition definition)` |

  - ### Uses of PreparedQueryDefinition in io.vertx.rxjava3.ext.consul

    Methods in io.vertx.rxjava3.ext.consul that return types with arguments of type PreparedQueryDefinition
    Modifier and Type | Method | Description
    --- | --- | ---
    `Single<List<PreparedQueryDefinition>>` | ConsulClient.`getAllPreparedQueries()` | Returns a list of all prepared queries.
    `Single<PreparedQueryDefinition>` | ConsulClient.`getPreparedQuery​(String id)` | Returns an existing prepared query
    `Single<List<PreparedQueryDefinition>>` | ConsulClient.`rxGetAllPreparedQueries()` | Returns a list of all prepared queries.
    `Single<PreparedQueryDefinition>` | ConsulClient.`rxGetPreparedQuery​(String id)` | Returns an existing prepared query

    Methods in io.vertx.rxjava3.ext.consul with parameters of type PreparedQueryDefinition
    Modifier and Type | Method | Description
    --- | --- | ---
    `Single<String>` | ConsulClient.`createPreparedQuery​(PreparedQueryDefinition definition)` |
    `Single<String>` | ConsulClient.`rxCreatePreparedQuery​(PreparedQueryDefinition definition)` |
    `Completable` | ConsulClient.`rxUpdatePreparedQuery​(PreparedQueryDefinition definition)` |
    `Completable` | ConsulClient.`updatePreparedQuery​(PreparedQueryDefinition definition)` |