Java Doc for SchemaInfo.java in  » Database-Client » squirrel-sql-2.6.5a » net » sourceforge » squirrel_sql » client » session » schemainfo » 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 » Database Client » squirrel sql 2.6.5a » net.sourceforge.squirrel_sql.client.session.schemainfo 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   net.sourceforge.squirrel_sql.client.session.schemainfo.SchemaInfo

SchemaInfo
public class SchemaInfo (Code)

Inner Class :static interface i18n

Field Summary
final public static  intTABLE_EXT_COLS_LOADED_BEFORE
    
final public static  intTABLE_EXT_COLS_LOADED_IN_THIS_CALL
    
final public static  intTABLE_EXT_NOT_A_TABLE
    
 ISession_session
    
final  HashMap<CaseInsensitiveString, CaseInsensitiveString>_tablesLoadingColsInBackground
    

Constructor Summary
public  SchemaInfo(IApplication app)
    

Method Summary
public  voidaddSchemaInfoUpdateListener(SchemaInfoUpdateListener l)
    
public  voiddispose()
    
public  voidfireSchemaInfoUpdate()
    
public  StringgetCaseSensitiveProcedureName(String data)
    
public  StringgetCaseSensitiveTableName(String data)
     This method returns the case sensitive name of a table as it is stored in the database. The case sensitive name is needed for example if you want to retrieve a table's meta data.
public  String[]getCatalogs()
    
public  String[]getDataTypes()
    
public  ExtendedColumnInfo[]getExtendedColumnInfos(String tableName)
    
public  ExtendedColumnInfo[]getExtendedColumnInfos(String catalog, String schema, String tableName)
    
public  String[]getFunctions()
    
public  ITableInfo[]getITableInfos()
    
public  ITableInfo[]getITableInfos(String catalog, String schema)
    
public  ITableInfo[]getITableInfos(String catalog, String schema, String simpleName)
    
public  ITableInfo[]getITableInfos(String catalog, String schema, String tableNamePattern, String[] types)
    
public  String[]getKeywords()
    
public  String[]getSchemas()
    
public  IProcedureInfo[]getStoredProceduresInfos(String catalog, String schema)
    
public  IProcedureInfo[]getStoredProceduresInfos(String catalog, String schema, String procNamePattern)
    
public  String[]getTables()
    
public  voidinitialLoad(ISession session)
    
public  booleanisColumn(String data)
    
public  booleanisColumn(CaseInsensitiveString data)
     Retrieve whether the passed string is a column.
public  booleanisDataType(String data)
    
public  booleanisDataType(CaseInsensitiveString data)
     Retrieve whether the passed string is a data type.
public  booleanisFunction(String data)
    
public  booleanisFunction(CaseInsensitiveString data)
     Retrieve whether the passed string is a function.
public  booleanisKeyword(String data)
    
public  booleanisKeyword(CaseInsensitiveString data)
     Retrieve whether the passed string is a keyword.
public  booleanisLoaded()
    
public  booleanisProcedure(CaseInsensitiveString data)
    
public  booleanisTable(String data)
    
public  booleanisTable(CaseInsensitiveString data)
    
public  intisTableExt(CaseInsensitiveString data)
     Retrieve whether the passed string is a table and wether this table's colums where loaded before this call.
public  voidrefershCacheForSimpleTableName(String simpleTableName)
    
 voidrefershCacheForSimpleTableName(String simpleTableName, boolean fireSchemaInfoUpdate)
    
public  voidrefreshCacheForSimpleProcedureName(String simpleProcName)
    
 voidrefreshCacheForSimpleProcedureName(String simpleProcName, boolean fireSchemaInfoUpdate)
    
public  voidreload(IDatabaseObjectInfo doi)
    
 voidreload(IDatabaseObjectInfo doi, boolean fireSchemaInfoUpdate)
    
public  voidreloadAll()
    
 voidreloadAll(boolean fireSchemaInfoUpdate)
    
public  voidremoveSchemaInfoUpdateListener(SchemaInfoUpdateListener l)
    
public  voidwaitTillSchemasAndCatalogsLoaded()
    
public  voidwaitTillStoredProceduresLoaded()
    
public  voidwaitTillTablesLoaded()
    

Field Detail
TABLE_EXT_COLS_LOADED_BEFORE
final public static int TABLE_EXT_COLS_LOADED_BEFORE(Code)



TABLE_EXT_COLS_LOADED_IN_THIS_CALL
final public static int TABLE_EXT_COLS_LOADED_IN_THIS_CALL(Code)



TABLE_EXT_NOT_A_TABLE
final public static int TABLE_EXT_NOT_A_TABLE(Code)



_session
ISession _session(Code)



_tablesLoadingColsInBackground
final HashMap<CaseInsensitiveString, CaseInsensitiveString> _tablesLoadingColsInBackground(Code)




Constructor Detail
SchemaInfo
public SchemaInfo(IApplication app)(Code)




Method Detail
addSchemaInfoUpdateListener
public void addSchemaInfoUpdateListener(SchemaInfoUpdateListener l)(Code)



dispose
public void dispose()(Code)



fireSchemaInfoUpdate
public void fireSchemaInfoUpdate()(Code)



getCaseSensitiveProcedureName
public String getCaseSensitiveProcedureName(String data)(Code)



getCaseSensitiveTableName
public String getCaseSensitiveTableName(String data)(Code)
This method returns the case sensitive name of a table as it is stored in the database. The case sensitive name is needed for example if you want to retrieve a table's meta data. Quote from the API doc of DataBaseMetaData.getTables(): Parameters: ... tableNamePattern - a table name pattern; must match the table name as it is stored in the database
Parameters:
  data - The tables name in arbitrary case. the table name as it is stored in the database



getCatalogs
public String[] getCatalogs()(Code)



getDataTypes
public String[] getDataTypes()(Code)



getExtendedColumnInfos
public ExtendedColumnInfo[] getExtendedColumnInfos(String tableName)(Code)



getExtendedColumnInfos
public ExtendedColumnInfo[] getExtendedColumnInfos(String catalog, String schema, String tableName)(Code)



getFunctions
public String[] getFunctions()(Code)



getITableInfos
public ITableInfo[] getITableInfos()(Code)



getITableInfos
public ITableInfo[] getITableInfos(String catalog, String schema)(Code)



getITableInfos
public ITableInfo[] getITableInfos(String catalog, String schema, String simpleName)(Code)



getITableInfos
public ITableInfo[] getITableInfos(String catalog, String schema, String tableNamePattern, String[] types)(Code)



getKeywords
public String[] getKeywords()(Code)



getSchemas
public String[] getSchemas()(Code)



getStoredProceduresInfos
public IProcedureInfo[] getStoredProceduresInfos(String catalog, String schema)(Code)



getStoredProceduresInfos
public IProcedureInfo[] getStoredProceduresInfos(String catalog, String schema, String procNamePattern)(Code)



getTables
public String[] getTables()(Code)



initialLoad
public void initialLoad(ISession session)(Code)



isColumn
public boolean isColumn(String data)(Code)



isColumn
public boolean isColumn(CaseInsensitiveString data)(Code)
Retrieve whether the passed string is a column.
Parameters:
  keyword - String to check. true if a column.



isDataType
public boolean isDataType(String data)(Code)



isDataType
public boolean isDataType(CaseInsensitiveString data)(Code)
Retrieve whether the passed string is a data type.
Parameters:
  keyword - String to check. true if a data type.



isFunction
public boolean isFunction(String data)(Code)



isFunction
public boolean isFunction(CaseInsensitiveString data)(Code)
Retrieve whether the passed string is a function.
Parameters:
  keyword - String to check. true if a function.



isKeyword
public boolean isKeyword(String data)(Code)



isKeyword
public boolean isKeyword(CaseInsensitiveString data)(Code)
Retrieve whether the passed string is a keyword.
Parameters:
  keyword - String to check. true if a keyword.



isLoaded
public boolean isLoaded()(Code)



isProcedure
public boolean isProcedure(CaseInsensitiveString data)(Code)



isTable
public boolean isTable(String data)(Code)



isTable
public boolean isTable(CaseInsensitiveString data)(Code)



isTableExt
public int isTableExt(CaseInsensitiveString data)(Code)
Retrieve whether the passed string is a table and wether this table's colums where loaded before this call.
Parameters:
  keyword - String to check. true if a table.



refershCacheForSimpleTableName
public void refershCacheForSimpleTableName(String simpleTableName)(Code)



refershCacheForSimpleTableName
void refershCacheForSimpleTableName(String simpleTableName, boolean fireSchemaInfoUpdate)(Code)

Parameters:
  fireSchemaInfoUpdate - Should only be false when the caller makes sure fireSchemaInfoUpdate() is called later.



refreshCacheForSimpleProcedureName
public void refreshCacheForSimpleProcedureName(String simpleProcName)(Code)



refreshCacheForSimpleProcedureName
void refreshCacheForSimpleProcedureName(String simpleProcName, boolean fireSchemaInfoUpdate)(Code)

Parameters:
  fireSchemaInfoUpdate - Should only be false when the caller makes sure fireSchemaInfoUpdate() is called later.



reload
public void reload(IDatabaseObjectInfo doi)(Code)



reload
void reload(IDatabaseObjectInfo doi, boolean fireSchemaInfoUpdate)(Code)

Parameters:
  fireSchemaInfoUpdate - Should only be false when the caller makes sure fireSchemaInfoUpdate() is called later.



reloadAll
public void reloadAll()(Code)



reloadAll
void reloadAll(boolean fireSchemaInfoUpdate)(Code)

Parameters:
  fireSchemaInfoUpdate - Should only be false when the caller makes sure fireSchemaInfoUpdate() is called later.



removeSchemaInfoUpdateListener
public void removeSchemaInfoUpdateListener(SchemaInfoUpdateListener l)(Code)



waitTillSchemasAndCatalogsLoaded
public void waitTillSchemasAndCatalogsLoaded()(Code)



waitTillStoredProceduresLoaded
public void waitTillStoredProceduresLoaded()(Code)



waitTillTablesLoaded
public void waitTillTablesLoaded()(Code)



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.