IntermediateType
data class IntermediateType(val dialectType: DialectType, val javaType: TypeName = dialectType.javaType, val column: SqlColumnDef? = null, val name: String = "value", val bindArg: SqlBindExpr? = null, val assumedCompatibleTypes: List<IntermediateType> = emptyList(), val simplified: Boolean = false)
Internal representation for a column type, which has dialect data affinity as well as JVM class type.
Constructors
Link copied to clipboard
constructor(dialectType: DialectType, javaType: TypeName = dialectType.javaType, column: SqlColumnDef? = null, name: String = "value", bindArg: SqlBindExpr? = null, assumedCompatibleTypes: List<IntermediateType> = emptyList(), simplified: Boolean = false)
Properties
Link copied to clipboard
The types assumed to be compatible with this type. Validated at runtime.
Link copied to clipboard
Link copied to clipboard
If this type has been simplified by the SqlDelightDialect, it may not need things like an adapter.