CassandraMirrorContext
class CassandraMirrorContext[Naming <: NamingStrategy](naming: Naming) extends MirrorContext[CqlIdiom, Naming] with CassandraContext[Naming]
trait CassandraContext[Naming]
trait Encodings
trait CassandraTypes
trait CassandraMappedTypes
class MirrorContext[CqlIdiom, Naming]
trait AstSplicing
trait MirrorContextBase[CqlIdiom, Naming]
trait MirrorEncoders
trait MirrorDecoders
trait ContextVerbTranslate[CqlIdiom, Naming]
trait ContextTranslateMacro[CqlIdiom, Naming]
trait ContextTranslateProto[CqlIdiom, Naming]
trait ContextVerbPrepare[CqlIdiom, Naming]
trait Context[CqlIdiom, Naming]
trait Closeable
trait AutoCloseable
trait EncodingDsl
trait LowPriorityImplicits
trait ProtoContext[CqlIdiom, Naming]
trait RowContext
class Object
trait Matchable
class Any
Type members
Inherited classlikes
case class ActionReturningMirror[T](string: String, prepareRow: PrepareRow, extractor: () => T, returningBehavior: ReturnAction, info: ExecutionInfo)
- Inherited from:
- MirrorContextBase
case class BatchActionReturningMirror[T](groups: List[(String, ReturnAction, List[PrepareRow])], extractor: () => T, info: ExecutionInfo)
- Inherited from:
- MirrorContextBase
case class BatchGroupReturning(string: String, returningBehavior: ReturnAction, prepare: List[Prepare])
- Inherited from:
- RowContext
case class QueryMirror[T](string: String, prepareRow: PrepareRow, extractor: () => T, info: ExecutionInfo)
- Inherited from:
- MirrorContextBase
Value members
Inherited methods
Internal API that cannot be made private due to how inline functions
Internal API that cannot be made private due to how inline functions
- Inherited from:
- ContextTranslateMacro
override def executeAction(string: String, prepare: Prepare)(info: ExecutionInfo, dc: Runner): Result[RunActionResult]
- Definition Classes
- MirrorContextBase -> ProtoContext
- Inherited from:
- MirrorContextBase
def executeActionReturning[T](sql: String, prepare: Prepare, extractor: () => T, returningBehavior: ReturnAction)(info: ExecutionInfo, dc: Runner): Result[ActionReturningMirror[T]]
- Inherited from:
- MirrorContextBase
override def executeBatchAction(groups: List[BatchGroup])(info: ExecutionInfo, dc: Runner): Result[RunBatchActionResult]
- Definition Classes
- MirrorContextBase -> ProtoContext
- Inherited from:
- MirrorContextBase
override def executeBatchActionReturning[T](groups: List[BatchGroupReturning], extractor: () => T)(info: ExecutionInfo, dc: Runner): Result[BatchActionReturningMirror[T]]
- Definition Classes
- MirrorContextBase -> ProtoContext
- Inherited from:
- MirrorContextBase
override def executeQuery[T](string: String, prepare: Prepare, extractor: () => T)(info: ExecutionInfo, dc: Runner): Result[QueryMirror[T]]
- Definition Classes
- MirrorContextBase -> ProtoContext
- Inherited from:
- MirrorContextBase
override def executeQuerySingle[T](string: String, prepare: Prepare, extractor: () => T)(info: ExecutionInfo, dc: Runner): Result[QueryMirror[T]]
- Definition Classes
- MirrorContextBase -> ProtoContext
- Inherited from:
- MirrorContextBase
protected def mappedBaseDecoder[Base, Mapped](mapped: MappedEncoding[Base, Mapped], decoder: () => Base): () => Mapped
- Inherited from:
- EncodingDsl
protected def mappedBaseEncoder[Mapped, Base](mapped: MappedEncoding[Mapped, Base], encoder: () => Base): () => Mapped
- Inherited from:
- EncodingDsl
@targetName("runPrepareBatchAction")
inline def prepare[I, A <: Action[I] & QAC[I, Nothing]](inline quoted: Quoted[BatchAction[A]]): PrepareBatchActionResult
- Inherited from:
- ContextVerbPrepare
def prepareAction(string: String, prepare: Prepare)(info: ExecutionInfo, dc: Runner): PrepareActionResult
- Inherited from:
- MirrorContextBase
def prepareBatchAction(groups: List[BatchGroup])(info: ExecutionInfo, dc: Runner): PrepareBatchActionResult
- Inherited from:
- MirrorContextBase
def prepareQuery(string: String, prepare: Prepare)(info: ExecutionInfo, dc: Runner): PrepareQueryResult
- Inherited from:
- MirrorContextBase
def prepareSingle(string: String, prepare: Prepare)(info: ExecutionInfo, dc: Runner): PrepareQueryResult
- Inherited from:
- MirrorContextBase
@targetName("runBatchActionReturning")
inline def run[I, T, A <: Action[I] & QAC[I, T]](inline quoted: Quoted[BatchAction[A]]): BatchActionReturningMirror[T]
- Inherited from:
- MirrorContextBase
@targetName("runBatchAction")
inline def run[I, A <: Action[I] & QAC[I, Nothing]](inline quoted: Quoted[BatchAction[A]]): BatchActionMirror
- Inherited from:
- MirrorContextBase
@targetName("translateBatchActionReturning")
inline def translate[I, T, A <: Action[I] & QAC[I, T]](inline quoted: Quoted[BatchAction[A]], inline prettyPrint: Boolean): TranslateResult[List[String]]
- Inherited from:
- ContextTranslateMacro
@targetName("translateBatchActionReturning")
inline def translate[I, T, A <: Action[I] & QAC[I, T]](inline quoted: Quoted[BatchAction[A]]): TranslateResult[List[String]]
- Inherited from:
- ContextTranslateMacro
@targetName("translateBatchAction")
inline def translate[I, A <: Action[I] & QAC[I, Nothing]](inline quoted: Quoted[BatchAction[A]], inline prettyPrint: Boolean): TranslateResult[List[String]]
- Inherited from:
- ContextTranslateMacro
@targetName("translateBatchAction")
inline def translate[I, A <: Action[I] & QAC[I, Nothing]](inline quoted: Quoted[BatchAction[A]]): TranslateResult[List[String]]
- Inherited from:
- ContextTranslateMacro
@targetName("translateActionReturning")
inline def translate[E, T](inline quoted: Quoted[ActionReturning[E, T]], inline prettyPrint: Boolean): TranslateResult[String]
- Inherited from:
- ContextTranslateMacro
@targetName("translateAction")
inline def translate[E](inline quoted: Quoted[Action[E]], inline prettyPrint: Boolean): TranslateResult[String]
- Inherited from:
- ContextTranslateMacro
@targetName("translateQuerySingle")
inline def translate[T](inline quoted: Quoted[T], inline prettyPrint: Boolean): TranslateResult[String]
- Inherited from:
- ContextTranslateMacro
@targetName("translateQuery")
inline def translate[T](inline quoted: Quoted[Query[T]], inline prettyPrint: Boolean): TranslateResult[String]
- Inherited from:
- ContextTranslateMacro
def translateBatchQueryEndpoint(groups: List[BatchGroup], prettyPrint: Boolean)(executionInfo: ExecutionInfo, dc: TranslateRunner): TranslateResult[List[String]]
- Inherited from:
- ContextTranslateProto
def translateBatchQueryReturningEndpoint(groups: List[BatchGroupReturning], prettyPrint: Boolean)(executionInfo: ExecutionInfo, dc: TranslateRunner): TranslateResult[List[String]]
- Inherited from:
- ContextTranslateProto
def translateQueryEndpoint[T](statement: String, prepare: Prepare, extractor: () => T, prettyPrint: Boolean)(executionInfo: ExecutionInfo, dc: TranslateRunner): TranslateResult[String]
- Inherited from:
- ContextTranslateProto
Inherited fields
Extensions
Inherited extensions
extension [T](q: Query[T])
When using this with FilterColumns make sure it comes FIRST. Otherwise the columns are you filtering may have been nullified in the SQL before the filteration has actually happened.
When using this with FilterColumns make sure it comes FIRST. Otherwise the columns are you filtering may have been nullified in the SQL before the filteration has actually happened.
- Inherited from:
- Context
Implicits
Implicits
implicit def listDecoder[T, Cas](implicit mapper: CassandraMapper[Cas, T, Decode], ct: ClassTag[Cas]): MirrorDecoder[List[T]]
implicit def listEncoder[T, Cas](implicit mapper: CassandraMapper[T, Cas, Encode], ct: ClassTag[Cas]): MirrorEncoder[List[T]]
implicit def mapDecoder[K, V, KCas, VCas](implicit keyMapper: CassandraMapper[KCas, K, Decode], valMapper: CassandraMapper[VCas, V, Decode], a: ClassTag[KCas], b: ClassTag[VCas]): MirrorDecoder[Map[K, V]]
implicit def mapEncoder[K, V, KCas, VCas](implicit keyMapper: CassandraMapper[K, KCas, Encode], valMapper: CassandraMapper[V, VCas, Encode], a: ClassTag[KCas], b: ClassTag[VCas]): MirrorEncoder[Map[K, V]]
implicit def setDecoder[T, Cas](implicit mapper: CassandraMapper[Cas, T, Decode], ct: ClassTag[Cas]): MirrorDecoder[Set[T]]
implicit def setEncoder[T, Cas](implicit mapper: CassandraMapper[T, Cas, Encode], ct: ClassTag[Cas]): MirrorEncoder[Set[T]]
Inherited implicits
implicit def cassandraIdentityDecodeMapper[Cas](implicit cas: CassandraType[Cas]): CassandraMapper[Cas, Cas, Decode]
- Inherited from:
- CassandraMapperConversions
implicit def cassandraIdentityEncodeMapper[Cas](implicit cas: CassandraType[Cas]): CassandraMapper[Cas, Cas, Encode]
- Inherited from:
- CassandraMapperConversions
implicit def cassandraMapperDecode[T, Cas](implicit m: MappedEncoding[Cas, T], cas: CassandraType[Cas]): CassandraMapper[Cas, T, Decode]
- Inherited from:
- CassandraMapperConversions
implicit def cassandraMapperDecodeRec[I, O, Cas](implicit m: MappedEncoding[I, O], cm: CassandraMapper[Cas, I, Decode]): CassandraMapper[Cas, O, Decode]
- Inherited from:
- CassandraMapperConversionsLowPriorityImplicits
implicit def cassandraMapperEncode[T, Cas](implicit m: MappedEncoding[T, Cas], cas: CassandraType[Cas]): CassandraMapper[T, Cas, Encode]
- Inherited from:
- CassandraMapperConversions
implicit def cassandraMapperEncodeRec[I, O, Cas](implicit me: MappedEncoding[I, O], cm: CassandraMapper[O, Cas, Encode]): CassandraMapper[I, Cas, Encode]
- Inherited from:
- CassandraMapperConversionsLowPriorityImplicits
implicit def mappedDecoder[I, O](implicit mapped: MappedEncoding[I, O], d: MirrorDecoder[I]): MirrorDecoder[O]
- Inherited from:
- MirrorDecoders
implicit def mappedEncoder[I, O](implicit mapped: MappedEncoding[I, O], e: MirrorEncoder[O]): MirrorEncoder[I]
- Inherited from:
- MirrorEncoders