Java Doc for RowOutputBinary.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.RowOutputBase
   org.hsqldb.rowio.RowOutputBinary

RowOutputBinary
public class RowOutputBinary extends RowOutputBase (Code)
Provides methods for writing the data for a row to a byte array. The new format of data consists of mainly binary values and is not compatible with v.1.6.x databases.
author:
   sqlbob@users (RMP)
author:
   fredt@users
version:
   1.7.2
since:
   1.7.0


Field Summary
 intstorageSize
    

Constructor Summary
public  RowOutputBinary()
    
public  RowOutputBinary(int initialSize)
    
public  RowOutputBinary(byte[] buffer)
    

Method Summary
public  voidensureRoom(int extra)
    
public static  intgetRowSize(CachedRow row)
    
public  intgetSize(CachedRow row)
     Calculate the size of byte array required to store a row.
public  voidreset()
    
public  voidreset(int newSize)
    
public  voidsetBuffer(byte[] buffer)
    
protected  voidwriteBigint(Number o)
    
protected  voidwriteBinary(Binary o, int t)
    
protected  voidwriteBit(Boolean o)
    
protected  voidwriteByteArray(byte[] b)
    
protected  voidwriteChar(String s, int t)
    
protected  voidwriteDate(Date o)
    
protected  voidwriteDecimal(BigDecimal o)
    
public  voidwriteEnd()
    
protected  voidwriteFieldType(int type)
    
public  voidwriteIntData(int i)
    
public  voidwriteIntData(int i, int position)
    
protected  voidwriteInteger(Number o)
    
public  voidwriteLongData(long i)
    
protected  voidwriteNull(int type)
    
protected  voidwriteOther(JavaObject o)
    
protected  voidwriteReal(Double o, int type)
    
public  voidwriteShortData(short i)
    
public  voidwriteSize(int size)
    
protected  voidwriteSmallint(Number o)
    
public  voidwriteString(String s)
    
protected  voidwriteTime(Time o)
    
protected  voidwriteTimestamp(Timestamp o)
    
public  voidwriteType(int type)
    

Field Detail
storageSize
int storageSize(Code)




Constructor Detail
RowOutputBinary
public RowOutputBinary()(Code)



RowOutputBinary
public RowOutputBinary(int initialSize)(Code)



RowOutputBinary
public RowOutputBinary(byte[] buffer)(Code)
Constructor used for network transmission of result sets
exception:
  IOException - when an IO error is encountered




Method Detail
ensureRoom
public void ensureRoom(int extra)(Code)

Parameters:
  extra - amount of extra space



getRowSize
public static int getRowSize(CachedRow row)(Code)



getSize
public int getSize(CachedRow row)(Code)
Calculate the size of byte array required to store a row.
Parameters:
  row - - a database row size of byte array
exception:
  HsqlException - When data is inconsistent



reset
public void reset()(Code)



reset
public void reset(int newSize)(Code)



setBuffer
public void setBuffer(byte[] buffer)(Code)



writeBigint
protected void writeBigint(Number o)(Code)



writeBinary
protected void writeBinary(Binary o, int t)(Code)



writeBit
protected void writeBit(Boolean o)(Code)



writeByteArray
protected void writeByteArray(byte[] b)(Code)



writeChar
protected void writeChar(String s, int t)(Code)



writeDate
protected void writeDate(Date o)(Code)



writeDecimal
protected void writeDecimal(BigDecimal o)(Code)



writeEnd
public void writeEnd()(Code)



writeFieldType
protected void writeFieldType(int type)(Code)



writeIntData
public void writeIntData(int i)(Code)



writeIntData
public void writeIntData(int i, int position)(Code)



writeInteger
protected void writeInteger(Number o)(Code)



writeLongData
public void writeLongData(long i)(Code)



writeNull
protected void writeNull(int type)(Code)



writeOther
protected void writeOther(JavaObject o)(Code)



writeReal
protected void writeReal(Double o, int type)(Code)



writeShortData
public void writeShortData(short i)(Code)



writeSize
public void writeSize(int size)(Code)



writeSmallint
protected void writeSmallint(Number o)(Code)



writeString
public void writeString(String s)(Code)



writeTime
protected void writeTime(Time o)(Code)



writeTimestamp
protected void writeTimestamp(Timestamp o)(Code)



writeType
public void writeType(int type)(Code)



Fields inherited from org.hsqldb.rowio.RowOutputBase
final public static int CACHED_ROW_160(Code)(Java Doc)
final public static int CACHED_ROW_170(Code)(Java Doc)
protected boolean skipSystemId(Code)(Java Doc)

Methods inherited from org.hsqldb.rowio.RowOutputBase
public HsqlByteArrayOutputStream getOutputStream()(Code)(Java Doc)
abstract protected void writeBigint(Number o)(Code)(Java Doc)
abstract protected void writeBinary(Binary o, int t)(Code)(Java Doc)
abstract protected void writeBit(Boolean o)(Code)(Java Doc)
abstract protected void writeChar(String s, int t)(Code)(Java Doc)
public void writeData(Object[] data, Table t)(Code)(Java Doc)
public void writeData(int l, int[] types, Object[] data, HashMappedList cols, int[] primaryKeys)(Code)(Java Doc)
abstract protected void writeDate(Date o)(Code)(Java Doc)
abstract protected void writeDecimal(BigDecimal o)(Code)(Java Doc)
abstract public void writeEnd()(Code)(Java Doc)
protected void writeFieldPrefix()(Code)(Java Doc)
abstract protected void writeFieldType(int type)(Code)(Java Doc)
abstract public void writeIntData(int i)(Code)(Java Doc)
abstract public void writeIntData(int i, int position)(Code)(Java Doc)
abstract protected void writeInteger(Number o)(Code)(Java Doc)
abstract protected void writeNull(int type)(Code)(Java Doc)
abstract protected void writeOther(JavaObject o)(Code)(Java Doc)
abstract protected void writeReal(Double o, int type)(Code)(Java Doc)
public void writeRow(Object[] data, Table t)(Code)(Java Doc)
abstract public void writeShortData(short i)(Code)(Java Doc)
abstract public void writeSize(int size)(Code)(Java Doc)
abstract protected void writeSmallint(Number o)(Code)(Java Doc)
abstract public void writeString(String s)(Code)(Java Doc)
abstract protected void writeTime(Time o)(Code)(Java Doc)
abstract protected void writeTimestamp(Timestamp o)(Code)(Java Doc)
abstract public void writeType(int type)(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.