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

com.dbobjekts.api.Tuples.kt Maven / Gradle / Ivy

There is a newer version: 0.6.0-RC2
Show newest version
package com.dbobjekts.api

import java.io.Serializable

/**
 * Container for a parameterized result row.
 */
data class Tuple2(
    val v1: T1,
    val v2: T2
) : Serializable {

    override fun toString(): String = "($v1, $v2)"
}

/**
 * Container for a parameterized result row.
 */
data class Tuple3(
    val v1: T1,
    val v2: T2,
    val v3: T3
) : Serializable {

    override fun toString(): String = "($v1, $v2, $v3)"
}

/**
 * Container for a parameterized result row.
 */
data class Tuple4(
    val v1: T1,
    val v2: T2,
    val v3: T3,
    val v4: T4
) : Serializable {

    override fun toString(): String = "($v1, $v2, $v3, $v4)"
}

/**
 * Container for a parameterized result row.
 */
data class Tuple5(
    val v1: T1, val v2: T2, val v3: T3, val v4: T4, val v5: T5
) : Serializable {

    override fun toString(): String = "($v1, $v2, $v3, $v4, $v5)"
}

/**
 * Container for a parameterized result row.
 */
data class Tuple6(
    val v1: T1, val v2: T2, val v3: T3, val v4: T4, val v5: T5, val v6: T6
) : Serializable {

    override fun toString(): String = "($v1, $v2, $v3, $v4, $v5, $v6)"
}

/**
 * Container for a parameterized result row.
 */
data class Tuple7(
    val v1: T1, val v2: T2, val v3: T3, val v4: T4, val v5: T5, val v6: T6, val v7: T7
) : Serializable {

    override fun toString(): String = "($v1, $v2, $v3, $v4, $v5, $v6, $v7)"
}

/**
 * Container for a parameterized result row.
 */
data class Tuple8(
    val v1: T1, val v2: T2, val v3: T3, val v4: T4, val v5: T5, val v6: T6, val v7: T7, val v8: T8
) : Serializable {

    override fun toString(): String = "($v1, $v2, $v3, $v4, $v5, $v6, $v7, $v8)"
}

/**
 * Container for a parameterized result row.
 */
data class Tuple9(
    val v1: T1, val v2: T2, val v3: T3, val v4: T4, val v5: T5, val v6: T6, val v7: T7, val v8: T8, val v9: T9
) : Serializable {

    override fun toString(): String = "($v1, $v2, $v3, $v4, $v5, $v6, $v7, $v8, $v9)"
}

/**
 * Container for a parameterized result row.
 */
data class Tuple10(
    val v1: T1,
    val v2: T2,
    val v3: T3,
    val v4: T4,
    val v5: T5,
    val v6: T6,
    val v7: T7,
    val v8: T8,
    val v9: T9,
    val v10: T10
) : Serializable {

    override fun toString(): String = "($v1, $v2, $v3, $v4, $v5, $v6, $v7, $v8, $v9, $v10)"
}

/**
 * Container for a parameterized result row.
 */
data class Tuple11(
    val v1: T1,
    val v2: T2,
    val v3: T3,
    val v4: T4,
    val v5: T5,
    val v6: T6,
    val v7: T7,
    val v8: T8,
    val v9: T9,
    val v10: T10,
    val v11: T11
) : Serializable {

    override fun toString(): String = "($v1, $v2, $v3, $v4, $v5, $v6, $v7, $v8, $v9, $v10, $v11)"
}

/**
 * Container for a parameterized result row.
 */
data class Tuple12(
    val v1: T1,
    val v2: T2,
    val v3: T3,
    val v4: T4,
    val v5: T5,
    val v6: T6,
    val v7: T7,
    val v8: T8,
    val v9: T9,
    val v10: T10,
    val v11: T11,
    val v12: T12
) : Serializable {

    override fun toString(): String = "($v1, $v2, $v3, $v4, $v5, $v6, $v7, $v8, $v9, $v10, $v11, $v12)"
}

/**
 * Container for a parameterized result row.
 */
data class Tuple13(
    val v1: T1,
    val v2: T2,
    val v3: T3,
    val v4: T4,
    val v5: T5,
    val v6: T6,
    val v7: T7,
    val v8: T8,
    val v9: T9,
    val v10: T10,
    val v11: T11,
    val v12: T12,
    val v13: T13
) : Serializable {

    override fun toString(): String = "($v1, $v2, $v3, $v4, $v5, $v6, $v7, $v8, $v9, $v10, $v11, $v12, $v13)"
}

/**
 * Container for a parameterized result row.
 */
data class Tuple14(
    val v1: T1,
    val v2: T2,
    val v3: T3,
    val v4: T4,
    val v5: T5,
    val v6: T6,
    val v7: T7,
    val v8: T8,
    val v9: T9,
    val v10: T10,
    val v11: T11,
    val v12: T12,
    val v13: T13,
    val v14: T14
) : Serializable {

    override fun toString(): String = "($v1, $v2, $v3, $v4, $v5, $v6, $v7, $v8, $v9, $v10, $v11, $v12, $v13, $v14)"
}

/**
 * Container for a parameterized result row.
 */
data class Tuple15(
    val v1: T1,
    val v2: T2,
    val v3: T3,
    val v4: T4,
    val v5: T5,
    val v6: T6,
    val v7: T7,
    val v8: T8,
    val v9: T9,
    val v10: T10,
    val v11: T11,
    val v12: T12,
    val v13: T13,
    val v14: T14,
    val v15: T15
) : Serializable {

    override fun toString(): String =
        "($v1, $v2, $v3, $v4, $v5, $v6, $v7, $v8, $v9, $v10, $v11, $v12, $v13, $v14, $v15)"
}

/**
 * Container for a parameterized result row.
 */
data class Tuple16(
    val v1: T1,
    val v2: T2,
    val v3: T3,
    val v4: T4,
    val v5: T5,
    val v6: T6,
    val v7: T7,
    val v8: T8,
    val v9: T9,
    val v10: T10,
    val v11: T11,
    val v12: T12,
    val v13: T13,
    val v14: T14,
    val v15: T15,
    val v16: T16
) : Serializable {

    override fun toString(): String =
        "($v1, $v2, $v3, $v4, $v5, $v6, $v7, $v8, $v9, $v10, $v11, $v12, $v13, $v14, $v15, $v16)"
}

/**
 * Container for a parameterized result row.
 */
data class Tuple17(
    val v1: T1,
    val v2: T2,
    val v3: T3,
    val v4: T4,
    val v5: T5,
    val v6: T6,
    val v7: T7,
    val v8: T8,
    val v9: T9,
    val v10: T10,
    val v11: T11,
    val v12: T12,
    val v13: T13,
    val v14: T14,
    val v15: T15,
    val v16: T16,
    val v17: T17
) : Serializable {

    override fun toString(): String =
        "($v1, $v2, $v3, $v4, $v5, $v6, $v7, $v8, $v9, $v10, $v11, $v12, $v13, $v14, $v15, $v16, $v17)"
}

/**
 * Container for a parameterized result row.
 */
data class Tuple18(
    val v1: T1,
    val v2: T2,
    val v3: T3,
    val v4: T4,
    val v5: T5,
    val v6: T6,
    val v7: T7,
    val v8: T8,
    val v9: T9,
    val v10: T10,
    val v11: T11,
    val v12: T12,
    val v13: T13,
    val v14: T14,
    val v15: T15,
    val v16: T16,
    val v17: T17,
    val v18: T18
) : Serializable {

    override fun toString(): String =
        "($v1, $v2, $v3, $v4, $v5, $v6, $v7, $v8, $v9, $v10, $v11, $v12, $v13, $v14, $v15, $v16, $v17, $v18)"
}

/**
 * Container for a parameterized result row.
 */
data class Tuple19(
    val v1: T1,
    val v2: T2,
    val v3: T3,
    val v4: T4,
    val v5: T5,
    val v6: T6,
    val v7: T7,
    val v8: T8,
    val v9: T9,
    val v10: T10,
    val v11: T11,
    val v12: T12,
    val v13: T13,
    val v14: T14,
    val v15: T15,
    val v16: T16,
    val v17: T17,
    val v18: T18,
    val v19: T19
) : Serializable {

    override fun toString(): String =
        "($v1, $v2, $v3, $v4, $v5, $v6, $v7, $v8, $v9, $v10, $v11, $v12, $v13, $v14, $v15, $v16, $v17, $v18, $v19)"
}

/**
 * Container for a parameterized result row.
 */
data class Tuple20(
    val v1: T1,
    val v2: T2,
    val v3: T3,
    val v4: T4,
    val v5: T5,
    val v6: T6,
    val v7: T7,
    val v8: T8,
    val v9: T9,
    val v10: T10,
    val v11: T11,
    val v12: T12,
    val v13: T13,
    val v14: T14,
    val v15: T15,
    val v16: T16,
    val v17: T17,
    val v18: T18,
    val v19: T19,
    val v20: T20
) : Serializable {

    override fun toString(): String =
        "($v1, $v2, $v3, $v4, $v5, $v6, $v7, $v8, $v9, $v10, $v11, $v12, $v13, $v14, $v15, $v16, $v17, $v18, $v19, $v20)"
}

/**
 * Container for a parameterized result row.
 */
data class Tuple21(
    val v1: T1,
    val v2: T2,
    val v3: T3,
    val v4: T4,
    val v5: T5,
    val v6: T6,
    val v7: T7,
    val v8: T8,
    val v9: T9,
    val v10: T10,
    val v11: T11,
    val v12: T12,
    val v13: T13,
    val v14: T14,
    val v15: T15,
    val v16: T16,
    val v17: T17,
    val v18: T18,
    val v19: T19,
    val v20: T20,
    val v21: T21
) : Serializable {

    override fun toString(): String =
        "($v1, $v2, $v3, $v4, $v5, $v6, $v7, $v8, $v9, $v10, $v11, $v12, $v13, $v14, $v15, $v16, $v17, $v18, $v19, $v20, $v21)"
}

/**
 * Container for a parameterized result row.
 */
data class Tuple22(
    val v1: T1,
    val v2: T2,
    val v3: T3,
    val v4: T4,
    val v5: T5,
    val v6: T6,
    val v7: T7,
    val v8: T8,
    val v9: T9,
    val v10: T10,
    val v11: T11,
    val v12: T12,
    val v13: T13,
    val v14: T14,
    val v15: T15,
    val v16: T16,
    val v17: T17,
    val v18: T18,
    val v19: T19,
    val v20: T20,
    val v21: T21,
    val v22: T22
) : Serializable {

    override fun toString(): String =
        "($v1, $v2, $v3, $v4, $v5, $v6, $v7, $v8, $v9, $v10, $v11, $v12, $v13, $v14, $v15, $v16, $v17, $v18, $v19, $v20, $v21, $v22)"
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy