Skip to content

//tempest-internal/app.cash.tempest.internal/Schema

Schema

[jvm]\ class Schema

Types

Name Summary
Companion [jvm]
object Companion

Functions

Name Summary
addItem [jvm]
fun addItem(itemType: KClass<>, rawItemType: KClass<>): ItemType
addKey [jvm]
fun addKey(keyType: KClass<>, itemType: KClass<>): KeyType
addRawItem [jvm]
fun addRawItem(tableName: String, rawItemType: KClass<*>): RawItemType
codec [jvm]
fun <T : Any, RI : Any> codec(type: KClass<T>): Codec<T, RI>
getItem [jvm]
fun getItem(type: KClass<*>): ItemType?
getKey [jvm]
fun getKey(type: KClass<*>): KeyType?
getRawItem [jvm]
fun getRawItem(type: KClass<*>): RawItemType?
resolveEnclosingItemType [jvm]
fun resolveEnclosingItemType(type: KClass<*>): ItemType?
resolveEnclosingRawItemType [jvm]
fun resolveEnclosingRawItemType(type: KClass<*>): RawItemType?