Tuples

ldbc.query.builder.interpreter.Tuples
object Tuples

Attributes

Source
Tuples.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Tuples.type

Members list

Type members

Types

type InverseColumnMap[T] = T match { case EmptyTuple => EmptyTuple case ColumnQuery[h] => h *: EmptyTuple case ColumnQuery[h] *: EmptyTuple => h *: EmptyTuple case ColumnQuery[h] *: t => h *: InverseColumnMap[t] }

Attributes

Source
Tuples.scala
type IsColumnQuery[T] = T match { case EmptyTuple => false case ColumnQuery[h] => true case ColumnQuery[h] *: EmptyTuple => true case ColumnQuery[h] *: t => IsColumnQuery[t] case Any => false }

Attributes

Source
Tuples.scala
type IsTableOpt[T] = T match { case EmptyTuple => false case TableOpt[p] => true case TableOpt[p] *: EmptyTuple => true case TableOpt[p] *: ts => IsTableQuery[ts] case Any => false }

Attributes

Source
Tuples.scala
type IsTableQuery[T] = T match { case EmptyTuple => false case TableQuery[p] => true case TableQuery[p] *: EmptyTuple => true case TableQuery[p] *: ts => IsTableQuery[ts] case Any => false }

Attributes

Source
Tuples.scala
type IsTableQueryOpt[T] = T match { case EmptyTuple => false case TableQuery[p] => true case TableOpt[p] => true case TableQuery[p] *: EmptyTuple => true case TableOpt[p] *: EmptyTuple => true case TableQuery[p] *: ts => IsTableQueryOpt[ts] case TableOpt[p] *: ts => IsTableQueryOpt[ts] case Any => false }

Attributes

Source
Tuples.scala
type MapToColumn[T <: Tuple] = T match { case EmptyTuple => EmptyTuple case h *: EmptyTuple => ColumnQuery[h] *: EmptyTuple case h *: t => ColumnQuery[h] *: MapToColumn[t] }

Attributes

Source
Tuples.scala
type ToColumn[T] = T match { case Tuple => MapToColumn[T] case Any => ColumnQuery[T] }

Attributes

Source
Tuples.scala
type ToTableOpt[T <: Tuple] = T match { case TableQuery[t] *: EmptyTuple => TableOpt[t] *: EmptyTuple case TableOpt[t] *: EmptyTuple => TableOpt[t] *: EmptyTuple case TableQuery[t] *: ts => TableOpt[t] *: ToTableOpt[ts] case TableOpt[t] *: ts => TableOpt[t] *: ToTableOpt[ts] }

Attributes

Source
Tuples.scala

Value members

Concrete methods

def toTableOpt[T <: Tuple](tuple: T)(using IsTableQueryOpt[T] =:= true): ToTableOpt[T]

Attributes

Source
Tuples.scala