@@ -46,15 +46,15 @@ public CompletableFuture<Response> query(
46
46
47
47
<br />
48
48
49
- | Argument | Type | Description |
50
- | -------- | ------------------------ | ----------- |
51
- | ` query ` | < pre > Map<String, Object> | API request |
49
+ | Argument | Type | Description |
50
+ | -------- | --------------------- | ----------- |
51
+ | ` query ` | ` Map<String, Object> ` | API request |
52
52
53
53
<SinceBadge version =" 1.2.3 " />
54
54
55
- | Argument | Type | Description |
56
- | -------- | ------------------------------------------------------------------------------------------- | ----------- |
57
- | ` query ` | < pre > Map<String, Object>< br >or String< br >or RawJson< br >or RequestPayload< br > or Object</ pre > | API request |
55
+ | Argument | Type | Description |
56
+ | -------- | ------------------------------------------------------------------------ | ----------- |
57
+ | ` query ` | ` Map<String, Object> ` , ` String ` , ` RawJson ` , ` RequestPayload ` or ` Object ` | API request |
58
58
59
59
::: info
60
60
Calling query with a ` String ` or ` RawJson ` makes no differences, and will be interpreted as raw json strings.
@@ -74,25 +74,24 @@ This will avoid the deserialization + reserialization slowdown
74
74
All properties necessary for the Kuzzle API can be added in the query object.
75
75
The following properties are the most common.
76
76
77
- | Property | Type | Description |
78
- | ------------ | --------------------------------------------------------- | ---------------------------------------- |
79
- | ` controller ` | <pre >String</pre > | Controller name (mandatory) |
80
- | ` action ` | <pre >String</pre > | Action name (mandatory) |
81
- | ` body ` | <pre >Map<String, Object><br >or RawJson<br >or Object</pre > | Query body for this action |
82
- | ` index ` | <pre >String</pre > | Index name for this action |
83
- | ` collection ` | <pre >String</pre > | Collection name for this action |
84
- | ` _id ` | <pre >String</pre > | id for this action |
85
- | ` volatile ` | <pre >Map<String, Object><br >or RawJson<br >or Object</pre > | Additional information to send to Kuzzle |
86
- | ` headers ` | <pre >Map<String, Object></pre > | Optionnal headers to send (HTTP Only) |
87
-
77
+ | Property | Type | Description |
78
+ | ------------ | -------------------------------------------- | ---------------------------------------- |
79
+ | ` controller ` | ` String ` | Controller name (mandatory) |
80
+ | ` action ` | ` String ` | Action name (mandatory) |
81
+ | ` body ` | ` Map<String, Object> ` , ` RawJson ` or ` Object ` | Query body for this action |
82
+ | ` index ` | ` String ` | Index name for this action |
83
+ | ` collection ` | ` String ` | Collection name for this action |
84
+ | ` _id ` | ` String ` | id for this action |
85
+ | ` volatile ` | ` Map<String, Object> ` , ` RawJson ` or ` Object ` | Additional information to send to Kuzzle |
86
+ | ` headers ` | ` Map<String, Object> ` | Optionnal headers to send (HTTP Only) |
88
87
89
88
## Returns
90
89
91
90
Returns a [ Response] ( /sdk/jvm/1/core-classes/response ) object which represents a raw Kuzzle API response. See the [ API Documentation] ( /core/2/api ) .
92
91
93
92
## Usage
94
93
95
- << < ./snippets/query-java.java
94
+ \<\<\ < ./snippets/query-java.java
96
95
97
96
:::
98
97
::: tab Kotlin
@@ -114,15 +113,15 @@ fun query(query: Any): CompletableFuture<Response>
114
113
115
114
<br />
116
115
117
- | Argument | Type | Description |
118
- | -------- | ----------------------- | ----------- |
119
- | ` query ` | < pre > Map<String?, Any?> | API request |
116
+ | Argument | Type | Description |
117
+ | -------- | ------------------------ | ----------- |
118
+ | ` query ` | ` Map<String?, Any?> ` | API request |
120
119
121
120
<SinceBadge version =" 1.2.3 " />
122
121
123
- | Argument | Type | Description |
124
- | -------- | --------------------------------------------------------------------------------------- | ----------- |
125
- | ` query ` | < pre > Map<String?, Any?>< br >or RawJson< br >or String< br >or RequestPayload< br > or Any</ pre > | API request |
122
+ | Argument | Type | Description |
123
+ | -------- | -------------------------------------------------------------------- | ----------- |
124
+ | ` query ` | ` Map<String?, Any?> ` , ` RawJson ` , ` String ` , ` RequestPayload ` or ` Any ` | API request |
126
125
127
126
::: info
128
127
Calling query with a ` String ` or ` RawJson ` makes no differences, and will be interpreted as raw json strings.
@@ -142,24 +141,24 @@ This will avoid the deserialization + reserialization slowdown
142
141
All properties necessary for the Kuzzle API can be added in the query object.
143
142
The following properties are the most common.
144
143
145
- | Property | Type | Description |
146
- | ------------ | ---------------------------------------------------- | ---------------------------------------- |
147
- | ` controller ` | < pre > String</ pre > | Controller name (mandatory) |
148
- | ` action ` | < pre > String</ pre > | Action name (mandatory) |
149
- | ` body ` | < pre > Map<String, Any?>< br >or RawJson< br > or Any</ pre > | Query body for this action |
150
- | ` index ` | < pre > String</ pre > | Index name for this action |
151
- | ` collection ` | < pre > String</ pre > | Collection name for this action |
152
- | ` _id ` | < pre > String</ pre > | id for this action |
153
- | ` volatile ` | < pre > Map<String, Any?>< br >or RawJson< br > or Any</ pre > | Additional information to send to Kuzzle |
154
- | ` headers ` | < pre > Map<String, Any?></ pre > | Optionnal headers to send (HTTP Only) |
144
+ | Property | Type | Description |
145
+ | ------------ | ----------------------------------------- | ---------------------------------------- |
146
+ | ` controller ` | ` String ` | Controller name (mandatory) |
147
+ | ` action ` | ` String ` | Action name (mandatory) |
148
+ | ` body ` | ` Map<String, Object> ` , ` RawJson ` or ` Any ` | Query body for this action |
149
+ | ` index ` | ` String ` | Index name for this action |
150
+ | ` collection ` | ` String ` | Collection name for this action |
151
+ | ` _id ` | ` String ` | id for this action |
152
+ | ` volatile ` | ` Map<String, Object> ` , ` RawJson ` or ` Any ` | Additional information to send to Kuzzle |
153
+ | ` headers ` | ` Map<String, Any?> ` | Optionnal headers to send (HTTP Only) |
155
154
156
155
## Returns
157
156
158
157
Returns a [ Response] ( /sdk/jvm/1/core-classes/response ) object which represents a raw Kuzzle API response. See the [ API Documentation] ( /core/2/api ) .
159
158
160
159
## Usage
161
160
162
- << < ./snippets/query-kotlin.kt
161
+ \<\<\ < ./snippets/query-kotlin.kt
163
162
164
163
:::
165
- ::::
164
+ ::::
0 commit comments