Java Doc for RowInputBinary.java in  » Database-DBMS » hsql » org » hsqldb » rowio » 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 » hsql » org.hsqldb.rowio 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.hsqldb.rowio.RowInputBase
   org.hsqldb.rowio.RowInputBinary

RowInputBinary
public class RowInputBinary extends RowInputBase implements org.hsqldb.rowio.RowInputInterface(Code)
Provides methods for reading the data for a row from a byte array. The format of data is that used for storage of cached tables by v.1.6.x databases, apart from strings.
author:
   sqlbob@users (RMP)
author:
   fredt@users
version:
   1.7.2
since:
   1.7.0



Constructor Summary
public  RowInputBinary()
    
public  RowInputBinary(byte[] buf)
    
public  RowInputBinary(RowOutputBinary out)
     uses the byte[] buffer from out.

Method Summary
protected  booleancheckNull()
    
protected  LongreadBigint()
    
protected  BinaryreadBinary(int type)
    
protected  BooleanreadBit()
    
protected  byte[]readByteArray()
    
protected  StringreadChar(int type)
    
protected  DatereadDate()
    
protected  BigDecimalreadDecimal()
    
public  intreadIntData()
    
protected  IntegerreadInteger()
    
public  longreadLongData()
    
protected  ObjectreadOther()
    
protected  DoublereadReal(int type)
    
public  shortreadShortData()
    
protected  IntegerreadSmallint()
    
public  StringreadString()
    
protected  TimereadTime()
    
protected  TimestampreadTimestamp()
    
public  intreadType()
    
public  voidresetRow(int rowsize)
     Used to reset the row, ready for Result data to be written into the byte[] buffer by an external routine.
public  voidresetRow(int filepos, int rowsize)
     Used to reset the row, ready for a new db row to be written into the byte[] buffer by an external routine.


Constructor Detail
RowInputBinary
public RowInputBinary()(Code)



RowInputBinary
public RowInputBinary(byte[] buf)(Code)



RowInputBinary
public RowInputBinary(RowOutputBinary out)(Code)
uses the byte[] buffer from out. At each reset, the buffer is set to the current one for out.




Method Detail
checkNull
protected boolean checkNull() throws IOException(Code)



readBigint
protected Long readBigint() throws IOException, HsqlException(Code)



readBinary
protected Binary readBinary(int type) throws IOException, HsqlException(Code)



readBit
protected Boolean readBit() throws IOException, HsqlException(Code)



readByteArray
protected byte[] readByteArray() throws IOException(Code)



readChar
protected String readChar(int type) throws IOException(Code)



readDate
protected Date readDate() throws IOException, HsqlException(Code)



readDecimal
protected BigDecimal readDecimal() throws IOException, HsqlException(Code)



readIntData
public int readIntData() throws IOException(Code)



readInteger
protected Integer readInteger() throws IOException, HsqlException(Code)



readLongData
public long readLongData() throws IOException(Code)



readOther
protected Object readOther() throws IOException, HsqlException(Code)



readReal
protected Double readReal(int type) throws IOException, HsqlException(Code)



readShortData
public short readShortData() throws IOException(Code)



readSmallint
protected Integer readSmallint() throws IOException, HsqlException(Code)



readString
public String readString() throws IOException(Code)



readTime
protected Time readTime() throws IOException, HsqlException(Code)



readTimestamp
protected Timestamp readTimestamp() throws IOException, HsqlException(Code)



readType
public int readType() throws IOException(Code)



resetRow
public void resetRow(int rowsize)(Code)
Used to reset the row, ready for Result data to be written into the byte[] buffer by an external routine.



resetRow
public void resetRow(int filepos, int rowsize) throws IOException(Code)
Used to reset the row, ready for a new db row to be written into the byte[] buffer by an external routine.



Fields inherited from org.hsqldb.rowio.RowInputBase
final static int NO_POS(Code)(Java Doc)
protected int filePos(Code)(Java Doc)
protected int size(Code)(Java Doc)

Methods inherited from org.hsqldb.rowio.RowInputBase
abstract protected boolean checkNull() throws IOException(Code)(Java Doc)
public byte[] getBuffer()(Code)(Java Doc)
public int getPos()(Code)(Java Doc)
public int getSize()(Code)(Java Doc)
abstract protected Long readBigint() throws IOException, HsqlException(Code)(Java Doc)
abstract protected Binary readBinary(int type) throws IOException, HsqlException(Code)(Java Doc)
abstract protected Boolean readBit() throws IOException, HsqlException(Code)(Java Doc)
abstract protected String readChar(int type) throws IOException, HsqlException(Code)(Java Doc)
public Object[] readData(int[] colTypes) throws IOException, HsqlException(Code)(Java Doc)
abstract protected Date readDate() throws IOException, HsqlException(Code)(Java Doc)
abstract protected BigDecimal readDecimal() throws IOException, HsqlException(Code)(Java Doc)
abstract public int readIntData() throws IOException(Code)(Java Doc)
abstract protected Integer readInteger() throws IOException, HsqlException(Code)(Java Doc)
public String readLine() throws IOException(Code)(Java Doc)
abstract public long readLongData() throws IOException(Code)(Java Doc)
abstract protected Object readOther() throws IOException, HsqlException(Code)(Java Doc)
abstract protected Double readReal(int type) throws IOException, HsqlException(Code)(Java Doc)
abstract protected Integer readSmallint() throws IOException, HsqlException(Code)(Java Doc)
abstract public String readString() throws IOException(Code)(Java Doc)
abstract protected Time readTime() throws IOException, HsqlException(Code)(Java Doc)
abstract protected Timestamp readTimestamp() throws IOException, HsqlException(Code)(Java Doc)
abstract public int readType() throws IOException(Code)(Java Doc)
public void resetRow(int filepos, int rowsize) throws IOException(Code)(Java Doc)
public int skipBytes(int n) throws IOException(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.