Class FromStatement

java.lang.Object
com.invirgance.convirgance.jdbc.sql.FromStatement
All Implemented Interfaces:
NamedSchema, SQLStatement

public class FromStatement extends Object implements SQLStatement, NamedSchema
Creates the FROM clause for a SQL query with the provided TabularStructure. Additionally supports table aliasing with the "AS" syntax when a name is provided.

 DatabaseSchemaLayout layout = new DatabaseSchemaLayout(driver, getHSQLDataSource());
 Table table = layout.getCurrentSchema().getTable("customer");
 
 FromStatement from = new FromStatement(layout, table);
 
Author:
jbanes