Decoders

io.getquill.context.cassandra.encoding.Decoders

Attributes

Graph
Supertypes
trait UdtDecoding
trait EncodingDsl
trait LowPriorityImplicits
trait RowContext
class Object
trait Matchable
class Any
Show all
Known subtypes

Members list

Type members

Classlikes

case class CassandraDecoder[T](decoder: () => T) extends BaseDecoder[T]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait GenericDecoder[ResultRow, Session, T, Specific]
trait (Int, ResultRow, Session) => T
class Object
trait Matchable
class Any
Show all

Inherited classlikes

case class BatchGroup(string: String, prepare: List[Prepare])

Attributes

Inherited from:
RowContext
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class BatchGroupReturning(string: String, returningBehavior: ReturnAction, prepare: List[Prepare])

Attributes

Inherited from:
RowContext
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Inherited from:
CassandraRowContext
Supertypes
trait GenericNullChecker[ResultRow, Session]
class Object
trait Matchable
class Any

Types

type Decoder[T] = CassandraDecoder[T]

Inherited types

type BaseDecoder[T] = GenericDecoder[ResultRow, Session, T, Specific]

Attributes

Inherited from:
EncodingDsl
type BaseEncoder[T] = GenericEncoder[T, PrepareRow, Session]

Attributes

Inherited from:
EncodingDsl
type BaseNullChecker = GenericNullChecker[ResultRow, Session]

Attributes

Inherited from:
EncodingDsl
type ColumnResolver = GenericColumnResolver[ResultRow]

Attributes

Inherited from:
EncodingDsl
type DecoderMethod[T] = (Int, ResultRow, Session) => T

Attributes

Inherited from:
EncodingDsl
type Encoder[T] <: GenericEncoder[T, PrepareRow, Session]

Attributes

Inherited from:
EncodingDsl
type EncoderMethod[T] = (Int, T, PrepareRow, Session) => PrepareRow

Attributes

Inherited from:
EncodingDsl
type Extractor[T] = (ResultRow, Session) => T

Attributes

Inherited from:
RowContext

Attributes

Inherited from:
CassandraRowContext
type Prepare = (PrepareRow, Session) => (List[Any], PrepareRow)

Attributes

Inherited from:
RowContext
override type PrepareRow = BoundStatement

Attributes

Inherited from:
CassandraRowContext
override type ResultRow = Row

Attributes

Inherited from:
CassandraRowContext
type RowTyper[T] = GenericRowTyper[ResultRow, T]

Attributes

Inherited from:
EncodingDsl
type Session

Attributes

Inherited from:
EncodingDsl

Value members

Concrete methods

def decoder[T](d: (Int, ResultRow, Session) => T): CassandraDecoder[T]
def decoder[T](f: ResultRow => Int => T): CassandraDecoder[T]

Inherited methods

protected def mappedBaseDecoder[Base, Mapped](mapped: MappedEncoding[Base, Mapped], decoder: () => Base): () => Mapped

Attributes

Inherited from:
EncodingDsl
protected def mappedBaseEncoder[Mapped, Base](mapped: MappedEncoding[Mapped, Base], encoder: () => Base): () => Mapped

Attributes

Inherited from:
EncodingDsl

Inherited fields

protected val identityExtractor: (ResultRow, Session) => ResultRow

Attributes

Inherited from:
RowContext
protected val identityPrepare: Prepare

Attributes

Inherited from:
RowContext
val idiom: CqlIdiom.type

Attributes

Inherited from:
CassandraRowContext

Implicits

Implicits

implicit val bigDecimalDecoder: CassandraDecoder[BigDecimal]
implicit val booleanDecoder: CassandraDecoder[Boolean]
implicit val byteArrayDecoder: CassandraDecoder[Array[Byte]]
implicit val byteDecoder: CassandraDecoder[Byte]
implicit val cassandraLocalDateDecoder: CassandraDecoder[LocalDate]
implicit val cassandraLocalTimeDecoder: CassandraDecoder[LocalTime]
implicit val doubleDecoder: CassandraDecoder[Double]
implicit val floatDecoder: CassandraDecoder[Float]
implicit val intDecoder: CassandraDecoder[Int]
implicit val longDecoder: CassandraDecoder[Long]
implicit def mappedDecoder[I, O](implicit mapped: MappedEncoding[I, O], decoder: CassandraDecoder[I]): CassandraDecoder[O]
implicit def optionDecoder[T](implicit d: CassandraDecoder[T]): CassandraDecoder[Option[T]]
implicit val shortDecoder: CassandraDecoder[Short]
implicit val stringDecoder: CassandraDecoder[String]
implicit val timestampDecoder: CassandraDecoder[Instant]
implicit val uuidDecoder: CassandraDecoder[UUID]

Inherited implicits

implicit inline def anyValDecoder[Cls <: AnyVal]: Decoder[Cls]

Attributes

Inherited from:
LowPriorityImplicits
implicit inline def anyValEncoder[Cls <: AnyVal]: Encoder[Cls]

Attributes

Inherited from:
LowPriorityImplicits
implicit def bigDecimalEncoder: Encoder[BigDecimal]

Attributes

Inherited from:
EncodingDsl
implicit val booleanCassandraType: CassandraType[Boolean]

Attributes

Inherited from:
CassandraTypes
implicit def booleanEncoder: Encoder[Boolean]

Attributes

Inherited from:
EncodingDsl
implicit val byteBufferCassandraType: CassandraType[ByteBuffer]

Attributes

Inherited from:
CassandraTypes
implicit val byteCassandraType: CassandraType[Byte]

Attributes

Inherited from:
CassandraTypes
implicit def byteEncoder: Encoder[Byte]

Attributes

Inherited from:
EncodingDsl
implicit def cassandraIdentityDecodeMapper[Cas](implicit cas: CassandraType[Cas]): CassandraMapper[Cas, Cas, Decode]

Attributes

Inherited from:
CassandraMapperConversions
implicit def cassandraIdentityEncodeMapper[Cas](implicit cas: CassandraType[Cas]): CassandraMapper[Cas, Cas, Encode]

Attributes

Inherited from:
CassandraMapperConversions
implicit def cassandraMapperDecode[T, Cas](implicit m: MappedEncoding[Cas, T], cas: CassandraType[Cas]): CassandraMapper[Cas, T, Decode]

Attributes

Inherited from:
CassandraMapperConversions
implicit def cassandraMapperDecodeRec[I, O, Cas](implicit m: MappedEncoding[I, O], cm: CassandraMapper[Cas, I, Decode]): CassandraMapper[Cas, O, Decode]
implicit def cassandraMapperEncode[T, Cas](implicit m: MappedEncoding[T, Cas], cas: CassandraType[Cas]): CassandraMapper[T, Cas, Encode]

Attributes

Inherited from:
CassandraMapperConversions
implicit def cassandraMapperEncodeRec[I, O, Cas](implicit me: MappedEncoding[I, O], cm: CassandraMapper[O, Cas, Encode]): CassandraMapper[I, Cas, Encode]
implicit val dateCassandraType: CassandraType[Instant]

Attributes

Inherited from:
CassandraTypes
implicit val decimalCassandraType: CassandraType[BigDecimal]

Attributes

Inherited from:
CassandraTypes
implicit val decodeBigDecimal: CassandraMapper[BigDecimal, BigDecimal, Decode]

Attributes

Inherited from:
CassandraMappedTypes
implicit val decodeBoolean: CassandraMapper[Boolean, Boolean, Decode]

Attributes

Inherited from:
CassandraMappedTypes
implicit val decodeByte: CassandraMapper[Byte, Byte, Decode]

Attributes

Inherited from:
CassandraMappedTypes
implicit val decodeByteArray: CassandraMapper[ByteBuffer, Array[Byte], Decode]

Attributes

Inherited from:
CassandraMappedTypes
implicit val decodeDouble: CassandraMapper[Double, Double, Decode]

Attributes

Inherited from:
CassandraMappedTypes
implicit val decodeFloat: CassandraMapper[Float, Float, Decode]

Attributes

Inherited from:
CassandraMappedTypes
implicit val decodeInt: CassandraMapper[Integer, Int, Decode]

Attributes

Inherited from:
CassandraMappedTypes
implicit val decodeLong: CassandraMapper[Long, Long, Decode]

Attributes

Inherited from:
CassandraMappedTypes
implicit val decodeShort: CassandraMapper[Short, Short, Decode]

Attributes

Inherited from:
CassandraMappedTypes
implicit val doubleCassandraType: CassandraType[Double]

Attributes

Inherited from:
CassandraTypes
implicit def doubleEncoder: Encoder[Double]

Attributes

Inherited from:
EncodingDsl
implicit val encodeBigDecimal: CassandraMapper[BigDecimal, BigDecimal, Encode]

Attributes

Inherited from:
CassandraMappedTypes
implicit val encodeBoolean: CassandraMapper[Boolean, Boolean, Encode]

Attributes

Inherited from:
CassandraMappedTypes
implicit val encodeByte: CassandraMapper[Byte, Byte, Encode]

Attributes

Inherited from:
CassandraMappedTypes
implicit val encodeByteArray: CassandraMapper[Array[Byte], ByteBuffer, Encode]

Attributes

Inherited from:
CassandraMappedTypes
implicit val encodeDouble: CassandraMapper[Double, Double, Encode]

Attributes

Inherited from:
CassandraMappedTypes
implicit val encodeFloat: CassandraMapper[Float, Float, Encode]

Attributes

Inherited from:
CassandraMappedTypes
implicit val encodeInt: CassandraMapper[Int, Integer, Encode]

Attributes

Inherited from:
CassandraMappedTypes
implicit val encodeLong: CassandraMapper[Long, Long, Encode]

Attributes

Inherited from:
CassandraMappedTypes
implicit val encodeShort: CassandraMapper[Short, Short, Encode]

Attributes

Inherited from:
CassandraMappedTypes
implicit val floatCassandraType: CassandraType[Float]

Attributes

Inherited from:
CassandraTypes
implicit def intEncoder: Encoder[Int]

Attributes

Inherited from:
EncodingDsl
implicit val integerCassandraType: CassandraType[Integer]

Attributes

Inherited from:
CassandraTypes
implicit def listDecoder[T, Cas](implicit mapper: CassandraMapper[Cas, T, Decode], ct: ClassTag[Cas]): CassandraDecoder[List[T]]

Attributes

Inherited from:
CollectionDecoders
implicit val localDateCassandraType: CassandraType[LocalDate]

Attributes

Inherited from:
CassandraTypes
implicit val longCassandraType: CassandraType[Long]

Attributes

Inherited from:
CassandraTypes
implicit def longEncoder: Encoder[Long]

Attributes

Inherited from:
EncodingDsl
implicit def mapDecoder[K, V, KCas, VCas](implicit keyMapper: CassandraMapper[KCas, K, Decode], valMapper: CassandraMapper[VCas, V, Decode], a: ClassTag[KCas], b: ClassTag[VCas]): CassandraDecoder[Map[K, V]]

Attributes

Inherited from:
CollectionDecoders
implicit def mappedEncoder[Mapped, Base](implicit mapped: MappedEncoding[Mapped, Base], encoder: Encoder[Base]): Encoder[Mapped]

Attributes

Inherited from:
EncodingDsl
implicit val nullChecker: NullChecker

Attributes

Inherited from:
CassandraRowContext
implicit def setDecoder[T, Cas](implicit mapper: CassandraMapper[Cas, T, Decode], ct: ClassTag[Cas]): CassandraDecoder[Set[T]]

Attributes

Inherited from:
CollectionDecoders
implicit val shortCassandraType: CassandraType[Short]

Attributes

Inherited from:
CassandraTypes
implicit def shortEncoder: Encoder[Short]

Attributes

Inherited from:
EncodingDsl
implicit val stringCassandraType: CassandraType[String]

Attributes

Inherited from:
CassandraTypes
implicit def stringEncoder: Encoder[String]

Attributes

Inherited from:
EncodingDsl
implicit inline def udtDecodeMapper[T <: Udt](using NotGiven[T =:= Udt]): CassandraMapper[UdtValue, T, Decode]

Attributes

Inherited from:
UdtDecoding
implicit inline def udtDecoder[T <: Udt](using NotGiven[T =:= Udt]): CassandraDecoder[T]

Attributes

Inherited from:
UdtDecoding
implicit val uuidCassandraType: CassandraType[UUID]

Attributes

Inherited from:
CassandraTypes