elasticmagic-kt
0.0.31
elasticmagic
/
dev.evo.elasticmagic.compile
/
MappingCompiler
Mapping
Compiler
open
class
MappingCompiler
(
val
features
:
ElasticsearchFeatures
,
searchQueryCompiler
:
SearchQueryCompiler
)
:
BaseCompiler
Types
Constructors
Functions
Properties
Constructors
Mapping
Compiler
Link copied to clipboard
fun
MappingCompiler
(
features
:
ElasticsearchFeatures
,
searchQueryCompiler
:
SearchQueryCompiler
)
Types
Compiled
Link copied to clipboard
data
class
Compiled
(
val
body
:
Serializer.ObjectCtx
?
)
Functions
compile
Link copied to clipboard
fun
compile
(
serializer
:
Serializer
,
input
:
Document
)
:
MappingCompiler.Compiled
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.ObjectCtx
,
document
:
Document
)
Properties
features
Link copied to clipboard
val
features
:
ElasticsearchFeatures