TableExpression

data class TableExpression(val name: String, val tableAlias: String? = null, val catalog: String? = null, val schema: String? = null, val isLeafNode: Boolean = true, val extraProperties: Map<String, Any> = emptyMap()) : QuerySourceExpression(source)

Table expression.

Constructors

Link copied to clipboard
constructor(name: String, tableAlias: String? = null, catalog: String? = null, schema: String? = null, isLeafNode: Boolean = true, extraProperties: Map<String, Any> = emptyMap())

Properties

Link copied to clipboard
val catalog: String? = null

the table's catalog.

Link copied to clipboard
open override val extraProperties: Map<String, Any>

Extra properties of this expression, maybe useful in SqlFormatter to generate some special SQLs.

Link copied to clipboard
open override val isLeafNode: Boolean = true

Check if this expression is a leaf node in expression trees.

Link copied to clipboard

the table's name.

Link copied to clipboard
val schema: String? = null

the table's schema.

Link copied to clipboard
val tableAlias: String? = null

the table's alias.