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

instep.dao.sql.impl.DefaultSQLPlan.kt Maven / Gradle / Ivy

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