All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ldbc.schema.interpreter.ColumnTuples.scala Maven / Gradle / Ivy

/**
 * Copyright (c) 2023-2024 by Takahiko Tominaga
 * This software is licensed under the MIT License (MIT).
 * For more information see LICENSE or https://opensource.org/licenses/MIT
 */

package ldbc.schema.interpreter

/**
 * Type to convert type from Tuple to Tuple in Colum.
 *
 * @tparam Types
 *   Tuple Type
 * @tparam F
 *   Column Type
 */
type ColumnTuples[Types <: Tuple, F[_]] = Types match
  case t *: EmptyTuple => F[t]
  case _               => Tuple.Map[Types, F]




© 2015 - 2024 Weber Informatics LLC | Privacy Policy