Class SqliteTable
java.lang.Object
io.github.mrtesz.teszcore.db.table.sqlite.SqliteTable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdd a column to the tableAdd an indexAdd a unique key constellationcopy()Copy the executing classCreate the SQL queries to alter columns of the tableCreate the SQL queries to alter indexes of the tableCreate the SQL query to create the tablesetPrimaryKeys(String... keys) Set the Primary Keys of the Table
-
Constructor Details
-
SqliteTable
-
-
Method Details
-
addColumn
-
setPrimaryKeys
Description copied from interface:DBTableSet the Primary Keys of the Table- Specified by:
setPrimaryKeysin interfaceDBTable- Parameters:
keys- The keys, wich should be turned into Primarys
-
addUnique
Description copied from interface:DBTableAdd a unique key constellation -
addInt
-
addInt
-
addLong
-
addLong
-
addBigInt
-
addBigInt
-
addDouble
-
addDouble
-
addFloat
-
addFloat
-
addText
-
addText
-
addIndex
-
getCreateCommand
Description copied from interface:DBTableCreate the SQL query to create the table- Specified by:
getCreateCommandin interfaceDBTable- Returns:
- the SQL query to create the table
-
getAlterColumnsCommands
Description copied from interface:DBTableCreate the SQL queries to alter columns of the table- Specified by:
getAlterColumnsCommandsin interfaceDBTable- Returns:
- the SQL queries to alter the columns of the table mapped by invalid input: '<'columnName, command>
-
getAlterIndexCommands
Description copied from interface:DBTableCreate the SQL queries to alter indexes of the table- Specified by:
getAlterIndexCommandsin interfaceDBTable- Returns:
- the SQL queries to alter the indexes of the table mapped by invalid input: '<'indexName, command>
-
copy
Description copied from interface:CopyableCopy the executing class
-