public class PostgresMetaData extends GenericMetaData
Modifier | Constructor and Description |
---|---|
protected |
PostgresMetaData(javax.sql.DataSource ds) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
createSequenceSQL(java.lang.String name,
int size)
Returns a sequence select expression.
|
java.lang.String |
generateBoolean(java.lang.String term)
Returns the code to test for a boolean value for a term.
|
java.lang.String |
getFalseLiteral()
Returns the literal for FALSE.
|
java.lang.String |
selectSequenceSQL(java.lang.String name)
Returns a sequence select expression.
|
boolean |
supportsPositionFunction()
Returns true if the POSITION function is supported.
|
boolean |
supportsSequences()
Returns true if sequences are supported.
|
boolean |
supportsUpdateTableAlias()
Returns true if table alias name with UPDATE is supported.
|
java.lang.String |
testSequenceSQL(java.lang.String name)
Returns a sequence select expression.
|
createIdentitySQL, getBlobType, getCreateColumnSQL, getCreateColumnSQLImpl, getDefaultCreateTableSQL, getLongType, supportsGetGeneratedKeys, supportsIdentity, supportsUpdateTableList
create, getConnection, getDatabaseName, isForeignKeyViolationSQLState, isLimit, isLimitOffset, isTruncateBlobBeforeDelete, isUniqueConstraintSQLState, limit
public java.lang.String getFalseLiteral()
getFalseLiteral
in class GenericMetaData
public boolean supportsPositionFunction()
supportsPositionFunction
in class GenericMetaData
public boolean supportsSequences()
supportsSequences
in class GenericMetaData
public boolean supportsUpdateTableAlias()
supportsUpdateTableAlias
in class GenericMetaData
public java.lang.String createSequenceSQL(java.lang.String name, int size)
createSequenceSQL
in class GenericMetaData
public java.lang.String selectSequenceSQL(java.lang.String name)
selectSequenceSQL
in class GenericMetaData
public java.lang.String testSequenceSQL(java.lang.String name)
testSequenceSQL
in class JdbcMetaData
public java.lang.String generateBoolean(java.lang.String term)
generateBoolean
in class JdbcMetaData