Java Doc for tinySQLResultSetMetaData.java in  » Database-DBMS » TinySQL » com » sqlmagic » tinysql » 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 » TinySQL » com.sqlmagic.tinysql 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sqlmagic.tinysql.tinySQLResultSetMetaData

tinySQLResultSetMetaData
public class tinySQLResultSetMetaData implements java.sql.ResultSetMetaData(Code)



Constructor Summary
public  tinySQLResultSetMetaData(tsResultSet result)
    

Method Summary
public  StringgetCatalogName(int column)
     Return the column's table catalog name.
public  StringgetColumnClassName(int column)
     JDBC 2.0

Returns the fully-qualified name of the Java class whose instances are manufactured if the method ResultSet.getObject is called to retrieve a value from the column.

public  intgetColumnCount()
     Returns the number of columns in this result set.
public  intgetColumnDisplaySize(int column)
     Gives the display size for this column.
public  StringgetColumnLabel(int column)
     This returns the column name in the form table_name.column_name.
public  StringgetColumnName(int column)
    
public  intgetColumnType(int column)
     Gives the column type using the types in java.sql.Types.
public  StringgetColumnTypeName(int column)
     Gives the column type as a string.
public  intgetPrecision(int column)
     What's the column's precision? Use size.
public  intgetScale(int column)
    
public  StringgetSchemaName(int column)
     What's the column's schema? This is not applicable to tinySQL, so it returns an empty string.
public  StringgetTableName(int column)
     Gives the name of the table to which this column belongs.
public  booleanisAutoIncrement(int column)
    
public  booleanisCaseSensitive(int column)
    
public  booleanisCurrency(int column)
    
public  booleanisDefinitelyWritable(int column)
    
public  intisNullable(int column)
     Determines if the column in question is nullable.
public  booleanisReadOnly(int column)
    
public  booleanisSearchable(int column)
    
public  booleanisSigned(int column)
     All tinySQL integers are signed, so this returns true.
public  booleanisWritable(int column)
    


Constructor Detail
tinySQLResultSetMetaData
public tinySQLResultSetMetaData(tsResultSet result)(Code)
Constructs a tinySQLResultSet; requires a tsResultSet object
Parameters:
  result - the tsResultSet object




Method Detail
getCatalogName
public String getCatalogName(int column) throws SQLException(Code)
Return the column's table catalog name. Not supported by tinySQL



getColumnClassName
public String getColumnClassName(int column) throws SQLException(Code)
JDBC 2.0

Returns the fully-qualified name of the Java class whose instances are manufactured if the method ResultSet.getObject is called to retrieve a value from the column. ResultSet.getObject may return a subclass of the class returned by this method. the fully-qualified name of the class in the Java programminglanguage that would be used by the method ResultSet.getObject to retrieve the value in the specifiedcolumn. This is the class name used for custom mapping.
exception:
  SQLException - if a database access error occurs




getColumnCount
public int getColumnCount() throws SQLException(Code)
Returns the number of columns in this result set.
See Also:   java.sqlResultSetMetaData.getColumnCount number of columns



getColumnDisplaySize
public int getColumnDisplaySize(int column) throws SQLException(Code)
Gives the display size for this column.
See Also:   java.sql.ResultSetMetaData.getColumnDisplaySize



getColumnLabel
public String getColumnLabel(int column) throws SQLException(Code)
This returns the column name in the form table_name.column_name.
See Also:   java.sql.ResultSetMetaData.getColumnLabel
Parameters:
  column - the column whose label is wanted the fully qualified column name



getColumnName
public String getColumnName(int column) throws SQLException(Code)
The name of a given column
See Also:   java.sql.ResultSetMetaData.getColumnName
Parameters:
  column - the column whose name is wanted the name of the requested column



getColumnType
public int getColumnType(int column) throws SQLException(Code)
Gives the column type using the types in java.sql.Types.
See Also:   java.sqlTypes
See Also:   java.sql.ResultSetMetaData.getColumnType
exception:
  SQLException - thrown for any number of reasons
Parameters:
  column - the column type information is needed on the type as listed in java.sql.Types



getColumnTypeName
public String getColumnTypeName(int column) throws SQLException(Code)
Gives the column type as a string.
See Also:   java.sql.ResultSetMetaData.getColumnTypeName
exception:
  SQLException - thrown at you
Parameters:
  column - the column for which the type name is wanted the name of the column type
author:
   Thomas Morgner : This function does
author:
   not properly return type names - everything except INTEGER or
author:
   CHAR returns "NULL"



getPrecision
public int getPrecision(int column) throws SQLException(Code)
What's the column's precision? Use size.



getScale
public int getScale(int column) throws SQLException(Code)
What's a column's number of digits to right of decimal?



getSchemaName
public String getSchemaName(int column) throws SQLException(Code)
What's the column's schema? This is not applicable to tinySQL, so it returns an empty string.



getTableName
public String getTableName(int column) throws SQLException(Code)
Gives the name of the table to which this column belongs.
See Also:   java.sql.ResultSetMetaData.getTableName
Parameters:
  column - the column of the field this information is needed for the table name



isAutoIncrement
public boolean isAutoIncrement(int column) throws SQLException(Code)
Is the column an autoincrement (identity, counter) column?
See Also:   java.sql.ResultSetMetaData.isAutoIncrement false - tinySQL does not support autoincrement columns



isCaseSensitive
public boolean isCaseSensitive(int column) throws SQLException(Code)
Is case significant in column names?
See Also:   java.sql.ResultSetMetaData.isCaseSensitive true



isCurrency
public boolean isCurrency(int column) throws SQLException(Code)
Is the column some sort of currency?
See Also:   java.sql.ResultSetMetaData.isCurrency tinySQL doesn't have such things, so it's false



isDefinitelyWritable
public boolean isDefinitelyWritable(int column) throws SQLException(Code)
Is the column definitely writable? This has no meaning in tinySQL



isNullable
public int isNullable(int column) throws SQLException(Code)
Determines if the column in question is nullable. tinySQL does not yet support nulls.
See Also:   java.sql.ResultSetMetaData.isNullable columnNoNulls, columnNullable, or columnNullableUnknown



isReadOnly
public boolean isReadOnly(int column) throws SQLException(Code)
Is the column definitely not writable? This has no meaning in tinySQL



isSearchable
public boolean isSearchable(int column) throws SQLException(Code)
Can the column be used in a where clause?
See Also:   java.sql.ResultSetMetaData.isSearchable



isSigned
public boolean isSigned(int column) throws SQLException(Code)
All tinySQL integers are signed, so this returns true.
See Also:   java.sql.ResultSetMetaData.isSigned true



isWritable
public boolean isWritable(int column) throws SQLException(Code)
Is the column potentially writable? This has no meaning in tinySQL



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.