org.openrdf.sesame.sailimpl.rdbms
Class PostgreSQL

java.lang.Object
  extended byorg.openrdf.sesame.sailimpl.rdbms.RDBMS
      extended byorg.openrdf.sesame.sailimpl.rdbms.PostgreSQL

public class PostgreSQL
extends RDBMS

Defines PostgreSQL specific SQL syntax.


Field Summary
 
Fields inherited from class org.openrdf.sesame.sailimpl.rdbms.RDBMS
BOOLEAN, BOOLEAN_TYPE, FALSE, ID_INT, ID_INT_TYPE, INFOFIELD, INFOFIELD_TYPE, LABEL, LABEL_HASH, LABEL_HASH_TYPE, LABEL_TYPE, LANGUAGE, LANGUAGE_TYPE, LOCALNAME, LOCALNAME_TYPE, MAX_PREFIX_LENGTH, NAME, NAME_TYPE, PREFIX, PREFIX_TYPE, TRUE
 
Constructor Summary
PostgreSQL()
          Initializes PostgreSQL specific SQL syntax.
 
Method Summary
 String getPatternMatchExpr(String pattern, boolean caseSensitive)
           
 String getPatternMatchOperator(boolean caseSensitive)
           
 void optimizeTable(String tableName)
          Optimizes a table.
 boolean supportsPatternMatches(boolean caseSensitive)
           
 
Methods inherited from class org.openrdf.sesame.sailimpl.rdbms.RDBMS
clearTable, convertBoolean, copyDistinctRows, copyRows, createIndex, createIndex, createInstance, createUniqueIndex, disconnect, dropIndex, dropIndex, dropTable, emptyStringIsNull, escapeString, executeUpdate, getConnection, getIndexName, getIndexName, getSearchStringEscape, optimizeTable, queryHasResults, renameTable, renameTableColumn, setConnectionInfo, supportsLikeEscapeClause, tableExists
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostgreSQL

public PostgreSQL()
Initializes PostgreSQL specific SQL syntax.

Method Detail

optimizeTable

public void optimizeTable(String tableName)
                   throws SQLException
Description copied from class: RDBMS
Optimizes a table. The actual action taken depends on the database.

Overrides:
optimizeTable in class RDBMS
Throws:
SQLException

supportsPatternMatches

public boolean supportsPatternMatches(boolean caseSensitive)
Overrides:
supportsPatternMatches in class RDBMS

getPatternMatchOperator

public String getPatternMatchOperator(boolean caseSensitive)
Overrides:
getPatternMatchOperator in class RDBMS

getPatternMatchExpr

public String getPatternMatchExpr(String pattern,
                                  boolean caseSensitive)
Overrides:
getPatternMatchExpr in class RDBMS


Copyright © 2002-2006 Aduna BV, GNU LGPL License applies.