elasticmagic-kt
0.0.31
elasticmagic
/
dev.evo.elasticmagic.compile
/
CountQueryCompiler
Count
Query
Compiler
class
CountQueryCompiler
(
val
features
:
ElasticsearchFeatures
)
:
BaseSearchQueryCompiler
Constructors
Functions
Properties
Constructors
Count
Query
Compiler
Link copied to clipboard
fun
CountQueryCompiler
(
features
:
ElasticsearchFeatures
)
Functions
compile
Link copied to clipboard
fun
compile
(
serde
:
Serde
,
countQuery
:
WithIndex
<
SearchQuery.Count
>
)
:
ApiRequest
<
CountResult
>
dispatch
Link copied to clipboard
open
override
fun
dispatch
(
ctx
:
Serializer.ArrayCtx
,
value
:
Any
?
)
open
override
fun
dispatch
(
ctx
:
Serializer.ObjectCtx
,
name
:
String
,
value
:
Any
?
)
visit
Link copied to clipboard
fun
visit
(
ctx
:
Serializer.ArrayCtx
,
values
:
Array
<
*
>
)
fun
visit
(
ctx
:
Serializer.ArrayCtx
,
values
:
List
<
*
>
)
fun
visit
(
ctx
:
Serializer.ObjectCtx
,
params
:
Map
<
*
,
*
>
)
fun
visit
(
ctx
:
Serializer.ArrayCtx
,
expression
:
Expression
<
Serializer.ArrayCtx
>
)
open
fun
visit
(
ctx
:
Serializer.ObjectCtx
,
searchQuery
:
PreparedSearchQuery
)
fun
visit
(
ctx
:
Serializer.ObjectCtx
,
expression
:
Expression
<
Serializer.ObjectCtx
>
)
Properties
features
Link copied to clipboard
val
features
:
ElasticsearchFeatures