|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ujorm.orm.SqlDialect
org.ujorm.orm.dialect.PostgreSqlDialect
public class PostgreSqlDialect
PostgreSQL (http://www.postgresql.org/)
| Field Summary |
|---|
| Fields inherited from class org.ujorm.orm.SqlDialect |
|---|
COMMON_SEQ_TABLE_KEY, DEFAULT_SCHEMA_SYMBOL, ormHandler |
| Constructor Summary | |
|---|---|
PostgreSqlDialect()
|
|
| Method Summary | |
|---|---|
protected String |
getColumnType(MetaColumn column)
PostgreSql dialect uses a database type OID (instead of the BLBO). |
String |
getJdbcDriver()
Returns a JDBC driver class name. |
String |
getJdbcUrl()
Returns a default JDBC URL |
Appendable |
printCreateSchema(String schema,
Appendable out)
Print SQL 'CREATE SCHEMA' |
Appendable |
printDelete(CriterionDecoder decoder,
Appendable out)
Print an SQL DELETE statement. |
Appendable |
printIndex(MetaIndex index,
Appendable out)
Print an INDEX for the parameter column. |
Appendable |
printIndexCondition(MetaIndex index,
Appendable out)
Create an PARTIAL INDEX for exclude NULL values. |
void |
printOffset(Query query,
Appendable out)
Print an OFFSET of the statement SELECT. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PostgreSqlDialect()
| Method Detail |
|---|
public String getJdbcUrl()
SqlDialect
getJdbcUrl in class SqlDialectpublic String getJdbcDriver()
SqlDialect
getJdbcDriver in class SqlDialect
public Appendable printCreateSchema(String schema,
Appendable out)
throws IOException
printCreateSchema in class SqlDialectIOExceptionprotected String getColumnType(MetaColumn column)
getColumnType in class SqlDialect
public Appendable printIndex(MetaIndex index,
Appendable out)
throws IOException
printIndex in class SqlDialectIOException
public Appendable printIndexCondition(MetaIndex index,
Appendable out)
throws IOException
IOException
public void printOffset(Query query,
Appendable out)
throws IOException
printOffset in class SqlDialectIOException
public Appendable printDelete(CriterionDecoder decoder,
Appendable out)
throws IOException
printDelete in class SqlDialectIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||