com.vladsch.kotlin.jdbc.DbEntityExtractor.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kotlin-jdbc Show documentation
Show all versions of kotlin-jdbc Show documentation
A thin library that exposes JDBC API with the convenience of Kotlin and gets out of the way when not needed.
The newest version!
package com.vladsch.kotlin.jdbc
interface DbEntityExtractor {
fun getExtractEntityNameRegEx(entity: DbEntity): Regex?
fun getDropEntitySql(entityType: String, entityName: String): String
fun getShowEntitySql(entity: DbEntity, entityName: String): String
fun getListEntitiesSql(entity: DbEntity, schema: String): String
fun entityScriptFixer(entity: DbEntity, session: Session): DbEntityFixer
fun getDbEntities(dbEntity: DbEntity, session: Session): List
fun getEntityQuery(dbEntity: DbEntity, session: Session): SqlQuery
fun getDropEntitySql(entity: DbEntity, entityName: String): String
}