public final class StatementFactory extends Object
StatementFactory implements an factory for SQL statements.| Modifier and Type | Method and Description |
|---|---|
CreateTable |
createTable(String tableName)
Create a
CreateTable statement |
static StatementFactory |
getInstance()
Get an instance of a
StatementFactory |
Insert |
insertInto(String tableName)
Create an
Insert statement |
Select |
select()
Create a
Select statement |
public static StatementFactory getInstance()
StatementFactorypublic Select select()
Select statementSelect statementpublic Insert insertInto(String tableName)
Insert statementtableName - name of the table into which to insert the dataInsert statementpublic CreateTable createTable(String tableName)
CreateTable statementtableName - name of the table to createCreateTable statementCopyright © 2018–2019. All rights reserved.