instep.dao.sql.impl.DefaultSQLPlan.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of instep-dao Show documentation
Show all versions of instep-dao Show documentation
Tools are designed for more easier coding.
The newest version!
package instep.dao.sql.impl
import instep.InstepLogger
import instep.dao.AbstractExpression
import instep.dao.Expression
import instep.dao.sql.SQLPlan
abstract class AbstractSQLPlan>(txt: String) : AbstractExpression(txt), SQLPlan {
override val logger: InstepLogger = InstepLogger.getLogger(SQLPlan::class.java)
override val subPlans: MutableList> = mutableListOf()
override fun addSubPlan(plan: SQLPlan<*>): SQLPlan<*> {
subPlans.add(plan)
return this
}
}
abstract class AbstractTablePlan>() : AbstractSQLPlan("") {
override val text: String
get() {
return statement
}
}
open class DefaultSQLPlan(txt: String) : AbstractSQLPlan(txt), Expression {
override val statement: String
get() {
return text
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy