Java Doc for IndexCursor.java in  » Database-DBMS » Quadcap-Embeddable-Database » com » quadcap » sql » 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 DBMS » Quadcap Embeddable Database » com.quadcap.sql 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.quadcap.sql.TupleImpl
      com.quadcap.sql.CursorImpl
         com.quadcap.sql.BC_Cursor
            com.quadcap.sql.IndexCursor

IndexCursor
public class IndexCursor extends BC_Cursor (Code)
Cursor for iterating an index.
author:
   Stan Bailes


Field Summary
 Comparatorcompare
    
 IndexConstraintconstraint
    
 Btreeindex
    
 VectorindexNames
    
 byte[]startVal
    
 StaticCursorstartVals
    
 byte[]stopVal
    
 StaticCursorstopVals
    
 Tabletable
    

Constructor Summary
public  IndexCursor(Table table, Session session, IndexConstraint constraint, Expression where, String qualifier, Cursor outerCursor)
    

Method Summary
public  voidafterLast()
    
public  voidbeforeFirst()
    
public  voidcheckCursor()
    
public  voiddeleteRow()
    
 voiddoOneBound(Session session, Expression a, Expression b, StaticCursor startVals, StaticCursor stopVals)
    
public  voidfetchCurrentRow()
    
public  IndexConstraintgetConstraint()
    
public  longgetCurrentRowId()
    
 voidgetCursorRange(Session session, Expression e, StaticCursor startVals, StaticCursor stopVals)
    
public  TablegetTable()
     Return the underlying table for this cursor.
public  voidinsertRow(Row row)
    
public  booleanisWritable(int col)
     All columns in an index cursor are writable.
static  Stringisa(Object x)
    
 StaticCursormakeValues(Session session, Table table, Value v)
    
public  booleannext()
    
public  booleanprev()
    
public  voidreset(Expression where, Cursor outer)
    
public  StringtoString()
    
public  voidupdateRow(Row row)
    

Field Detail
compare
Comparator compare(Code)



constraint
IndexConstraint constraint(Code)



index
Btree index(Code)



indexNames
Vector indexNames(Code)



startVal
byte[] startVal(Code)



startVals
StaticCursor startVals(Code)



stopVal
byte[] stopVal(Code)



stopVals
StaticCursor stopVals(Code)



table
Table table(Code)




Constructor Detail
IndexCursor
public IndexCursor(Table table, Session session, IndexConstraint constraint, Expression where, String qualifier, Cursor outerCursor) throws SQLException, IOException(Code)
IndexCursor construtor for the specified table (with optional where clause)




Method Detail
afterLast
public void afterLast() throws SQLException(Code)
Move the cursor to the beginning; before the first row



beforeFirst
public void beforeFirst() throws SQLException(Code)
Move the cursor to the beginning; before the first row



checkCursor
public void checkCursor() throws SQLException(Code)



deleteRow
public void deleteRow() throws SQLException(Code)
Delete the current cursor row



doOneBound
void doOneBound(Session session, Expression a, Expression b, StaticCursor startVals, StaticCursor stopVals) throws SQLException(Code)
Compare a single element to a bound to determine a possible limit



fetchCurrentRow
public void fetchCurrentRow() throws SQLException, IOException(Code)



getConstraint
public IndexConstraint getConstraint()(Code)



getCurrentRowId
public long getCurrentRowId() throws SQLException(Code)



getCursorRange
void getCursorRange(Session session, Expression e, StaticCursor startVals, StaticCursor stopVals) throws SQLException(Code)
Determine if an expression in the where clause can supply a lower or upper bound on the value of the index key



getTable
public Table getTable()(Code)
Return the underlying table for this cursor. Apparently, some poor cursors don't have tables! Can you imagine!



insertRow
public void insertRow(Row row) throws SQLException(Code)
Insert the specified row into the table referenced by this cursor



isWritable
public boolean isWritable(int col)(Code)
All columns in an index cursor are writable.



isa
static String isa(Object x)(Code)



makeValues
StaticCursor makeValues(Session session, Table table, Value v) throws SQLException(Code)
Make a row for the specified table and fill it with the specified value



next
public boolean next() throws SQLException(Code)
Cursor.next():



prev
public boolean prev() throws SQLException(Code)
Cursor.prev()



reset
public void reset(Expression where, Cursor outer) throws SQLException(Code)



toString
public String toString()(Code)



updateRow
public void updateRow(Row row) throws SQLException(Code)
Update the current row with the specified new values



Fields inherited from com.quadcap.sql.BC_Cursor
protected BCursor bc(Code)(Java Doc)
protected LazyRow row(Code)(Java Doc)
protected long rowId(Code)(Java Doc)
protected boolean rowValid(Code)(Java Doc)

Methods inherited from com.quadcap.sql.BC_Cursor
public boolean absolute(int x) throws SQLException(Code)(Java Doc)
public void afterLast() throws SQLException(Code)(Java Doc)
public void beforeFirst() throws SQLException(Code)(Java Doc)
abstract public void checkCursor() throws IOException, SQLException(Code)(Java Doc)
public void close() throws SQLException(Code)(Java Doc)
public void deleteRow() throws SQLException(Code)(Java Doc)
abstract public void fetchCurrentRow() throws IOException, SQLException(Code)(Java Doc)
abstract public long getCurrentRowId() throws IOException, SQLException(Code)(Java Doc)
public Row getRow() throws SQLException(Code)(Java Doc)
public long getRowId()(Code)(Java Doc)
public boolean isWritable(int column)(Code)(Java Doc)
public boolean next() throws SQLException(Code)(Java Doc)
public boolean prev() throws SQLException(Code)(Java Doc)
public long size() throws SQLException(Code)(Java Doc)
public void updateRow(Row row) throws SQLException(Code)(Java Doc)

Fields inherited from com.quadcap.sql.CursorImpl
protected Cursor outer(Code)(Java Doc)
protected Session session(Code)(Java Doc)

Methods inherited from com.quadcap.sql.CursorImpl
public boolean absolute(int row) throws SQLException(Code)(Java Doc)
abstract public void afterLast() throws SQLException(Code)(Java Doc)
abstract public void beforeFirst() throws SQLException(Code)(Java Doc)
abstract public void close() throws SQLException(Code)(Java Doc)
abstract public void deleteRow() throws SQLException(Code)(Java Doc)
static void dumpCursor(String label, Cursor c) throws SQLException(Code)(Java Doc)
public void finalize() throws Throwable(Code)(Java Doc)
public Column getColumn(String columnName) throws SQLException(Code)(Java Doc)
public Cursor getOuterCursor()(Code)(Java Doc)
abstract public Row getRow() throws SQLException(Code)(Java Doc)
public long getRowId()(Code)(Java Doc)
public Session getSession()(Code)(Java Doc)
public Table getTable()(Code)(Java Doc)
public void insertRow(Row row) throws SQLException(Code)(Java Doc)
abstract public boolean isWritable(int column) throws SQLException(Code)(Java Doc)
abstract public boolean next() throws SQLException(Code)(Java Doc)
public boolean prev() throws SQLException(Code)(Java Doc)
public void reset(Expression expr, Cursor outer) throws SQLException(Code)(Java Doc)
public void setOuterCursor(Cursor c)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
abstract public void updateRow(Row row) throws SQLException(Code)(Java Doc)

Fields inherited from com.quadcap.sql.TupleImpl
protected Vector columns(Code)(Java Doc)
protected HashMap names(Code)(Java Doc)
protected String qual(Code)(Java Doc)
protected String qualifier(Code)(Java Doc)

Methods inherited from com.quadcap.sql.TupleImpl
public void addColumn(Column col) throws SQLException(Code)(Java Doc)
public void addColumn(Column col, int pos) throws SQLException(Code)(Java Doc)
public void addColumn(String name, Type type) throws SQLException(Code)(Java Doc)
public void addColumns(Session session, Tuple t) throws SQLException(Code)(Java Doc)
public void addColumns(Session session, Tuple t, boolean resolve) throws SQLException(Code)(Java Doc)
public void deleteColumn(int col) throws SQLException, IOException(Code)(Java Doc)
public Column getColumn(int i) throws SQLException(Code)(Java Doc)
public Column getColumn(String name) throws SQLException(Code)(Java Doc)
public int getColumnCount() throws SQLException(Code)(Java Doc)
public int getColumnIndex(String name) throws SQLException(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public int[] mapColumns(Vector names) throws SQLException(Code)(Java Doc)
static int nextUnquotedPeriod(String s)(Code)(Java Doc)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException(Code)(Java Doc)
public void resolveColumns() throws SQLException(Code)(Java Doc)
public void setName(String name)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public void writeExternal(ObjectOutput out) throws IOException(Code)(Java Doc)

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.