|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmondrian.spi.impl.JdbcDialectImpl
mondrian.spi.impl.PostgreSqlDialect
public class PostgreSqlDialect
Implementation of Dialect for the PostgreSQL database.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface mondrian.spi.Dialect |
|---|
Dialect.DatabaseProduct, Dialect.Datatype, Dialect.NullCollation |
| Field Summary | |
|---|---|
static JdbcDialectFactory |
FACTORY
|
| Fields inherited from class mondrian.spi.impl.JdbcDialectImpl |
|---|
databaseProduct, permitsSelectNotInGroupBy, productVersion |
| Constructor Summary | |
|---|---|
PostgreSqlDialect(java.sql.Connection connection)
Creates a PostgreSqlDialect. |
|
| Method Summary | |
|---|---|
boolean |
requiresAliasForFromQuery()
Returns whether this Dialect requires subqueries in the FROM clause to have an alias. |
boolean |
supportsOrderByNullsLast()
Returns whether this dialect supports "ASC NULLS LAST" and "DESC NULLS LAST" applied to an item in the ORDER BY clause. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final JdbcDialectFactory FACTORY
| Constructor Detail |
|---|
public PostgreSqlDialect(java.sql.Connection connection)
throws java.sql.SQLException
connection - Connection
java.sql.SQLException| Method Detail |
|---|
public boolean requiresAliasForFromQuery()
Dialect
requiresAliasForFromQuery in interface DialectrequiresAliasForFromQuery in class JdbcDialectImplDialect.allowsFromQuery()public boolean supportsOrderByNullsLast()
JdbcDialectImplThis feature is in standard SQL but is not supported by many
databases, therefore the default implementation returns false.
This method is only called from
JdbcDialectImpl.generateOrderItem(String, boolean, boolean). Some dialects
override that method and therefore never call this method.
supportsOrderByNullsLast in class JdbcDialectImpl
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||