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

com.dbobjekts.statement.whereclause.WhereClauseComponent.kt Maven / Gradle / Ivy

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

import com.dbobjekts.statement.ConditionJoinType
import com.dbobjekts.statement.SQLOptions

/**
 * Either a Condition (name eq "John") or a Subclause (age > 18 and married eq false)
 * ClauseElements can be nested to form a complex whereclause, e.g. where age > 18 or (age < 18 and married eq false)
 */
abstract class WhereClauseComponent {

    internal abstract val joinType: ConditionJoinType

    internal abstract val keyword: String

    internal abstract fun getChildren(): List

    internal abstract fun toSQL(options: SQLOptions): String
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy