Row Decoder
abstract class RowDecoder<Session, Row>(val ctx: DecodingContext<Session, Row>, val module: SerializersModule, val initialRowIndex: Int, val api: ApiDecoders<Session, Row>, val decoders: Set<SqlDecoder<Session, Row, out Any>>, val columnInfos: List<ColumnInfo>, val type: RowDecoderType, val json: Json, val endCallback: (Int) -> Unit) : Decoder, CompositeDecoder
Constructors
Link copied to clipboard
constructor(ctx: DecodingContext<Session, Row>, module: SerializersModule, initialRowIndex: Int, api: ApiDecoders<Session, Row>, decoders: Set<SqlDecoder<Session, Row, out Any>>, columnInfos: List<ColumnInfo>, type: RowDecoderType, json: Json, endCallback: (Int) -> Unit)
Properties
Functions
Link copied to clipboard
Link copied to clipboard
abstract fun cloneSelf(ctx: DecodingContext<Session, Row>, initialRowIndex: Int, type: RowDecoderType, endCallback: (Int) -> Unit): RowDecoder<Session, Row>
Link copied to clipboard
fun <T> decodeBestEffortFromDescriptor(desc: SerialDescriptor, parent: SerialDescriptor, index: Int, alternateDeserializer: DeserializationStrategy<T?>): T?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <T> decodeJsonAnnotated(desc: SerialDescriptor, index: Int, deserializer: DeserializationStrategy<T?>): T?
Link copied to clipboard
fun <T> decodeJsonValue(desc: SerialDescriptor, index: Int, deserializer: DeserializationStrategy<T?>): T?
Link copied to clipboard
fun <T> decodeJsonValueContent(desc: SerialDescriptor, index: Int, deserializer: DeserializationStrategy<T?>): T?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Checks to see if the element is null before calling an actual deserialzier. Can't use this for nested classes because we need to check all upcoming rows to see if all of them are null, only then is the parent element considered null so instead we just opt to return true and check for nullity in the parent call of decodeNullableSerializableElement.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard