Class SQLStatement.SQLStatementBuilder
java.lang.Object
com.github.tadukoo.database.mysql.syntax.statement.SQLStatement.SQLStatementBuilder
- Enclosing class:
- SQLStatement
A builder class used to start building a SQL Statement. The following options are available:
Type | Class |
---|---|
select | SQLSelectStatement |
insert | SQLInsertStatement |
update | SQLUpdateStatement |
delete | SQLDeleteStatement |
create | SQLCreateStatement |
drop | SQLDropStatement |
alter | SQLAlterStatement |
- Version:
- Alpha v.0.3
- Author:
- Logan Ferree (Tadukoo)
-
Constructor Details
-
SQLStatementBuilder
private SQLStatementBuilder()Not allowed to instantiate outsideSQLStatement
-
-
Method Details
-
select
- Returns:
- A
builder
to use to make aSQLSelectStatement
-
insert
- Returns:
- A
builder
to use to make aSQLInsertStatement
-
update
- Returns:
- A
builder
to use to make aSQLUpdateStatement
-
delete
- Returns:
- A
builder
to use to make aSQLDeleteStatement
-
create
- Returns:
- A
builder
to use to create aSQLCreateStatement
-
drop
- Returns:
- A
builder
to use to create aSQLDropStatement
-
alter
- Returns:
- A
builder
to use to create aSQLAlterStatement
-