Java Doc for Field.java in  » Database-JDBC-Connection-Pool » mysql-connector-java-5.1.3 » com » mysql » jdbc » 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 JDBC Connection Pool » mysql connector java 5.1.3 » com.mysql.jdbc 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.mysql.jdbc.Field

Field
public class Field (Code)
Field is a class used to describe fields in a ResultSet
author:
   Mark Matthews
version:
   $Id: Field.java 6577 2007-09-07 16:12:04Z mmatthews $



Constructor Summary
 Field(ConnectionImpl conn, byte[] buffer, int databaseNameStart, int databaseNameLength, int tableNameStart, int tableNameLength, int originalTableNameStart, int originalTableNameLength, int nameStart, int nameLength, int originalColumnNameStart, int originalColumnNameLength, long length, int mysqlType, short colFlag, int colDecimals, int defaultValueStart, int defaultValueLength, int charsetIndex)
    
 Field(ConnectionImpl conn, byte[] buffer, int nameStart, int nameLength, int tableNameStart, int tableNameLength, int length, int mysqlType, short colFlag, int colDecimals)
    
 Field(String tableName, String columnName, int jdbcType, int length)
     Constructor used by DatabaseMetaData methods.
 Field(String tableName, String columnName, int charsetIndex, int jdbcType, int length)
     Used by prepared statements to re-use result set data conversion methods when generating bound parmeter retrieval instance for statement interceptors.

Method Summary
public  StringgetCharacterSet()
     Returns the character set (if known) for this field.
public synchronized  StringgetCollation()
    
public  StringgetColumnLabel()
    
public  StringgetDatabaseName()
    
 intgetDecimals()
    
public  StringgetFullName()
    
public  StringgetFullOriginalName()
    
public  longgetLength()
    
public synchronized  intgetMaxBytesPerCharacter()
    
public  intgetMysqlType()
    
public  StringgetName()
    
public  StringgetNameNoAliases()
    
public  StringgetOriginalName()
    
public  StringgetOriginalTableName()
    
public  intgetPrecisionAdjustFactor()
     Returns amount of correction that should be applied to the precision value.
public  intgetSQLType()
    
public  StringgetTable()
    
public  StringgetTableName()
    
public  StringgetTableNameNoAliases()
    
public  booleanisAutoIncrement()
    
public  booleanisBinary()
    
public  booleanisBlob()
    
public  booleanisMultipleKey()
    
 booleanisNotNull()
    
 booleanisOpaqueBinary()
    
public  booleanisPrimaryKey()
    
 booleanisReadOnly()
    
protected  booleanisSingleBit()
    
public  booleanisUniqueKey()
    
public  booleanisUnsigned()
    
public  booleanisZeroFill()
    
public  voidsetConnection(ConnectionImpl conn)
    
 voidsetMysqlType(int type)
    
protected  voidsetUseOldNameMetadata(boolean useOldNameMetadata)
    
public  StringtoString()
    


Constructor Detail
Field
Field(ConnectionImpl conn, byte[] buffer, int databaseNameStart, int databaseNameLength, int tableNameStart, int tableNameLength, int originalTableNameStart, int originalTableNameLength, int nameStart, int nameLength, int originalColumnNameStart, int originalColumnNameLength, long length, int mysqlType, short colFlag, int colDecimals, int defaultValueStart, int defaultValueLength, int charsetIndex) throws SQLException(Code)
Constructor used when communicating with 4.1 and newer servers



Field
Field(ConnectionImpl conn, byte[] buffer, int nameStart, int nameLength, int tableNameStart, int tableNameLength, int length, int mysqlType, short colFlag, int colDecimals) throws SQLException(Code)
Constructor used when communicating with pre 4.1 servers



Field
Field(String tableName, String columnName, int jdbcType, int length)(Code)
Constructor used by DatabaseMetaData methods.



Field
Field(String tableName, String columnName, int charsetIndex, int jdbcType, int length)(Code)
Used by prepared statements to re-use result set data conversion methods when generating bound parmeter retrieval instance for statement interceptors.
Parameters:
  tableName - not used
Parameters:
  columnName - not used
Parameters:
  charsetIndex - the MySQL collation/character set index
Parameters:
  jdbcType - from java.sql.Types
Parameters:
  length - length in characters or bytes (for BINARY data).




Method Detail
getCharacterSet
public String getCharacterSet() throws SQLException(Code)
Returns the character set (if known) for this field. the character set



getCollation
public synchronized String getCollation() throws SQLException(Code)



getColumnLabel
public String getColumnLabel() throws SQLException(Code)



getDatabaseName
public String getDatabaseName() throws SQLException(Code)
DOCUMENT ME! DOCUMENT ME!



getDecimals
int getDecimals()(Code)



getFullName
public String getFullName() throws SQLException(Code)
DOCUMENT ME! DOCUMENT ME!



getFullOriginalName
public String getFullOriginalName() throws SQLException(Code)
DOCUMENT ME! DOCUMENT ME!



getLength
public long getLength()(Code)
DOCUMENT ME! DOCUMENT ME!



getMaxBytesPerCharacter
public synchronized int getMaxBytesPerCharacter() throws SQLException(Code)



getMysqlType
public int getMysqlType()(Code)
DOCUMENT ME! DOCUMENT ME!



getName
public String getName() throws SQLException(Code)
DOCUMENT ME! DOCUMENT ME!



getNameNoAliases
public String getNameNoAliases() throws SQLException(Code)



getOriginalName
public String getOriginalName() throws SQLException(Code)
DOCUMENT ME! DOCUMENT ME!



getOriginalTableName
public String getOriginalTableName() throws SQLException(Code)
DOCUMENT ME! DOCUMENT ME!



getPrecisionAdjustFactor
public int getPrecisionAdjustFactor()(Code)
Returns amount of correction that should be applied to the precision value. Different versions of MySQL report different precision values. the amount to adjust precision value by.



getSQLType
public int getSQLType()(Code)
DOCUMENT ME! DOCUMENT ME!



getTable
public String getTable() throws SQLException(Code)
DOCUMENT ME! DOCUMENT ME!



getTableName
public String getTableName() throws SQLException(Code)
DOCUMENT ME! DOCUMENT ME!



getTableNameNoAliases
public String getTableNameNoAliases() throws SQLException(Code)



isAutoIncrement
public boolean isAutoIncrement()(Code)
DOCUMENT ME! DOCUMENT ME!



isBinary
public boolean isBinary()(Code)
DOCUMENT ME! DOCUMENT ME!



isBlob
public boolean isBlob()(Code)
DOCUMENT ME! DOCUMENT ME!



isMultipleKey
public boolean isMultipleKey()(Code)
DOCUMENT ME! DOCUMENT ME!



isNotNull
boolean isNotNull()(Code)



isOpaqueBinary
boolean isOpaqueBinary() throws SQLException(Code)



isPrimaryKey
public boolean isPrimaryKey()(Code)
DOCUMENT ME! DOCUMENT ME!



isReadOnly
boolean isReadOnly() throws SQLException(Code)
Is this field _definitely_ not writable? true if this field can not be written to in an INSERT/UPDATEstatement.



isSingleBit
protected boolean isSingleBit()(Code)



isUniqueKey
public boolean isUniqueKey()(Code)
DOCUMENT ME! DOCUMENT ME!



isUnsigned
public boolean isUnsigned()(Code)
DOCUMENT ME! DOCUMENT ME!



isZeroFill
public boolean isZeroFill()(Code)
DOCUMENT ME! DOCUMENT ME!



setConnection
public void setConnection(ConnectionImpl conn)(Code)
DOCUMENT ME!
Parameters:
  conn - DOCUMENT ME!



setMysqlType
void setMysqlType(int type)(Code)



setUseOldNameMetadata
protected void setUseOldNameMetadata(boolean useOldNameMetadata)(Code)



toString
public String toString()(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.