Package de.jaggl.sqlbuilder.queries
Interface Queries
-
public interface Queries- Since:
- 2.0.0
- Author:
- Martin Schumacher
-
-
Method Summary
Static Methods Modifier and Type Method Description static CreateTablecreateTable(Table table)Creates aCreateTablefor the givenTablestatic DeletedeleteFrom(Table table)static InsertinsertInto(Table table)static Selectselect(Selectable... selectables)Creates aSelectwith the givenSelectablesstatic SelectselectDistinct(Selectable... selectables)Creates aSelectwith the givenSelectables and the DISTINCT-keywordstatic Updateupdate(Table table)
-
-
-
Method Detail
-
createTable
static CreateTable createTable(Table table)
Creates aCreateTablefor the givenTable- Parameters:
table- theTableto create theCreateTablefor- Returns:
- the created
CreateTable
-
select
static Select select(Selectable... selectables)
Creates aSelectwith the givenSelectables- Parameters:
selectables- theSelectables to create theSelectfor- Returns:
- the created
Select
-
selectDistinct
static Select selectDistinct(Selectable... selectables)
Creates aSelectwith the givenSelectables and the DISTINCT-keyword- Parameters:
selectables- theSelectables to create theSelectfor- Returns:
- the created
Select
-
-