Java Doc for BlobColumn.java in  » EJB-Server-resin-3.1.5 » resin » com » caucho » db » table » 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 » EJB Server resin 3.1.5 » resin » com.caucho.db.table 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.caucho.db.table.Column
      com.caucho.db.table.BlobColumn

All known Subclasses:   com.caucho.db.table.BigStringColumn,
BlobColumn
class BlobColumn extends Column (Code)



Constructor Summary
 BlobColumn(Row row, String name)
     Creates an inode column.

Method Summary
 voiddelete(Transaction xa, byte[] block, int rowOffset)
     Deleting the row, based on the column.
public  voidevalToResult(byte[] block, int rowOffset, SelectResult result)
     Evaluates the column to a stream.
public  intgetDeclarationSize()
    
public  ClassgetJavaType()
     Returns the java type.
public  intgetLength()
     Returns the column's size.
public  StringgetString(byte[] block, int rowOffset)
    
public  intgetTypeCode()
     Returns the type code for the column.
public  booleanisEqual(byte[] block1, int rowOffset1, byte[] block2, int rowOffset2)
     Returns true if the items in the given rows match.
public  booleanisEqual(byte[] block, int rowOffset, byte[] buffer, int offset, int length)
     Returns true if the bytes match.
public  booleanisEqual(byte[] block, int rowOffset, String value)
    
public  voidset(Transaction xa, TableIterator iter, Expr expr, QueryContext context)
     Sets based on an iterator.
 voidsetExpr(Transaction xa, byte[] block, int rowOffset, Expr expr, QueryContext context)
     Sets the column based on an expression.
 voidsetString(Transaction xa, byte[] block, int rowOffset, String str)
     Sets the string value.
public  StringtoString()
    


Constructor Detail
BlobColumn
BlobColumn(Row row, String name)(Code)
Creates an inode column.
Parameters:
  columnOffset - the offset within the row
Parameters:
  maxLength - the maximum length of the string




Method Detail
delete
void delete(Transaction xa, byte[] block, int rowOffset) throws SQLException(Code)
Deleting the row, based on the column.
Parameters:
  block - the block's buffer
Parameters:
  rowOffset - the offset of the row in the block
Parameters:
  expr - the expression to store



evalToResult
public void evalToResult(byte[] block, int rowOffset, SelectResult result)(Code)
Evaluates the column to a stream.



getDeclarationSize
public int getDeclarationSize()(Code)
Returns the declaration size



getJavaType
public Class getJavaType()(Code)
Returns the java type.



getLength
public int getLength()(Code)
Returns the column's size.



getString
public String getString(byte[] block, int rowOffset)(Code)



getTypeCode
public int getTypeCode()(Code)
Returns the type code for the column.



isEqual
public boolean isEqual(byte[] block1, int rowOffset1, byte[] block2, int rowOffset2)(Code)
Returns true if the items in the given rows match.



isEqual
public boolean isEqual(byte[] block, int rowOffset, byte[] buffer, int offset, int length)(Code)
Returns true if the bytes match.



isEqual
public boolean isEqual(byte[] block, int rowOffset, String value)(Code)



set
public void set(Transaction xa, TableIterator iter, Expr expr, QueryContext context) throws SQLException(Code)
Sets based on an iterator.



setExpr
void setExpr(Transaction xa, byte[] block, int rowOffset, Expr expr, QueryContext context) throws SQLException(Code)
Sets the column based on an expression.
Parameters:
  block - the block's buffer
Parameters:
  rowOffset - the offset of the row in the block
Parameters:
  expr - the expression to store



setString
void setString(Transaction xa, byte[] block, int rowOffset, String str)(Code)
Sets the string value.
Parameters:
  block - the buffer to store the row
Parameters:
  rowOffset - the offset into the row
Parameters:
  str - the string value



toString
public String toString()(Code)



Fields inherited from com.caucho.db.table.Column
final public static int BLOB(Code)(Java Doc)
final public static int DATE(Code)(Java Doc)
final public static int DOUBLE(Code)(Java Doc)
final public static int INT(Code)(Java Doc)
final public static int LONG(Code)(Java Doc)
final public static int NONE(Code)(Java Doc)
final public static int NUMERIC(Code)(Java Doc)
final public static int VARBINARY(Code)(Java Doc)
final public static int VARCHAR(Code)(Java Doc)
final protected int _columnOffset(Code)(Java Doc)
final protected byte _nullMask(Code)(Java Doc)
final protected int _nullOffset(Code)(Java Doc)
final protected static Logger log(Code)(Java Doc)

Methods inherited from com.caucho.db.table.Column
public void close()(Code)(Java Doc)
void delete(Transaction xa, byte[] block, int rowOffset) throws SQLException(Code)(Java Doc)
int evalToBuffer(byte[] block, int rowOffset, byte[] buffer, int bufferOffset) throws SQLException(Code)(Java Doc)
public void evalToResult(byte[] block, int rowOffset, SelectResult result) throws SQLException(Code)(Java Doc)
public int getAutoIncrement()(Code)(Java Doc)
int getColumnOffset()(Code)(Java Doc)
public long getDate(byte[] block, int rowOffset) throws SQLException(Code)(Java Doc)
abstract public int getDeclarationSize()(Code)(Java Doc)
public Expr getDefault()(Code)(Java Doc)
public double getDouble(byte[] block, int rowOffset) throws SQLException(Code)(Java Doc)
public BTree getIndex()(Code)(Java Doc)
public KeyCompare getIndexKeyCompare()(Code)(Java Doc)
public int getInteger(byte[] block, int rowOffset) throws SQLException(Code)(Java Doc)
public Class getJavaType()(Code)(Java Doc)
abstract int getLength()(Code)(Java Doc)
public long getLong(byte[] block, int rowOffset) throws SQLException(Code)(Java Doc)
public String getName()(Code)(Java Doc)
abstract public String getString(byte[] block, int rowOffset) throws SQLException(Code)(Java Doc)
public Table getTable()(Code)(Java Doc)
abstract public int getTypeCode()(Code)(Java Doc)
public boolean isEqual(byte[] block, int rowOffset, byte[] buffer, int offset, int length)(Code)(Java Doc)
public boolean isEqual(byte[] buffer1, int rowOffset1, byte[] buffer2, int rowOffset2)(Code)(Java Doc)
public boolean isEqual(byte[] block, int rowOffset, String string)(Code)(Java Doc)
public boolean isNotNull()(Code)(Java Doc)
final public boolean isNull(byte[] block, int rowOffset)(Code)(Java Doc)
public boolean isPrimaryKey()(Code)(Java Doc)
public boolean isUnique()(Code)(Java Doc)
public void set(Transaction xa, TableIterator iter, Expr expr, QueryContext context) throws SQLException(Code)(Java Doc)
public void setAutoIncrement(int min)(Code)(Java Doc)
void setDate(Transaction xa, byte[] block, int rowOffset, double value) throws SQLException(Code)(Java Doc)
public void setDefault(Expr expr)(Code)(Java Doc)
void setDouble(Transaction xa, byte[] block, int rowOffset, double value) throws SQLException(Code)(Java Doc)
void setExpr(Transaction xa, byte[] block, int rowOffset, Expr expr, QueryContext context) throws SQLException(Code)(Java Doc)
public void setIndex(BTree index)(Code)(Java Doc)
void setIndex(Transaction xa, byte[] block, int rowOffset, long rowAddr, QueryContext context) throws SQLException(Code)(Java Doc)
void setInteger(Transaction xa, byte[] block, int rowOffset, int value) throws SQLException(Code)(Java Doc)
void setLong(Transaction xa, byte[] block, int rowOffset, long value) throws SQLException(Code)(Java Doc)
final protected void setNonNull(byte[] block, int rowOffset)(Code)(Java Doc)
public void setNotNull()(Code)(Java Doc)
final public void setNull(byte[] block, int rowOffset)(Code)(Java Doc)
public void setPrimaryKey(boolean primaryKey)(Code)(Java Doc)
abstract void setString(Transaction xa, byte[] block, int rowOffset, String value) throws SQLException(Code)(Java Doc)
void setTable(Table table)(Code)(Java Doc)
public void setUnique()(Code)(Java Doc)
public String toString()(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.