DynamicTemplates
Types
DynamicField
Link copied to clipboard
MappingKind
Link copied to clipboard
MappingTemplate
Link copied to clipboard
class MappingTemplate<V, T, F>(name: String?, mapping: DynamicTemplates.DynamicField<V, T, F>, matchOptions: DynamicTemplates.MatchOptions)
Content copied to clipboard
MatchMappingType
Link copied to clipboard
MatchOptions
Link copied to clipboard
data class MatchOptions(match: String?, unmatch: String?, pathMatch: String?, pathUnmatch: String?, matchPattern: DynamicTemplates.MatchPattern?, matchMappingType: DynamicTemplates.MatchMappingType<*, *>?, params: Params?)
Content copied to clipboard
MatchPattern
Link copied to clipboard
enum MatchPattern : Enum<DynamicTemplates.MatchPattern> , ToValue<String>
Content copied to clipboard
Functions
get
Link copied to clipboard
getAllFields
Link copied to clipboard
getAllTemplates
Link copied to clipboard
getFieldByName
Link copied to clipboard
getFieldName
Link copied to clipboard
getQualifiedFieldName
Link copied to clipboard
getTemplate
Link copied to clipboard
nested
Link copied to clipboard
fun <T : SubDocument> nested(factory: (DocSourceField) -> T, dynamic: Dynamic? = null, params: Params = Params()): SubDocument.UnboundSubDocument<T>
Content copied to clipboard
fun <T : SubDocument> nested(name: String?, factory: (DocSourceField) -> T, dynamic: Dynamic? = null, params: Params = Params()): SubDocument.UnboundSubDocument<T>
Content copied to clipboard
obj
Link copied to clipboard
fun <T : SubDocument> obj(factory: (DocSourceField) -> T, enabled: Boolean? = null, dynamic: Dynamic? = null, params: Params = Params()): SubDocument.UnboundSubDocument<T>
Content copied to clipboard
fun <T : SubDocument> obj(name: String?, factory: (DocSourceField) -> T, enabled: Boolean? = null, dynamic: Dynamic? = null, params: Params = Params()): SubDocument.UnboundSubDocument<T>
Content copied to clipboard
object
Link copied to clipboard
fun <T : SubDocument> object(factory: (DocSourceField) -> T, enabled: Boolean? = null, dynamic: Dynamic? = null, params: Params = Params()): SubDocument.UnboundSubDocument<T>
Content copied to clipboard
fun <T : SubDocument> object(name: String?, factory: (DocSourceField) -> T, enabled: Boolean? = null, dynamic: Dynamic? = null, params: Params = Params()): SubDocument.UnboundSubDocument<T>
Content copied to clipboard
template
Link copied to clipboard
fun template(name: String? = null, mapping: DynamicTemplates.Mapping, match: String? = null, unmatch: String? = null, pathMatch: String? = null, pathUnmatch: String? = null, matchPattern: DynamicTemplates.MatchPattern? = null, params: Params? = null): DynamicTemplates.MappingTemplate<Any, Any, BoundField<Any, Any>>
Content copied to clipboard
fun template(name: String? = null, runtime: DynamicTemplates.Runtime.Simple, match: String? = null, unmatch: String? = null, pathMatch: String? = null, pathUnmatch: String? = null, matchPattern: DynamicTemplates.MatchPattern? = null, params: Params? = null): DynamicTemplates.MappingTemplate<Any, Any, BoundField<Any, Any>>
Content copied to clipboard
fun <V, T> template(name: String? = null, mapping: DynamicTemplates.Mapping, matchMappingType: DynamicTemplates.MatchMappingType<V, T>, match: String? = null, unmatch: String? = null, pathMatch: String? = null, pathUnmatch: String? = null, matchPattern: DynamicTemplates.MatchPattern? = null, params: Params? = null): DynamicTemplates.MappingTemplate<V, T, BoundField<V, T>>
Content copied to clipboard
fun <V, T> template(name: String? = null, runtime: DynamicTemplates.Runtime.Simple, matchMappingType: DynamicTemplates.MatchMappingType<V, T>, match: String? = null, unmatch: String? = null, pathMatch: String? = null, pathUnmatch: String? = null, matchPattern: DynamicTemplates.MatchPattern? = null, params: Params? = null): DynamicTemplates.MappingTemplate<V, T, BoundField<V, T>>
Content copied to clipboard
fun <V, T> template(name: String? = null, runtime: DynamicTemplates.Runtime.Typed<V, T>, matchMappingType: DynamicTemplates.MatchMappingType<*, *>? = null, match: String? = null, unmatch: String? = null, pathMatch: String? = null, pathUnmatch: String? = null, matchPattern: DynamicTemplates.MatchPattern? = null, params: Params? = null): DynamicTemplates.MappingTemplate<V, T, BoundField<V, T>>
Content copied to clipboard
fun <V, T> template(name: String? = null, mapping: FieldSet.Field<V, T>, matchMappingType: DynamicTemplates.MatchMappingType<*, *>? = null, match: String? = null, unmatch: String? = null, pathMatch: String? = null, pathUnmatch: String? = null, matchPattern: DynamicTemplates.MatchPattern? = null, params: Params? = null): DynamicTemplates.MappingTemplate<V, T, BoundField<V, T>>
Content copied to clipboard
fun <F : SubDocument> template(name: String? = null, mapping: SubDocument.UnboundSubDocument<F>, matchMappingType: DynamicTemplates.MatchMappingType<*, *>? = null, match: String? = null, unmatch: String? = null, pathMatch: String? = null, pathUnmatch: String? = null, matchPattern: DynamicTemplates.MatchPattern? = null, params: Params? = null): DynamicTemplates.MappingTemplate<Any, Nothing, F>
Content copied to clipboard
fun <V, F : SubFields<V>> template(name: String? = null, mapping: SubFields.UnboundSubFields<V, F>, matchMappingType: DynamicTemplates.MatchMappingType<*, *>? = null, match: String? = null, unmatch: String? = null, pathMatch: String? = null, pathUnmatch: String? = null, matchPattern: DynamicTemplates.MatchPattern? = null, params: Params? = null): DynamicTemplates.MappingTemplate<V, V, F>
Content copied to clipboard
text
Link copied to clipboard
Inheritors
Document
Link copied to clipboard