Java Doc for ResultSetMetaData.java in  » Apache-Harmony-Java-SE » java-package » java » sql » 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 » Apache Harmony Java SE » java package » java.sql 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.sql.ResultSetMetaData

ResultSetMetaData
public interface ResultSetMetaData (Code)
Provides information about the columns in a ResultSet.


Field Summary
final public static  intcolumnNoNulls
    
final public static  intcolumnNullable
    
final public static  intcolumnNullableUnknown
    


Method Summary
public  StringgetCatalogName(int column)
    
public  StringgetColumnClassName(int column)
     Returns the fully-qualified type of the class that is produced when invoking ResultSet.getObject to recover this columns value.
public  intgetColumnCount()
     Returns a count of the columns in this set of results.
public  intgetColumnDisplaySize(int column)
     Returns the indexed column's standard maximum width, expressed in number of characters.
public  StringgetColumnLabel(int column)
     Returns a recommended title for the indexed column, to be used when the title needs to be displayed.
public  StringgetColumnName(int column)
    
public  intgetColumnType(int column)
    
public  StringgetColumnTypeName(int column)
    
public  intgetPrecision(int column)
    
public  intgetScale(int column)
     Returns the number of decimal places in the indexed column.
public  StringgetSchemaName(int column)
    
public  StringgetTableName(int column)
     Returns the title of the indexed columns table.
public  booleanisAutoIncrement(int column)
    
public  booleanisCaseSensitive(int column)
    
public  booleanisCurrency(int column)
     Returns if the indexed column contains a monetary amount.
public  booleanisDefinitelyWritable(int column)
    
public  intisNullable(int column)
     Returns whether the indexed column is nullable.
public  booleanisReadOnly(int column)
    
public  booleanisSearchable(int column)
     Returns an indication of whether the indexed column is searchable.
public  booleanisSigned(int column)
     Returns an indicator of whether the values contained in the indexed column are signed.
public  booleanisWritable(int column)
     Returns an indication of whether writing to the indexed column is possible.

Field Detail
columnNoNulls
final public static int columnNoNulls(Code)
Indicates that a column cannot contain NULL values



columnNullable
final public static int columnNullable(Code)
Indicates that a column can contain NULL values



columnNullableUnknown
final public static int columnNullableUnknown(Code)
Indicates that it is unknown whether a column can contain NULLs or not





Method Detail
getCatalogName
public String getCatalogName(int column) throws SQLException(Code)
Returns the title of indexed columns catalog
Parameters:
  column - the column index, starting at 1 the catalog title
throws:
  SQLException - if there is a database error



getColumnClassName
public String getColumnClassName(int column) throws SQLException(Code)
Returns the fully-qualified type of the class that is produced when invoking ResultSet.getObject to recover this columns value.
Parameters:
  column - the column index, starting at 1 the fully-qualified class name
throws:
  SQLException - if there is a database error



getColumnCount
public int getColumnCount() throws SQLException(Code)
Returns a count of the columns in this set of results. the column count
throws:
  SQLException - if there is a database error



getColumnDisplaySize
public int getColumnDisplaySize(int column) throws SQLException(Code)
Returns the indexed column's standard maximum width, expressed in number of characters.
Parameters:
  column - the column index, starting at 1 the column's max width
throws:
  SQLException - if there is a database error



getColumnLabel
public String getColumnLabel(int column) throws SQLException(Code)
Returns a recommended title for the indexed column, to be used when the title needs to be displayed.
Parameters:
  column - the column index, starting at 1 the column's title
throws:
  SQLException - if there is a database error



getColumnName
public String getColumnName(int column) throws SQLException(Code)
Returns the title of the indexed column
Parameters:
  column - the column index, starting at 1 the column title
throws:
  SQLException - if there is a database error



getColumnType
public int getColumnType(int column) throws SQLException(Code)
Returns the type of the indexed column
Parameters:
  column - the column index, starting at 1 the column type
throws:
  SQLException - if there is a database error



getColumnTypeName
public String getColumnTypeName(int column) throws SQLException(Code)
Returns the type name of the indexed column
Parameters:
  column - the column index, starting at 1 the type name
throws:
  SQLException - if there is a database error



getPrecision
public int getPrecision(int column) throws SQLException(Code)
Returns the decimal precision of the indexed column
Parameters:
  column - the column index, starting at 1 the precision
throws:
  SQLException - if there is a database error



getScale
public int getScale(int column) throws SQLException(Code)
Returns the number of decimal places in the indexed column.
Parameters:
  column - the column index, starting at 1 number of decimal places
throws:
  SQLException - if there is a database error



getSchemaName
public String getSchemaName(int column) throws SQLException(Code)
Returns the name of the indexed columns schema
Parameters:
  column - the column index, starting at 1 the name of the columns schema
throws:
  SQLException - if there is a database error



getTableName
public String getTableName(int column) throws SQLException(Code)
Returns the title of the indexed columns table.
Parameters:
  column - the column index, starting at 1 the table title
throws:
  SQLException - if there is a database error



isAutoIncrement
public boolean isAutoIncrement(int column) throws SQLException(Code)
Returns and indication of whether the indexed column has automatic numbering and is therefore read-only
Parameters:
  column - the column index, starting at 1 true if it is automatically numbered, false otherwise
throws:
  SQLException - if there is a database error



isCaseSensitive
public boolean isCaseSensitive(int column) throws SQLException(Code)
Returns an indicator of whether the case of the indexed column is important
Parameters:
  column - the column index, starting at 1 true if case matters, false otherwise
throws:
  SQLException - if there is a database error



isCurrency
public boolean isCurrency(int column) throws SQLException(Code)
Returns if the indexed column contains a monetary amount.
Parameters:
  column - the column index, starting at 1 true if it is a monetary value, false otherwise
throws:
  SQLException - if there is a database error



isDefinitelyWritable
public boolean isDefinitelyWritable(int column) throws SQLException(Code)
Returns an indication of whether writing to the indexed column is guaranteed to be successful
Parameters:
  column - the column index, starting at 1 true if the write is guaranteed, false otherwise
throws:
  SQLException - if there is a database error



isNullable
public int isNullable(int column) throws SQLException(Code)
Returns whether the indexed column is nullable.
Parameters:
  column - the column index, starting at 1 true if it is nullable, false otherwise
throws:
  SQLException - if there is a database error



isReadOnly
public boolean isReadOnly(int column) throws SQLException(Code)
Returns an indication of whether writing to the indexed column is guaranteed to be unsuccessful
Parameters:
  column - the column index, starting at 1 true if the column is read-only, false otherwise
throws:
  SQLException - if there is a database error



isSearchable
public boolean isSearchable(int column) throws SQLException(Code)
Returns an indication of whether the indexed column is searchable.
Parameters:
  column - the column index, starting at 1 true if the indexed column is searchable, false otherwise.
throws:
  SQLException - if there is a database error



isSigned
public boolean isSigned(int column) throws SQLException(Code)
Returns an indicator of whether the values contained in the indexed column are signed.
Parameters:
  column - the column index, starting at 1 true if they are signed, false otherwise
throws:
  SQLException - if there is a database error



isWritable
public boolean isWritable(int column) throws SQLException(Code)
Returns an indication of whether writing to the indexed column is possible.
Parameters:
  column - the column index, starting at 1 true if it is possible to write, false otherwise
throws:
  SQLException - if there is a database error



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.