elasticmagic-kt
0.0.31
elasticmagic
/
dev.evo.elasticmagic.compile
/
CreateIndexCompiler
Create
Index
Compiler
class
CreateIndexCompiler
(
val
features
:
ElasticsearchFeatures
,
val
mappingCompiler
:
MappingCompiler
)
:
BaseCompiler
Constructors
Functions
Properties
Constructors
Create
Index
Compiler
Link copied to clipboard
fun
CreateIndexCompiler
(
features
:
ElasticsearchFeatures
,
mappingCompiler
:
MappingCompiler
)
Functions
compile
Link copied to clipboard
fun
compile
(
serde
:
Serde
,
input
:
PreparedCreateIndex
)
:
ApiRequest
<
CreateIndexResult
>
dispatch
Link copied to clipboard
open
fun
dispatch
(
ctx
:
Serializer.ArrayCtx
,
value
:
Any
?
)
open
fun
dispatch
(
ctx
:
Serializer.ObjectCtx
,
name
:
String
,
value
:
Any
?
)
process
Response
Link copied to clipboard
fun
processResponse
(
response
:
ApiResponse
)
:
CreateIndexResult
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
<
*
,
*
>
)
Properties
features
Link copied to clipboard
val
features
:
ElasticsearchFeatures
mapping
Compiler
Link copied to clipboard
val
mappingCompiler
:
MappingCompiler