Java Doc for DataValueFactoryImpl.java in  » Database-DBMS » db-derby-10.2 » org » apache » derby » iapi » types » 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 » db derby 10.2 » org.apache.derby.iapi.types 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.derby.iapi.types.DataValueFactoryImpl

All known Subclasses:   org.apache.derby.iapi.types.J2SEDataValueFactory,  org.apache.derby.iapi.types.CDCDataValueFactory,
DataValueFactoryImpl
abstract class DataValueFactoryImpl implements DataValueFactory,ModuleControl(Code)
Core implementation of DataValueFactory. Does not implement methods required to generate DataValueDescriptor implementations for the DECIMAL datatype. J2ME and J2SE require different implementations.
See Also:   DataValueFactory


Field Summary
 LocaleFinderlocaleFinder
    

Constructor Summary
 DataValueFactoryImpl()
    

Method Summary
public  voidboot(boolean create, Properties properties)
    
public  BitDataValuegetBitDataValue(byte[] value)
    
public  BitDataValuegetBitDataValue(byte[] value, BitDataValue previous)
    
public  BitDataValuegetBlobDataValue(byte[] value)
    
public  BitDataValuegetBlobDataValue(byte[] value, BitDataValue previous)
    
public  StringDataValuegetCharDataValue(String value)
    
public  StringDataValuegetCharDataValue(String value, StringDataValue previous)
    
public  StringDataValuegetClobDataValue(String value)
    
public  StringDataValuegetClobDataValue(String value, StringDataValue previous)
    
public  NumberDataValuegetDataValue(int value)
    
public  NumberDataValuegetDataValue(int value, NumberDataValue previous)
    
public  NumberDataValuegetDataValue(Integer value)
    
public  NumberDataValuegetDataValue(Integer value, NumberDataValue previous)
    
public  NumberDataValuegetDataValue(char value)
    
public  NumberDataValuegetDataValue(char value, NumberDataValue previous)
    
public  NumberDataValuegetDataValue(short value)
    
public  NumberDataValuegetDataValue(short value, NumberDataValue previous)
    
public  NumberDataValuegetDataValue(Short value)
    
public  NumberDataValuegetDataValue(Short value, NumberDataValue previous)
    
public  NumberDataValuegetDataValue(byte value)
    
public  NumberDataValuegetDataValue(byte value, NumberDataValue previous)
    
public  NumberDataValuegetDataValue(Byte value)
    
public  NumberDataValuegetDataValue(Byte value, NumberDataValue previous)
    
public  NumberDataValuegetDataValue(long value)
    
public  NumberDataValuegetDataValue(long value, NumberDataValue previous)
    
public  NumberDataValuegetDataValue(Long value)
    
public  NumberDataValuegetDataValue(Long value, NumberDataValue previous)
    
public  NumberDataValuegetDataValue(float value)
    
public  NumberDataValuegetDataValue(float value, NumberDataValue previous)
    
public  NumberDataValuegetDataValue(Float value)
    
public  NumberDataValuegetDataValue(Float value, NumberDataValue previous)
    
public  NumberDataValuegetDataValue(double value)
    
public  NumberDataValuegetDataValue(double value, NumberDataValue previous)
    
public  NumberDataValuegetDataValue(Double value)
    
public  NumberDataValuegetDataValue(Double value, NumberDataValue previous)
    
public  BooleanDataValuegetDataValue(boolean value)
    
public  BooleanDataValuegetDataValue(boolean value, BooleanDataValue previous)
    
public  BooleanDataValuegetDataValue(Boolean value)
    
public  BooleanDataValuegetDataValue(Boolean value, BooleanDataValue previous)
    
public  BooleanDataValuegetDataValue(BooleanDataValue value)
    
public  DateTimeDataValuegetDataValue(Date value)
    
public  DateTimeDataValuegetDataValue(Date value, DateTimeDataValue previous)
    
public  DateTimeDataValuegetDataValue(Time value)
    
public  DateTimeDataValuegetDataValue(Time value, DateTimeDataValue previous)
    
public  DateTimeDataValuegetDataValue(Timestamp value)
    
public  DateTimeDataValuegetDataValue(Timestamp value, DateTimeDataValue previous)
    
public  UserDataValuegetDataValue(Object value)
    
public  UserDataValuegetDataValue(Object value, UserDataValue previous)
    
public  RefDataValuegetDataValue(RowLocation value)
    
public  RefDataValuegetDataValue(RowLocation value, RefDataValue previous)
    
public  DateTimeDataValuegetDate(DataValueDescriptor operand)
     Implement the date SQL function: construct a SQL date from a string, number, or timestamp.
public  DateTimeDataValuegetDateValue(String dateStr, boolean isJdbcEscape)
    
final public  NumberDataValuegetDecimalDataValue(Number value)
    
final public  NumberDataValuegetDecimalDataValue(Number value, NumberDataValue previous)
    
final public  NumberDataValuegetDecimalDataValue(String value, NumberDataValue previous)
    
public  BitDataValuegetLongVarbitDataValue(byte[] value)
    
public  BitDataValuegetLongVarbitDataValue(byte[] value, BitDataValue previous)
    
public  StringDataValuegetLongvarcharDataValue(String value)
    
public  StringDataValuegetLongvarcharDataValue(String value, StringDataValue previous)
    
public  StringDataValuegetNClobDataValue(String value)
    
public  StringDataValuegetNClobDataValue(String value, StringDataValue previous)
    
public  StringDataValuegetNationalCharDataValue(String value)
    
public  StringDataValuegetNationalCharDataValue(String value, StringDataValue previous)
    
public  StringDataValuegetNationalLongvarcharDataValue(String value)
    
public  StringDataValuegetNationalLongvarcharDataValue(String value, StringDataValue previous)
    
public  StringDataValuegetNationalVarcharDataValue(String value)
    
public  StringDataValuegetNationalVarcharDataValue(String value, StringDataValue previous)
    
public  BitDataValuegetNullBit(BitDataValue dataValue)
    
public  BitDataValuegetNullBlob(BitDataValue dataValue)
    
public  BooleanDataValuegetNullBoolean(BooleanDataValue dataValue)
    
public  NumberDataValuegetNullByte(NumberDataValue dataValue)
    
public  StringDataValuegetNullChar(StringDataValue dataValue)
    
public  StringDataValuegetNullClob(StringDataValue dataValue)
    
public  DateTimeDataValuegetNullDate(DateTimeDataValue dataValue)
    
public  NumberDataValuegetNullDouble(NumberDataValue dataValue)
    
public  NumberDataValuegetNullFloat(NumberDataValue dataValue)
    
public  NumberDataValuegetNullInteger(NumberDataValue dataValue)
    
public  NumberDataValuegetNullLong(NumberDataValue dataValue)
    
public  BitDataValuegetNullLongVarbit(BitDataValue dataValue)
    
public  StringDataValuegetNullLongvarchar(StringDataValue dataValue)
    
public  StringDataValuegetNullNClob(StringDataValue dataValue)
    
public  StringDataValuegetNullNationalChar(StringDataValue dataValue)
    
public  StringDataValuegetNullNationalLongvarchar(StringDataValue dataValue)
    
public  StringDataValuegetNullNationalVarchar(StringDataValue dataValue)
    
public  UserDataValuegetNullObject(UserDataValue dataValue)
    
public  RefDataValuegetNullRef(RefDataValue dataValue)
    
public  NumberDataValuegetNullShort(NumberDataValue dataValue)
    
public  DateTimeDataValuegetNullTime(DateTimeDataValue dataValue)
    
public  DateTimeDataValuegetNullTimestamp(DateTimeDataValue dataValue)
    
public  BitDataValuegetNullVarbit(BitDataValue dataValue)
    
public  StringDataValuegetNullVarchar(StringDataValue dataValue)
    
public  XMLDataValuegetNullXML(XMLDataValue dataValue)
     getNullXML: Get an XML with a SQL null value.
public  DateTimeDataValuegetTimeValue(String timeStr, boolean isJdbcEscape)
    
public  DateTimeDataValuegetTimestamp(DataValueDescriptor operand)
     Implement the timestamp SQL function: construct a SQL timestamp from a string, or timestamp.
public  DateTimeDataValuegetTimestamp(DataValueDescriptor date, DataValueDescriptor time)
    
public  DateTimeDataValuegetTimestampValue(String timestampStr, boolean isJdbcEscape)
    
public  BitDataValuegetVarbitDataValue(byte[] value)
    
public  BitDataValuegetVarbitDataValue(byte[] value, BitDataValue previous)
    
public  StringDataValuegetVarcharDataValue(String value)
    
public  StringDataValuegetVarcharDataValue(String value, StringDataValue previous)
    
public  XMLDataValuegetXMLDataValue()
     getXMLDataValue: Get a SQL null value with XML type.
public  XMLDataValuegetXMLDataValue(XMLDataValue previous)
     getXMLDataValue: Get a null XML value.
public  voidstop()
    

Field Detail
localeFinder
LocaleFinder localeFinder(Code)




Constructor Detail
DataValueFactoryImpl
DataValueFactoryImpl()(Code)




Method Detail
boot
public void boot(boolean create, Properties properties) throws StandardException(Code)



getBitDataValue
public BitDataValue getBitDataValue(byte[] value) throws StandardException(Code)



getBitDataValue
public BitDataValue getBitDataValue(byte[] value, BitDataValue previous) throws StandardException(Code)



getBlobDataValue
public BitDataValue getBlobDataValue(byte[] value) throws StandardException(Code)



getBlobDataValue
public BitDataValue getBlobDataValue(byte[] value, BitDataValue previous) throws StandardException(Code)



getCharDataValue
public StringDataValue getCharDataValue(String value)(Code)



getCharDataValue
public StringDataValue getCharDataValue(String value, StringDataValue previous) throws StandardException(Code)



getClobDataValue
public StringDataValue getClobDataValue(String value)(Code)



getClobDataValue
public StringDataValue getClobDataValue(String value, StringDataValue previous) throws StandardException(Code)



getDataValue
public NumberDataValue getDataValue(int value)(Code)

See Also:   DataValueFactory.getDataValue



getDataValue
public NumberDataValue getDataValue(int value, NumberDataValue previous) throws StandardException(Code)



getDataValue
public NumberDataValue getDataValue(Integer value)(Code)



getDataValue
public NumberDataValue getDataValue(Integer value, NumberDataValue previous) throws StandardException(Code)



getDataValue
public NumberDataValue getDataValue(char value)(Code)



getDataValue
public NumberDataValue getDataValue(char value, NumberDataValue previous) throws StandardException(Code)



getDataValue
public NumberDataValue getDataValue(short value)(Code)



getDataValue
public NumberDataValue getDataValue(short value, NumberDataValue previous) throws StandardException(Code)



getDataValue
public NumberDataValue getDataValue(Short value)(Code)



getDataValue
public NumberDataValue getDataValue(Short value, NumberDataValue previous) throws StandardException(Code)



getDataValue
public NumberDataValue getDataValue(byte value)(Code)



getDataValue
public NumberDataValue getDataValue(byte value, NumberDataValue previous) throws StandardException(Code)



getDataValue
public NumberDataValue getDataValue(Byte value)(Code)



getDataValue
public NumberDataValue getDataValue(Byte value, NumberDataValue previous) throws StandardException(Code)



getDataValue
public NumberDataValue getDataValue(long value)(Code)



getDataValue
public NumberDataValue getDataValue(long value, NumberDataValue previous) throws StandardException(Code)



getDataValue
public NumberDataValue getDataValue(Long value)(Code)



getDataValue
public NumberDataValue getDataValue(Long value, NumberDataValue previous) throws StandardException(Code)



getDataValue
public NumberDataValue getDataValue(float value) throws StandardException(Code)



getDataValue
public NumberDataValue getDataValue(float value, NumberDataValue previous) throws StandardException(Code)



getDataValue
public NumberDataValue getDataValue(Float value) throws StandardException(Code)



getDataValue
public NumberDataValue getDataValue(Float value, NumberDataValue previous) throws StandardException(Code)



getDataValue
public NumberDataValue getDataValue(double value) throws StandardException(Code)



getDataValue
public NumberDataValue getDataValue(double value, NumberDataValue previous) throws StandardException(Code)



getDataValue
public NumberDataValue getDataValue(Double value) throws StandardException(Code)



getDataValue
public NumberDataValue getDataValue(Double value, NumberDataValue previous) throws StandardException(Code)



getDataValue
public BooleanDataValue getDataValue(boolean value)(Code)



getDataValue
public BooleanDataValue getDataValue(boolean value, BooleanDataValue previous) throws StandardException(Code)



getDataValue
public BooleanDataValue getDataValue(Boolean value)(Code)



getDataValue
public BooleanDataValue getDataValue(Boolean value, BooleanDataValue previous) throws StandardException(Code)



getDataValue
public BooleanDataValue getDataValue(BooleanDataValue value)(Code)



getDataValue
public DateTimeDataValue getDataValue(Date value) throws StandardException(Code)



getDataValue
public DateTimeDataValue getDataValue(Date value, DateTimeDataValue previous) throws StandardException(Code)



getDataValue
public DateTimeDataValue getDataValue(Time value) throws StandardException(Code)



getDataValue
public DateTimeDataValue getDataValue(Time value, DateTimeDataValue previous) throws StandardException(Code)



getDataValue
public DateTimeDataValue getDataValue(Timestamp value) throws StandardException(Code)



getDataValue
public DateTimeDataValue getDataValue(Timestamp value, DateTimeDataValue previous) throws StandardException(Code)



getDataValue
public UserDataValue getDataValue(Object value)(Code)



getDataValue
public UserDataValue getDataValue(Object value, UserDataValue previous)(Code)



getDataValue
public RefDataValue getDataValue(RowLocation value)(Code)



getDataValue
public RefDataValue getDataValue(RowLocation value, RefDataValue previous)(Code)



getDate
public DateTimeDataValue getDate(DataValueDescriptor operand) throws StandardException(Code)
Implement the date SQL function: construct a SQL date from a string, number, or timestamp.
Parameters:
  operand - Must be a date, a number, or a string convertible to a date.
exception:
  StandardException - standard error policy



getDateValue
public DateTimeDataValue getDateValue(String dateStr, boolean isJdbcEscape) throws StandardException(Code)



getDecimalDataValue
final public NumberDataValue getDecimalDataValue(Number value) throws StandardException(Code)



getDecimalDataValue
final public NumberDataValue getDecimalDataValue(Number value, NumberDataValue previous) throws StandardException(Code)



getDecimalDataValue
final public NumberDataValue getDecimalDataValue(String value, NumberDataValue previous) throws StandardException(Code)



getLongVarbitDataValue
public BitDataValue getLongVarbitDataValue(byte[] value) throws StandardException(Code)



getLongVarbitDataValue
public BitDataValue getLongVarbitDataValue(byte[] value, BitDataValue previous) throws StandardException(Code)



getLongvarcharDataValue
public StringDataValue getLongvarcharDataValue(String value)(Code)



getLongvarcharDataValue
public StringDataValue getLongvarcharDataValue(String value, StringDataValue previous) throws StandardException(Code)



getNClobDataValue
public StringDataValue getNClobDataValue(String value)(Code)



getNClobDataValue
public StringDataValue getNClobDataValue(String value, StringDataValue previous) throws StandardException(Code)



getNationalCharDataValue
public StringDataValue getNationalCharDataValue(String value)(Code)



getNationalCharDataValue
public StringDataValue getNationalCharDataValue(String value, StringDataValue previous) throws StandardException(Code)



getNationalLongvarcharDataValue
public StringDataValue getNationalLongvarcharDataValue(String value)(Code)



getNationalLongvarcharDataValue
public StringDataValue getNationalLongvarcharDataValue(String value, StringDataValue previous) throws StandardException(Code)



getNationalVarcharDataValue
public StringDataValue getNationalVarcharDataValue(String value)(Code)



getNationalVarcharDataValue
public StringDataValue getNationalVarcharDataValue(String value, StringDataValue previous) throws StandardException(Code)



getNullBit
public BitDataValue getNullBit(BitDataValue dataValue) throws StandardException(Code)



getNullBlob
public BitDataValue getNullBlob(BitDataValue dataValue) throws StandardException(Code)



getNullBoolean
public BooleanDataValue getNullBoolean(BooleanDataValue dataValue)(Code)



getNullByte
public NumberDataValue getNullByte(NumberDataValue dataValue)(Code)



getNullChar
public StringDataValue getNullChar(StringDataValue dataValue)(Code)



getNullClob
public StringDataValue getNullClob(StringDataValue dataValue)(Code)



getNullDate
public DateTimeDataValue getNullDate(DateTimeDataValue dataValue)(Code)



getNullDouble
public NumberDataValue getNullDouble(NumberDataValue dataValue)(Code)



getNullFloat
public NumberDataValue getNullFloat(NumberDataValue dataValue)(Code)



getNullInteger
public NumberDataValue getNullInteger(NumberDataValue dataValue)(Code)



getNullLong
public NumberDataValue getNullLong(NumberDataValue dataValue)(Code)



getNullLongVarbit
public BitDataValue getNullLongVarbit(BitDataValue dataValue) throws StandardException(Code)



getNullLongvarchar
public StringDataValue getNullLongvarchar(StringDataValue dataValue)(Code)



getNullNClob
public StringDataValue getNullNClob(StringDataValue dataValue)(Code)



getNullNationalChar
public StringDataValue getNullNationalChar(StringDataValue dataValue)(Code)



getNullNationalLongvarchar
public StringDataValue getNullNationalLongvarchar(StringDataValue dataValue)(Code)



getNullNationalVarchar
public StringDataValue getNullNationalVarchar(StringDataValue dataValue)(Code)



getNullObject
public UserDataValue getNullObject(UserDataValue dataValue)(Code)



getNullRef
public RefDataValue getNullRef(RefDataValue dataValue)(Code)



getNullShort
public NumberDataValue getNullShort(NumberDataValue dataValue)(Code)



getNullTime
public DateTimeDataValue getNullTime(DateTimeDataValue dataValue)(Code)



getNullTimestamp
public DateTimeDataValue getNullTimestamp(DateTimeDataValue dataValue)(Code)



getNullVarbit
public BitDataValue getNullVarbit(BitDataValue dataValue) throws StandardException(Code)



getNullVarchar
public StringDataValue getNullVarchar(StringDataValue dataValue)(Code)



getNullXML
public XMLDataValue getNullXML(XMLDataValue dataValue)(Code)
getNullXML: Get an XML with a SQL null value. If the supplied value is null then get a new value, otherwise set it to null and return that value.
Parameters:
  dataValue - An XMLDataValue instance to re-use. An XMLDataValue instance corresponding to aNULL value. If an XMLDataValue was received, thereturned XMLDataValue is the same instance as the onereceived, but the actual data has been set to null.



getTimeValue
public DateTimeDataValue getTimeValue(String timeStr, boolean isJdbcEscape) throws StandardException(Code)



getTimestamp
public DateTimeDataValue getTimestamp(DataValueDescriptor operand) throws StandardException(Code)
Implement the timestamp SQL function: construct a SQL timestamp from a string, or timestamp.
Parameters:
  operand - Must be a timestamp or a string convertible to a timestamp.
exception:
  StandardException - standard error policy



getTimestamp
public DateTimeDataValue getTimestamp(DataValueDescriptor date, DataValueDescriptor time) throws StandardException(Code)



getTimestampValue
public DateTimeDataValue getTimestampValue(String timestampStr, boolean isJdbcEscape) throws StandardException(Code)



getVarbitDataValue
public BitDataValue getVarbitDataValue(byte[] value)(Code)



getVarbitDataValue
public BitDataValue getVarbitDataValue(byte[] value, BitDataValue previous) throws StandardException(Code)



getVarcharDataValue
public StringDataValue getVarcharDataValue(String value)(Code)



getVarcharDataValue
public StringDataValue getVarcharDataValue(String value, StringDataValue previous) throws StandardException(Code)



getXMLDataValue
public XMLDataValue getXMLDataValue()(Code)
getXMLDataValue: Get a SQL null value with XML type. An XMLDataValue instance corresponding to aa NULL value.



getXMLDataValue
public XMLDataValue getXMLDataValue(XMLDataValue previous) throws StandardException(Code)
getXMLDataValue: Get a null XML value. If a non-null XMLDataValue is received then re-use that instance, otherwise create a new one.
Parameters:
  previous - An XMLDataValue instance to re-use. An XMLDataValue instance corresponding to aNULL value. If an XMLDataValue was received, thereturned XMLDataValue is the same instance as the onereceived, but the actual data has been set to aSQL null value.
exception:
  StandardException - Thrown on error



stop
public void stop()(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.