Java Doc for Dialect.java in  » Search-Engine » compass-2.0 » org » apache » lucene » store » jdbc » dialect » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Search Engine » compass 2.0 » org.apache.lucene.store.jdbc.dialect 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.lucene.store.jdbc.dialect.Dialect

All known Subclasses:   org.apache.lucene.store.jdbc.dialect.PostgreSQLDialect,  org.apache.lucene.store.jdbc.dialect.MySQLDialect,  org.apache.lucene.store.jdbc.dialect.H2Dialect,  org.apache.lucene.store.jdbc.dialect.InterbaseDialect,  org.apache.lucene.store.jdbc.dialect.HSQLDialect,  org.apache.lucene.store.jdbc.dialect.DB2Dialect,  org.apache.lucene.store.jdbc.dialect.OracleDialect,  org.apache.lucene.store.jdbc.dialect.SybaseDialect,
Dialect
abstract public class Dialect (Code)
A database specific abstraction. All other dialects must extend this Dialect.
author:
   kimchy




Method Summary
public  StringcloseBlobSelectQuote()
    
public  charcloseQuote()
     The closing quote for a quoted identifier .
abstract public  StringgetBitType()
     The database BIT type.
abstract public  StringgetBlobType(long length)
     The database blob type for the given length.
public  StringgetCascadeConstraintsString()
    
abstract public  StringgetCurrentTimestampFunction()
     The database current timestamp function that is used with several sql updates.
public  StringgetCurrentTimestampSelectString()
     The database current time stamp select query.
public  StringgetForUpdateNowaitString()
     Does this dialect support the Oracle-style FOR UPDATE NOWAIT syntax? Defaults to Dialect.getForUpdateString() .
public  StringgetForUpdateString()
     Does this dialect support the FOR UPDATE syntax? Defaults to for update.
abstract public  StringgetNumberType()
     The database number type.
public  StringgetTableTypeString()
     The type of the table that is created.
abstract public  StringgetTimestampType()
     The database TIMESTAMP type.
abstract public  StringgetVarcharType(int length)
     The database varchar type for the given length.
public  booleanisCurrentTimestampSelectStringCallable()
     If the current timestamp select queyr is a callable query or not.
public  StringopenBlobSelectQuote()
    
public  charopenQuote()
     The opening quote for a quoted identifier.
public  voidprocessSettings(JdbcDirectorySettings settings)
     Process settings and apply any dialect related changes.
public  StringsqlTableExists(String catalog, String schemaName)
     If the dialect support a special query to check if a table exists, the actual sql that is used to perform it.
public  booleansupportTransactionalScopedBlobs()
     Does the database (or the jdbc driver) supports transactional blob.
public  booleansupportsCurrentTimestampSelection()
     Does the database supports a query for the current timestamp.
abstract public  booleansupportsForUpdate()
     Does the database supports select ...
public  booleansupportsIfExistsAfterTableName()
     Does the database support "if exists" after the table name when constructing a sql drop for the table.
public  booleansupportsIfExistsBeforeTableName()
     Does the database support "if exists" before the table name when constructing a sql drop for the table.
public  booleansupportsTableExists()
     Does the dialect support a special query to check if a table exists.
public  booleanuseExistsBeforeInsertLock()
     Do we need to perform a special check to see if the lock already exists in the database, or should we try and insert it without checking.
public  booleanuseInputStreamToInsertBlob()
     Does the database require using an InputStream to insert a blob, or the setBlob method.



Method Detail
closeBlobSelectQuote
public String closeBlobSelectQuote()(Code)
Some database require quoting the blob in selects



closeQuote
public char closeQuote()(Code)
The closing quote for a quoted identifier . Defaults to ".



getBitType
abstract public String getBitType()(Code)
The database BIT type.



getBlobType
abstract public String getBlobType(long length)(Code)
The database blob type for the given length. The length is in KB.



getCascadeConstraintsString
public String getCascadeConstraintsString()(Code)
Completely optional cascading drop clause



getCurrentTimestampFunction
abstract public String getCurrentTimestampFunction()(Code)
The database current timestamp function that is used with several sql updates.



getCurrentTimestampSelectString
public String getCurrentTimestampSelectString()(Code)
The database current time stamp select query.



getForUpdateNowaitString
public String getForUpdateNowaitString()(Code)
Does this dialect support the Oracle-style FOR UPDATE NOWAIT syntax? Defaults to Dialect.getForUpdateString() .



getForUpdateString
public String getForUpdateString()(Code)
Does this dialect support the FOR UPDATE syntax? Defaults to for update.



getNumberType
abstract public String getNumberType()(Code)
The database number type.



getTableTypeString
public String getTableTypeString()(Code)
The type of the table that is created. Defaults to an empty string.



getTimestampType
abstract public String getTimestampType()(Code)
The database TIMESTAMP type.



getVarcharType
abstract public String getVarcharType(int length)(Code)
The database varchar type for the given length. The length is in chars.



isCurrentTimestampSelectStringCallable
public boolean isCurrentTimestampSelectStringCallable()(Code)
If the current timestamp select queyr is a callable query or not.



openBlobSelectQuote
public String openBlobSelectQuote()(Code)
Some database require quoting the blob in selects



openQuote
public char openQuote()(Code)
The opening quote for a quoted identifier. Defaults to ".



processSettings
public void processSettings(JdbcDirectorySettings settings)(Code)
Process settings and apply any dialect related changes. Defaults to do nothing.



sqlTableExists
public String sqlTableExists(String catalog, String schemaName)(Code)
If the dialect support a special query to check if a table exists, the actual sql that is used to perform it. Defaults to throw an Unsupported excetion (see Dialect.supportsTableExists() .



supportTransactionalScopedBlobs
public boolean supportTransactionalScopedBlobs()(Code)
Does the database (or the jdbc driver) supports transactional blob. Is so, can be used with the org.apache.lucene.store.jdbc.index.FetchPerTransactionJdbcIndexInput . Defaults to false.



supportsCurrentTimestampSelection
public boolean supportsCurrentTimestampSelection()(Code)
Does the database supports a query for the current timestamp. Defaults to false.



supportsForUpdate
abstract public boolean supportsForUpdate()(Code)
Does the database supports select ... for update sql clause?



supportsIfExistsAfterTableName
public boolean supportsIfExistsAfterTableName()(Code)
Does the database support "if exists" after the table name when constructing a sql drop for the table. Defaults to false.



supportsIfExistsBeforeTableName
public boolean supportsIfExistsBeforeTableName()(Code)
Does the database support "if exists" before the table name when constructing a sql drop for the table. Defaults to false.



supportsTableExists
public boolean supportsTableExists()(Code)
Does the dialect support a special query to check if a table exists. Defaults to false.



useExistsBeforeInsertLock
public boolean useExistsBeforeInsertLock()(Code)
Do we need to perform a special check to see if the lock already exists in the database, or should we try and insert it without checking. Defaults to true.



useInputStreamToInsertBlob
public boolean useInputStreamToInsertBlob()(Code)
Does the database require using an InputStream to insert a blob, or the setBlob method. Defaults to true.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.