-
- All Known Implementing Classes:
BaseSchema,BigQuerySchema,CockroachDBSchema,DB2Schema,DerbySchema,FirebirdSchema,H2Schema,HSQLDBSchema,IgniteThinSchema,InformixSchema,MySQLSchema,OracleSchema,PostgreSQLSchema,RedshiftSchema,SAPHANASchema,SnowflakeSchema,SpannerSchema,SQLiteSchema,SQLServerSchema,SybaseASESchema,SynapseSchema,YugabyteDBSchema
public interface Schema<D extends Database<?>,T extends Table<?,?>>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T[]allTables()Retrieves all the tables in this schema.voidclean()Cleans all the objects in this schema.voidcreate()Creates this schema in the database.voiddrop()Drops this schema from the database.booleanempty()booleanexists()Function<?,?>getFunction(String functionName, String... args)Retrieves the function with this name in this schema.StringgetName()Table<?,?>getTable(String tableName)Retrieves the table with this name in this schema.
-
-
-
Method Detail
-
getName
String getName()
-
exists
boolean exists()
-
empty
boolean empty()
-
create
void create()
Creates this schema in the database.
-
drop
void drop()
Drops this schema from the database.
-
clean
void clean()
Cleans all the objects in this schema.
-
allTables
T[] allTables()
Retrieves all the tables in this schema.
-
-