Wow
Toggle table of contents
5.1.5
jvm
Platform filter
jvm
Switch theme
Search in API
Wow
wow-query
/
me.ahoo.wow.query.filter
/
QueryContext
Query
Context
interface
QueryContext
<
Q
:
Any
,
R
:
Any
>
Inheritors
DefaultQueryContext
Members
Properties
attributes
Link copied to clipboard
abstract
val
attributes
:
MutableMap
<
String
,
Any
>
named
Aggregate
Link copied to clipboard
abstract
val
namedAggregate
:
NamedAggregate
query
Type
Link copied to clipboard
abstract
val
queryType
:
QueryType
Functions
as
Count
Query
Link copied to clipboard
open
fun
asCountQuery
(
)
:
QueryContext
<
Condition
,
Mono
<
Long
>
>
as
List
Query
Link copied to clipboard
open
fun
<
E
>
asListQuery
(
)
:
QueryContext
<
IListQuery
,
Flux
<
E
>
>
as
Paged
Query
Link copied to clipboard
open
fun
<
E
>
asPagedQuery
(
)
:
QueryContext
<
IPagedQuery
,
Mono
<
PagedList
<
E
>
>
>
as
Rewritable
Query
Link copied to clipboard
open
fun
asRewritableQuery
(
)
:
QueryContext
<
RewritableCondition
<
*
>
,
R
>
as
Single
Query
Link copied to clipboard
open
fun
<
E
>
asSingleQuery
(
)
:
QueryContext
<
ISingleQuery
,
Mono
<
E
>
>
get
Attribute
Link copied to clipboard
open
fun
<
V
>
getAttribute
(
key
:
String
)
:
V
?
get
Query
Link copied to clipboard
open
fun
getQuery
(
)
:
Q
get
Required
Result
Link copied to clipboard
open
fun
getRequiredResult
(
)
:
R
rewrite
Query
Link copied to clipboard
open
fun
rewriteQuery
(
rewrite
:
(
Q
)
->
Q
)
:
QueryContext
<
Q
,
R
>
rewrite
Result
Link copied to clipboard
open
fun
rewriteResult
(
rewrite
:
(
R
)
->
R
)
:
QueryContext
<
Q
,
R
>
set
Attribute
Link copied to clipboard
open
fun
setAttribute
(
key
:
String
,
value
:
Any
)
:
QueryContext
<
Q
,
R
>
set
Query
Link copied to clipboard
open
fun
setQuery
(
query
:
Q
)
:
QueryContext
<
Q
,
R
>
set
Result
Link copied to clipboard
open
fun
setResult
(
result
:
R
)
:
QueryContext
<
Q
,
R
>
open
fun
setResult
(
handle
:
(
Q
)
->
R
)
:
QueryContext
<
Q
,
R
>