org.apache.lucene.store.jdbc.dialect
Class InterbaseDialect

java.lang.Object
  extended by org.apache.lucene.store.jdbc.dialect.Dialect
      extended by org.apache.lucene.store.jdbc.dialect.InterbaseDialect
Direct Known Subclasses:
FirebirdDialect

public class InterbaseDialect
extends Dialect

An Interbase dialect.

Author:
kimchy

Constructor Summary
InterbaseDialect()
           
 
Method Summary
 String getBitType()
          The database BIT type.
 String getBlobType(long length)
          The database blob type for the given length.
 String getCurrentTimestampFunction()
          The database current timestamp function that is used with several sql updates.
 String getForUpdateString()
          Does this dialect support the FOR UPDATE syntax?
 String getNumberType()
          The database number type.
 String getTimestampType()
          The database TIMESTAMP type.
 String getVarcharType(int length)
          The database varchar type for the given length.
 boolean supportsForUpdate()
          Does the database supports select ... for update sql clause?
 
Methods inherited from class org.apache.lucene.store.jdbc.dialect.Dialect
closeBlobSelectQuote, closeQuote, getCascadeConstraintsString, getCurrentTimestampSelectString, getForUpdateNowaitString, getTableTypeString, isCurrentTimestampSelectStringCallable, openBlobSelectQuote, openQuote, processSettings, sqlTableExists, supportsCurrentTimestampSelection, supportsIfExistsAfterTableName, supportsIfExistsBeforeTableName, supportsTableExists, supportTransactionalScopedBlobs, useExistsBeforeInsertLock, useInputStreamToInsertBlob
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterbaseDialect

public InterbaseDialect()
Method Detail

supportsForUpdate

public boolean supportsForUpdate()
Description copied from class: Dialect
Does the database supports select ... for update sql clause?

Specified by:
supportsForUpdate in class Dialect

getForUpdateString

public String getForUpdateString()
Description copied from class: Dialect
Does this dialect support the FOR UPDATE syntax? Defaults to for update.

Overrides:
getForUpdateString in class Dialect

getVarcharType

public String getVarcharType(int length)
Description copied from class: Dialect
The database varchar type for the given length. The length is in chars.

Specified by:
getVarcharType in class Dialect

getBlobType

public String getBlobType(long length)
Description copied from class: Dialect
The database blob type for the given length. The length is in KB.

Specified by:
getBlobType in class Dialect

getNumberType

public String getNumberType()
Description copied from class: Dialect
The database number type.

Specified by:
getNumberType in class Dialect

getTimestampType

public String getTimestampType()
Description copied from class: Dialect
The database TIMESTAMP type.

Specified by:
getTimestampType in class Dialect

getCurrentTimestampFunction

public String getCurrentTimestampFunction()
Description copied from class: Dialect
The database current timestamp function that is used with several sql updates.

Specified by:
getCurrentTimestampFunction in class Dialect

getBitType

public String getBitType()
Description copied from class: Dialect
The database BIT type.

Specified by:
getBitType in class Dialect


Copyright (c) 2004-2009 The Compass Project.