DocSource

open class DocSource : BaseDocSource

Types

OptionalListableValueDelegate
Link copied to clipboard
class OptionalListableValueDelegate<V>(fieldName: String, fieldType: FieldType<V, *>) : DocSource.OptionalValueDelegate<V>
OptionalValueDelegate
Link copied to clipboard
open class OptionalValueDelegate<V>(fieldName: String, fieldType: FieldType<V, *>)
OptionalValueDelegateWithDefault
Link copied to clipboard
class OptionalValueDelegateWithDefault<V>(fieldName: String, fieldType: FieldType<V, *>, defaultValue: () -> V)
RequiredListableValueDelegate
Link copied to clipboard
class RequiredListableValueDelegate<V>(fieldName: String, fieldType: FieldType<V, *>) : DocSource.RequiredValueDelegate<V>
RequiredValueDelegate
Link copied to clipboard
open class RequiredValueDelegate<V>(fieldName: String, fieldType: FieldType<V, *>)

Functions

default
Link copied to clipboard
fun <V> BoundField<V, *>.default(defaultValue: () -> V): DocSource.OptionalValueDelegateWithDefault<V>
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
fromSource
Link copied to clipboard
open override fun fromSource(rawSource: RawSource)
getJoinFieldName
Link copied to clipboard
fun getJoinFieldName(): String?
hashCode
Link copied to clipboard
open override fun hashCode(): Int
list
Link copied to clipboard
fun <V> BoundField<V, *>.list(): DocSource.OptionalValueDelegate<MutableList<V?>>
provideDelegate
Link copied to clipboard
operator fun <V> BoundField<V, *>.provideDelegate(thisRef: DocSource, property: KProperty<*>): <ERROR CLASS><DocSource, V?>
operator fun <V> SubFields<V>.provideDelegate(thisRef: DocSource, property: KProperty<*>): <ERROR CLASS><DocSource, V?>
required
Link copied to clipboard
fun <V> BoundField<V, *>.required(): DocSource.RequiredListableValueDelegate<V>
source
Link copied to clipboard
fun <V : BaseDocSource> SubDocument.source(sourceFactory: () -> V): DocSource.OptionalListableValueDelegate<V>
toSource
Link copied to clipboard
open override fun toSource(): Map<String, Any?>
toString
Link copied to clipboard
open override fun toString(): String