DocSource
Constructors
Types
Link copied to clipboard
class OptionalListableValueDelegate<V>(fieldName: String, fieldType: FieldType<V & Any, *>) : DocSource.OptionalValueDelegate<V>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class RequiredListableValueDelegate<V>(fieldName: String, fieldType: FieldType<V & Any, *>) : DocSource.RequiredValueDelegate<V>
Link copied to clipboard
Functions
Link copied to clipboard
fun <V> BoundField<V & Any, *>.default(defaultValue: () -> V & Any): DocSource.OptionalValueDelegateWithDefault<V>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
operator fun <V> BoundField<V & Any, *>.provideDelegate(thisRef: DocSource, property: KProperty<*>): ReadWriteProperty<DocSource, V?>
operator fun <V> SubFields<V & Any>.provideDelegate(thisRef: DocSource, property: KProperty<*>): ReadWriteProperty<DocSource, V?>
Link copied to clipboard
Link copied to clipboard
fun <V : BaseDocSource> SubDocument.source(sourceFactory: () -> V): DocSource.OptionalListableValueDelegate<V>
Extensions
Link copied to clipboard
fun BaseDocSource.withActionMeta(id: String, routing: String? = null, version: Long? = null, seqNo: Long? = null, primaryTerm: Long? = null): DocSourceAndMeta<IdActionMeta>
fun BaseDocSource.withActionMeta(routing: String? = null, version: Long? = null, seqNo: Long? = null, primaryTerm: Long? = null): DocSourceAndMeta<ActionMeta>
A shortcut to attach action metadata to a document source.