Java Doc for BaseAnalyzer.java in  » Database-Client » SQL-Workbench » workbench » gui » completion » 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 » SQL Workbench » workbench.gui.completion 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   workbench.gui.completion.BaseAnalyzer

All known Subclasses:   workbench.gui.completion.AlterTableAnalyzer,  workbench.gui.completion.WbCommandAnalyzer,  workbench.gui.completion.InsertAnalyzer,  workbench.gui.completion.SelectAnalyzer,  workbench.gui.completion.DdlAnalyzer,  workbench.gui.completion.UpdateAnalyzer,  workbench.gui.completion.DeleteAnalyzer,  workbench.gui.completion.CreateAnalyzer,
BaseAnalyzer
abstract public class BaseAnalyzer (Code)
Base class to analyze a SQL statement to find out what kind and which objects should be included in the auto-completion window
author:
   support@sql-workbench.net


Field Summary
final protected static  intCONTEXT_COLUMN_LIST
    
final protected static  intCONTEXT_FROM_LIST
    
final protected static  intCONTEXT_KW_LIST
    
final protected static  intCONTEXT_TABLE_LIST
    
final protected static  intCONTEXT_TABLE_OR_COLUMN_LIST
    
final protected static  intCONTEXT_WB_PARAMS
    
final protected static  intNO_CONTEXT
    
final public static  StringQUALIFIER_DELIM
    
final public static  StringSELECT_WORD_DELIM
    
final public static  StringWORD_DELIM
    
protected  booleanaddAllMarker
    
protected  intcontext
    
final protected  intcursorPos
    
protected  WbConnectiondbConnection
    
protected  Listelements
    
protected  StringkeywordFile
    
protected  BaseAnalyzerparentAnalyzer
    
protected  StringschemaForTableList
    
final protected  Stringsql
    
protected  TableIdentifiertableForColumnList
    
protected  Stringtitle
    

Constructor Summary
public  BaseAnalyzer(WbConnection conn, String statement, int cursorPos)
    

Method Summary
public  booleanappendDotToSelection()
    
protected  booleanbetween(int toTest, int start, int end)
    
abstract protected  voidcheckContext()
    
protected  voidcheckOverwrite()
    
public  StringgetColumnPrefix()
    
protected  StringgetCurrentWord()
    
public  ListgetData()
    
public  booleangetOverwriteCurrentWord()
    
protected  StringgetQualifierLeftOfCursor()
    
public  StringgetSelectionPrefix()
    
 TableIdentifiergetTableForColumnList()
    
protected  List<TableAlias>getTables()
    
public  StringgetTitle()
    
public  booleanisColumnList()
    
public  booleanisKeywordList()
    
public  booleanisWbParam()
    
public  charquoteCharForValue(String value)
    
public  voidretrieveObjects()
    
protected  voidsetAppendDot(boolean flag)
    
protected  voidsetColumnPrefix(String prefix)
     Set a prefix for columns that are added.
protected  voidsetOverwriteCurrentWord(boolean flag)
    
public  voidsetParent(BaseAnalyzer analyzer)
    
protected  voidsetTableTypeFilter(String filter)
    

Field Detail
CONTEXT_COLUMN_LIST
final protected static int CONTEXT_COLUMN_LIST(Code)



CONTEXT_FROM_LIST
final protected static int CONTEXT_FROM_LIST(Code)



CONTEXT_KW_LIST
final protected static int CONTEXT_KW_LIST(Code)



CONTEXT_TABLE_LIST
final protected static int CONTEXT_TABLE_LIST(Code)



CONTEXT_TABLE_OR_COLUMN_LIST
final protected static int CONTEXT_TABLE_OR_COLUMN_LIST(Code)



CONTEXT_WB_PARAMS
final protected static int CONTEXT_WB_PARAMS(Code)



NO_CONTEXT
final protected static int NO_CONTEXT(Code)



QUALIFIER_DELIM
final public static String QUALIFIER_DELIM(Code)



SELECT_WORD_DELIM
final public static String SELECT_WORD_DELIM(Code)



WORD_DELIM
final public static String WORD_DELIM(Code)



addAllMarker
protected boolean addAllMarker(Code)



context
protected int context(Code)



cursorPos
final protected int cursorPos(Code)



dbConnection
protected WbConnection dbConnection(Code)



elements
protected List elements(Code)



keywordFile
protected String keywordFile(Code)



parentAnalyzer
protected BaseAnalyzer parentAnalyzer(Code)



schemaForTableList
protected String schemaForTableList(Code)



sql
final protected String sql(Code)



tableForColumnList
protected TableIdentifier tableForColumnList(Code)



title
protected String title(Code)




Constructor Detail
BaseAnalyzer
public BaseAnalyzer(WbConnection conn, String statement, int cursorPos)(Code)




Method Detail
appendDotToSelection
public boolean appendDotToSelection()(Code)



between
protected boolean between(int toTest, int start, int end)(Code)



checkContext
abstract protected void checkContext()(Code)



checkOverwrite
protected void checkOverwrite()(Code)



getColumnPrefix
public String getColumnPrefix()(Code)



getCurrentWord
protected String getCurrentWord()(Code)



getData
public List getData()(Code)



getOverwriteCurrentWord
public boolean getOverwriteCurrentWord()(Code)



getQualifierLeftOfCursor
protected String getQualifierLeftOfCursor()(Code)



getSelectionPrefix
public String getSelectionPrefix()(Code)



getTableForColumnList
TableIdentifier getTableForColumnList()(Code)



getTables
protected List<TableAlias> getTables()(Code)



getTitle
public String getTitle()(Code)



isColumnList
public boolean isColumnList()(Code)



isKeywordList
public boolean isKeywordList()(Code)



isWbParam
public boolean isWbParam()(Code)



quoteCharForValue
public char quoteCharForValue(String value)(Code)



retrieveObjects
public void retrieveObjects()(Code)



setAppendDot
protected void setAppendDot(boolean flag)(Code)



setColumnPrefix
protected void setColumnPrefix(String prefix)(Code)
Set a prefix for columns that are added. If this value is set, any column that the user selects, will be prefixed with this string (plus a dot) This is used when the FROM list in a SELECT statement contains more than one column



setOverwriteCurrentWord
protected void setOverwriteCurrentWord(boolean flag)(Code)



setParent
public void setParent(BaseAnalyzer analyzer)(Code)



setTableTypeFilter
protected void setTableTypeFilter(String filter)(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.