Tuples

ldbc.query.builder.interpreter.Tuples
object Tuples

An object with methods and types that perform processing on one or more informational Tuples.

Attributes

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

Members list

Type members

Types

type IndexOf[T <: Tuple, E] = T match { case E *: _$1 => 0 case _$2 *: es => S[IndexOf[es, E]] }

Type for obtaining location information inside the Tuple of the specified type.

Type for obtaining location information inside the Tuple of the specified type.

Attributes

Source
Tuples.scala
type InverseColumnMap[T] = T match { case EmptyTuple => EmptyTuple case Column[h] => h *: EmptyTuple case Column[h] *: EmptyTuple => h *: EmptyTuple case Column[h] *: t => h *: InverseColumnMap[t] }

Attributes

Source
Tuples.scala
type IsColumn[T] = T match { case EmptyTuple => false case Column[t] => true case Column[t] *: EmptyTuple => true case Column[t] *: ts => IsColumn[ts] case Any => false }

Type to verify that a tuple of a given type consists only of the type wrapped in Column.

Type to verify that a tuple of a given type consists only of the type wrapped in Column.

Attributes

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

Attributes

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

Attributes

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

Attributes

Source
Tuples.scala
type ToColumn[T] = T match { case t *: EmptyTuple => Column[t] case t *: ts => MapToColumn[t *: ts] case Any => Column[T] }

Attributes

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

Attributes

Source
Tuples.scala

Value members

Concrete methods

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

Attributes

Source
Tuples.scala