Java Doc for Column.java in  » Database-DBMS » h2database » org » h2 » 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 » Database DBMS » h2database » org.h2.table 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.h2.table.Column

Column
public class Column (Code)
This class represents a column in a table.


Field Summary
final public static  intNOT_NULLABLENULLABLENULLABLE_UNKNOWN
    

Constructor Summary
public  Column(String name, int type)
    
public  Column(String name, int type, long precision, int scale, int displaySize)
    

Method Summary
public  voidaddCheckConstraint(Session session, Expression expr)
    
public  ValuecomputeValue(Session session, Row row)
    
public  voidconvertAutoIncrementToSequence(Session session, Schema schema, int id, boolean temporary)
     Convert the auto-increment flag to a sequence that is linked with this table.
public  booleanequals(Object o)
    
public  booleangetAutoIncrement()
    
public  ExpressiongetCheckConstraint(Session session, String asColumnName)
    
public  StringgetCheckConstraintSQL(Session session, String name)
    
public  ColumngetClone()
    
public  intgetColumnId()
    
public  StringgetComment()
    
public  booleangetComputed()
    
public  StringgetCreateSQL()
    
public  DataTypegetDataType()
    
public  ExpressiongetDefaultExpression()
    
public  StringgetDefaultSQL()
    
public  intgetDisplaySize()
    
public  StringgetName()
    
public  booleangetNullable()
    
public  StringgetOriginalSQL()
    
public  longgetPrecision()
    
public  intgetPrecisionAsInt()
    
public  StringgetSQL()
    
public  intgetScale()
    
public  intgetSelectivity()
     Get the selectivity of the column.
public  SequencegetSequence()
    
public  TablegetTable()
    
public  intgetType()
    
public  inthashCode()
    
 booleanisEverything(ExpressionVisitor visitor)
    
public  voidprepareExpression(Session session)
    
public  voidrename(String newName)
    
public  voidsetAutoIncrement(boolean autoInc, long start, long increment)
    
public  voidsetComment(String comment)
    
public  voidsetComputed(boolean computed, Expression expression)
    
public  voidsetConvertNullToDefault(boolean convert)
    
public  voidsetDefaultExpression(Session session, Expression defaultExpression)
    
public  voidsetNullable(boolean b)
    
public  voidsetOriginalSQL(String original)
    
public  voidsetPrimaryKey(boolean primaryKey)
    
public  voidsetSelectivity(int selectivity)
     Set the new selectivity of a column.
public  voidsetSequence(Sequence sequence)
    
 voidsetTable(Table table, int columnId)
    
public  ValuevalidateConvertUpdateSequence(Session session, Value value)
    

Field Detail
NOT_NULLABLENULLABLENULLABLE_UNKNOWN
final public static int NOT_NULLABLENULLABLENULLABLE_UNKNOWN(Code)




Constructor Detail
Column
public Column(String name, int type)(Code)



Column
public Column(String name, int type, long precision, int scale, int displaySize)(Code)




Method Detail
addCheckConstraint
public void addCheckConstraint(Session session, Expression expr) throws SQLException(Code)



computeValue
public Value computeValue(Session session, Row row) throws SQLException(Code)



convertAutoIncrementToSequence
public void convertAutoIncrementToSequence(Session session, Schema schema, int id, boolean temporary) throws SQLException(Code)
Convert the auto-increment flag to a sequence that is linked with this table.
Parameters:
  session - the session
Parameters:
  schema - the schema where the sequence should be generated
Parameters:
  id - the object id
Parameters:
  temporary - true if the sequence is temporary and does not need tobe stored



equals
public boolean equals(Object o)(Code)



getAutoIncrement
public boolean getAutoIncrement()(Code)



getCheckConstraint
public Expression getCheckConstraint(Session session, String asColumnName) throws SQLException(Code)



getCheckConstraintSQL
public String getCheckConstraintSQL(Session session, String name) throws SQLException(Code)



getClone
public Column getClone()(Code)



getColumnId
public int getColumnId()(Code)



getComment
public String getComment()(Code)



getComputed
public boolean getComputed()(Code)



getCreateSQL
public String getCreateSQL()(Code)



getDataType
public DataType getDataType()(Code)



getDefaultExpression
public Expression getDefaultExpression()(Code)



getDefaultSQL
public String getDefaultSQL()(Code)



getDisplaySize
public int getDisplaySize()(Code)



getName
public String getName()(Code)



getNullable
public boolean getNullable()(Code)



getOriginalSQL
public String getOriginalSQL()(Code)



getPrecision
public long getPrecision()(Code)



getPrecisionAsInt
public int getPrecisionAsInt()(Code)



getSQL
public String getSQL()(Code)



getScale
public int getScale()(Code)



getSelectivity
public int getSelectivity()(Code)
Get the selectivity of the column. Selectivity 100 means values are unique, 10 means every distinct value appears 10 times on average. the selectivity



getSequence
public Sequence getSequence()(Code)



getTable
public Table getTable()(Code)



getType
public int getType()(Code)



hashCode
public int hashCode()(Code)



isEverything
boolean isEverything(ExpressionVisitor visitor)(Code)



prepareExpression
public void prepareExpression(Session session) throws SQLException(Code)



rename
public void rename(String newName)(Code)



setAutoIncrement
public void setAutoIncrement(boolean autoInc, long start, long increment)(Code)



setComment
public void setComment(String comment)(Code)



setComputed
public void setComputed(boolean computed, Expression expression)(Code)



setConvertNullToDefault
public void setConvertNullToDefault(boolean convert)(Code)



setDefaultExpression
public void setDefaultExpression(Session session, Expression defaultExpression) throws SQLException(Code)



setNullable
public void setNullable(boolean b)(Code)



setOriginalSQL
public void setOriginalSQL(String original)(Code)



setPrimaryKey
public void setPrimaryKey(boolean primaryKey)(Code)



setSelectivity
public void setSelectivity(int selectivity)(Code)
Set the new selectivity of a column.
Parameters:
  selectivity - the new value



setSequence
public void setSequence(Sequence sequence)(Code)



setTable
void setTable(Table table, int columnId)(Code)



validateConvertUpdateSequence
public Value validateConvertUpdateSequence(Session session, Value value) throws SQLException(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.