|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.derby.iapi.types.DataValueFactoryImpl
org.apache.derby.iapi.types.J2SEDataValueFactory
DataValueFactory implementation for J2SE. Uses SQLDecimal for DECIMAL which implements DECIMAL functionality using java.math.BigDecimal.
DataValueFactory| Field Summary | |
(package private) LocaleFinder |
localeFinder
|
| Constructor Summary | |
J2SEDataValueFactory()
|
|
| Method Summary | |
void |
boot(boolean create,
java.util.Properties properties)
Boot this module with the given properties. |
BitDataValue |
getBitDataValue(byte[] value)
Get a SQL bit with the given value. |
BitDataValue |
getBitDataValue(byte[] value,
BitDataValue previous)
|
BitDataValue |
getBlobDataValue(byte[] value)
Get a SQL Blob with the given value. |
BitDataValue |
getBlobDataValue(byte[] value,
BitDataValue previous)
|
StringDataValue |
getCharDataValue(java.lang.String value)
Get a SQL char with the given value. |
StringDataValue |
getCharDataValue(java.lang.String value,
StringDataValue previous)
|
StringDataValue |
getClobDataValue(java.lang.String value)
Get a SQL Clob with the given value. |
StringDataValue |
getClobDataValue(java.lang.String value,
StringDataValue previous)
|
BooleanDataValue |
getDataValue(boolean value)
Get a SQL boolean with the given value. |
BooleanDataValue |
getDataValue(java.lang.Boolean value)
Get a SQL boolean with the given value. |
BooleanDataValue |
getDataValue(boolean value,
BooleanDataValue previous)
|
BooleanDataValue |
getDataValue(java.lang.Boolean value,
BooleanDataValue previous)
|
BooleanDataValue |
getDataValue(BooleanDataValue value)
Get a SQL boolean with the given value. |
NumberDataValue |
getDataValue(byte value)
Get a SQL TINYINT with the given value. |
NumberDataValue |
getDataValue(java.lang.Byte value)
Get a SQL TINYINT with the given value. |
NumberDataValue |
getDataValue(byte value,
NumberDataValue previous)
|
NumberDataValue |
getDataValue(java.lang.Byte value,
NumberDataValue previous)
|
NumberDataValue |
getDataValue(char value)
Get a SQL int with a char value. |
NumberDataValue |
getDataValue(char value,
NumberDataValue previous)
|
DateTimeDataValue |
getDataValue(java.sql.Date value)
Get a SQL date with the given value. |
DateTimeDataValue |
getDataValue(java.sql.Date value,
DateTimeDataValue previous)
|
NumberDataValue |
getDataValue(double value)
Get a SQL double precision with the given value. |
NumberDataValue |
getDataValue(java.lang.Double value)
Get a SQL double precision with the given value. |
NumberDataValue |
getDataValue(double value,
NumberDataValue previous)
|
NumberDataValue |
getDataValue(java.lang.Double value,
NumberDataValue previous)
|
NumberDataValue |
getDataValue(float value)
Get a SQL real with the given value. |
NumberDataValue |
getDataValue(java.lang.Float value)
Get a SQL real with the given value. |
NumberDataValue |
getDataValue(float value,
NumberDataValue previous)
|
NumberDataValue |
getDataValue(java.lang.Float value,
NumberDataValue previous)
|
NumberDataValue |
getDataValue(int value)
Get a SQL int with the given value. |
NumberDataValue |
getDataValue(java.lang.Integer value)
Get a SQL int with the given value. |
NumberDataValue |
getDataValue(java.lang.Integer value,
NumberDataValue previous)
|
NumberDataValue |
getDataValue(int value,
NumberDataValue previous)
|
NumberDataValue |
getDataValue(long value)
Get a SQL bigint with the given value. |
NumberDataValue |
getDataValue(java.lang.Long value)
Get a SQL bigint with the given value. |
NumberDataValue |
getDataValue(long value,
NumberDataValue previous)
|
NumberDataValue |
getDataValue(java.lang.Long value,
NumberDataValue previous)
|
UserDataValue |
getDataValue(java.lang.Object value)
Get a User-defined data value with the given value and type name. |
UserDataValue |
getDataValue(java.lang.Object value,
UserDataValue previous)
|
RefDataValue |
getDataValue(RowLocation value)
Get a RefDataValue with the given value. |
RefDataValue |
getDataValue(RowLocation value,
RefDataValue previous)
|
NumberDataValue |
getDataValue(short value)
Get a SQL SMALLINT with the given value. |
NumberDataValue |
getDataValue(java.lang.Short value)
Get a SQL smallint with the given value. |
NumberDataValue |
getDataValue(short value,
NumberDataValue previous)
|
NumberDataValue |
getDataValue(java.lang.Short value,
NumberDataValue previous)
|
DateTimeDataValue |
getDataValue(java.sql.Time value)
Get a SQL time with the given value. |
DateTimeDataValue |
getDataValue(java.sql.Time value,
DateTimeDataValue previous)
|
DateTimeDataValue |
getDataValue(java.sql.Timestamp value)
Get a SQL timestamp with the given value. |
DateTimeDataValue |
getDataValue(java.sql.Timestamp value,
DateTimeDataValue previous)
|
DateTimeDataValue |
getDate(DataValueDescriptor operand)
Implement the date SQL function: construct a SQL date from a string, number, or timestamp. |
DateTimeDataValue |
getDateValue(java.lang.String dateStr,
boolean isJdbcEscape)
|
NumberDataValue |
getDecimalDataValue(java.lang.Long value,
NumberDataValue previous)
Get a SQL DECIMAL with the given value. |
NumberDataValue |
getDecimalDataValue(java.lang.Number value)
Get a SQL DECIMAL with the given value. |
NumberDataValue |
getDecimalDataValue(java.lang.Number value,
NumberDataValue previous)
|
NumberDataValue |
getDecimalDataValue(java.lang.String value)
Get a SQL DECIMAL with the given value. |
NumberDataValue |
getDecimalDataValue(java.lang.String value,
NumberDataValue previous)
|
BitDataValue |
getLongVarbitDataValue(byte[] value)
Get a SQL Long Bit Varying with the given value. |
BitDataValue |
getLongVarbitDataValue(byte[] value,
BitDataValue previous)
|
StringDataValue |
getLongvarcharDataValue(java.lang.String value)
Get a SQL long varchar with the given value. |
StringDataValue |
getLongvarcharDataValue(java.lang.String value,
StringDataValue previous)
|
StringDataValue |
getNationalCharDataValue(java.lang.String value)
Get a SQL national char with the given value. |
StringDataValue |
getNationalCharDataValue(java.lang.String value,
StringDataValue previous)
|
StringDataValue |
getNationalLongvarcharDataValue(java.lang.String value)
Get a SQL national long varchar with the given value. |
StringDataValue |
getNationalLongvarcharDataValue(java.lang.String value,
StringDataValue previous)
|
StringDataValue |
getNationalVarcharDataValue(java.lang.String value)
Get a SQL national varchar with the given value. |
StringDataValue |
getNationalVarcharDataValue(java.lang.String value,
StringDataValue previous)
|
StringDataValue |
getNClobDataValue(java.lang.String value)
Get a SQL national blob with the given value. |
StringDataValue |
getNClobDataValue(java.lang.String value,
StringDataValue previous)
|
BitDataValue |
getNullBit(BitDataValue dataValue)
Get a SQL Bit with a SQL null value. |
BitDataValue |
getNullBlob(BitDataValue dataValue)
Get a SQL Blob with a SQL null value. |
BooleanDataValue |
getNullBoolean(BooleanDataValue dataValue)
Get a SQL boolean with a SQL null value. |
NumberDataValue |
getNullByte(NumberDataValue dataValue)
Get a SQL tinyint with a SQL null value. |
StringDataValue |
getNullChar(StringDataValue dataValue)
Get a SQL char with a SQL null value. |
StringDataValue |
getNullClob(StringDataValue dataValue)
Get a SQL long varchar with a SQL null value. |
DateTimeDataValue |
getNullDate(DateTimeDataValue dataValue)
Get a SQL date with a SQL null value. |
NumberDataValue |
getNullDecimal(NumberDataValue dataValue)
Get a SQL Decimal/Numeric with a SQL null value. |
NumberDataValue |
getNullDouble(NumberDataValue dataValue)
Get a SQL double with a SQL null value. |
NumberDataValue |
getNullFloat(NumberDataValue dataValue)
Get a SQL float with a SQL null value. |
NumberDataValue |
getNullInteger(NumberDataValue dataValue)
Get a SQL int with a SQL null value. |
NumberDataValue |
getNullLong(NumberDataValue dataValue)
Get a SQL bigint with a SQL null value. |
BitDataValue |
getNullLongVarbit(BitDataValue dataValue)
Get a SQL Long Bit Varying with a SQL null value. |
StringDataValue |
getNullLongvarchar(StringDataValue dataValue)
Get a SQL long varchar with a SQL null value. |
StringDataValue |
getNullNationalChar(StringDataValue dataValue)
Get a SQL national char with a SQL null value. |
StringDataValue |
getNullNationalLongvarchar(StringDataValue dataValue)
Get a SQL national long varchar with a SQL null value. |
StringDataValue |
getNullNationalVarchar(StringDataValue dataValue)
Get a SQL national varchar with a SQL null value. |
StringDataValue |
getNullNClob(StringDataValue dataValue)
Get a SQL NCLOB with a SQL null value. |
UserDataValue |
getNullObject(UserDataValue dataValue)
Get a User-defined data value with a SQL null value. |
RefDataValue |
getNullRef(RefDataValue dataValue)
Get a RefDataValue with a SQL null value. |
NumberDataValue |
getNullShort(NumberDataValue dataValue)
Get a SQL smallint with a SQL null value. |
DateTimeDataValue |
getNullTime(DateTimeDataValue dataValue)
Get a SQL time with a SQL null value. |
DateTimeDataValue |
getNullTimestamp(DateTimeDataValue dataValue)
Get a SQL timestamp with a SQL null value. |
BitDataValue |
getNullVarbit(BitDataValue dataValue)
Get a SQL Bit Varying with a SQL null value. |
StringDataValue |
getNullVarchar(StringDataValue dataValue)
Get a SQL varchar with a SQL null value. |
XMLDataValue |
getNullXML(XMLDataValue dataValue)
getNullXML: Get an XML with a SQL null value. |
DateTimeDataValue |
getTimestamp(DataValueDescriptor operand)
Implement the timestamp SQL function: construct a SQL timestamp from a string, or timestamp. |
DateTimeDataValue |
getTimestamp(DataValueDescriptor date,
DataValueDescriptor time)
Construct a SQL timestamp from a date and time. |
DateTimeDataValue |
getTimestampValue(java.lang.String timestampStr,
boolean isJdbcEscape)
|
DateTimeDataValue |
getTimeValue(java.lang.String timeStr,
boolean isJdbcEscape)
|
BitDataValue |
getVarbitDataValue(byte[] value)
Get a SQL bit with the given value. |
BitDataValue |
getVarbitDataValue(byte[] value,
BitDataValue previous)
|
StringDataValue |
getVarcharDataValue(java.lang.String value)
Get a SQL varchar with the given value. |
StringDataValue |
getVarcharDataValue(java.lang.String value,
StringDataValue previous)
|
XMLDataValue |
getXMLDataValue()
getXMLDataValue: Get a SQL null value with XML type. |
XMLDataValue |
getXMLDataValue(XMLDataValue previous)
getXMLDataValue: Get a null XML value. |
void |
stop()
Stop the module. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
LocaleFinder localeFinder
| Constructor Detail |
public J2SEDataValueFactory()
| Method Detail |
public void boot(boolean create,
java.util.Properties properties)
throws StandardException
ModuleControlAn implementation's boot method can throw StandardException. If it is thrown the module is not registered by the monitor and therefore cannot be found through a findModule(). In this case the module's stop() method is not called, thus throwing this exception must free up any resources.
When create is true the contents of the properties object
will be written to the service.properties of the persistent
service. Thus any code that requires an entry in service.properties
must explicitly place the value in this properties set
using the put method.
Typically the properties object contains one or more default
properties sets, which are not written out to service.properties.
These default sets are how callers modify the create process. In a
JDBC connection database create the first set of defaults is a properties
object that contains the attributes that were set on the jdbc:derby: URL.
This attributes properties set has the second default properties set as
its default. This set (which could be null) contains the properties
that the user set on their DriverManager.getConnection() call, and are thus
not owned by cloudscape code, and thus must not be modified by cloudscape
code.
When create is false the properties object contains all the properties set in the service.properties file plus a limited number of attributes from the JDBC URL attributes or connection properties set. This avoids properties set by the user compromising the boot process. An example of a property passed in from the JDBC world is the bootPassword for encrypted databases.
Code should not hold onto the passed in properties reference after boot time as its contents may change underneath it. At least after the complete boot is completed, the links to all the default sets will be removed.
boot in interface ModuleControlboot in class DataValueFactoryImplStandardException
public NumberDataValue getDecimalDataValue(java.lang.Long value,
NumberDataValue previous)
throws StandardException
DataValueFactory
StandardException - Thrown on error
public NumberDataValue getDecimalDataValue(java.lang.String value)
throws StandardException
DataValueFactory
StandardException - Thrown on errorpublic NumberDataValue getNullDecimal(NumberDataValue dataValue)
DataValueFactory
public void stop()
ModuleControl
stop in interface ModuleControlMonitor,
ModuleFactorypublic NumberDataValue getDataValue(int value)
DataValueFactory
getDataValue in interface DataValueFactoryDataValueFactory.getDataValue(java.lang.Integer)
public NumberDataValue getDataValue(int value,
NumberDataValue previous)
throws StandardException
getDataValue in interface DataValueFactoryStandardExceptionpublic NumberDataValue getDataValue(java.lang.Integer value)
DataValueFactory
getDataValue in interface DataValueFactory
public NumberDataValue getDataValue(java.lang.Integer value,
NumberDataValue previous)
throws StandardException
getDataValue in interface DataValueFactoryStandardExceptionpublic NumberDataValue getDataValue(char value)
DataValueFactory
getDataValue in interface DataValueFactory
public NumberDataValue getDataValue(char value,
NumberDataValue previous)
throws StandardException
getDataValue in interface DataValueFactoryStandardExceptionpublic NumberDataValue getDataValue(short value)
DataValueFactory
getDataValue in interface DataValueFactory
public NumberDataValue getDataValue(short value,
NumberDataValue previous)
throws StandardException
getDataValue in interface DataValueFactoryStandardExceptionpublic NumberDataValue getDataValue(java.lang.Short value)
DataValueFactory
getDataValue in interface DataValueFactory
public NumberDataValue getDataValue(java.lang.Short value,
NumberDataValue previous)
throws StandardException
getDataValue in interface DataValueFactoryStandardExceptionpublic NumberDataValue getDataValue(byte value)
DataValueFactory
getDataValue in interface DataValueFactory
public NumberDataValue getDataValue(byte value,
NumberDataValue previous)
throws StandardException
getDataValue in interface DataValueFactoryStandardExceptionpublic NumberDataValue getDataValue(java.lang.Byte value)
DataValueFactory
getDataValue in interface DataValueFactory
public NumberDataValue getDataValue(java.lang.Byte value,
NumberDataValue previous)
throws StandardException
getDataValue in interface DataValueFactoryStandardExceptionpublic NumberDataValue getDataValue(long value)
DataValueFactory
getDataValue in interface DataValueFactory
public NumberDataValue getDataValue(long value,
NumberDataValue previous)
throws StandardException
getDataValue in interface DataValueFactoryStandardExceptionpublic NumberDataValue getDataValue(java.lang.Long value)
DataValueFactory
getDataValue in interface DataValueFactory
public NumberDataValue getDataValue(java.lang.Long value,
NumberDataValue previous)
throws StandardException
getDataValue in interface DataValueFactoryStandardException
public NumberDataValue getDataValue(float value)
throws StandardException
DataValueFactory
getDataValue in interface DataValueFactoryStandardException - Thrown on error
public NumberDataValue getDataValue(float value,
NumberDataValue previous)
throws StandardException
getDataValue in interface DataValueFactoryStandardException
public NumberDataValue getDataValue(java.lang.Float value)
throws StandardException
DataValueFactory
getDataValue in interface DataValueFactoryStandardException
public NumberDataValue getDataValue(java.lang.Float value,
NumberDataValue previous)
throws StandardException
getDataValue in interface DataValueFactoryStandardException
public NumberDataValue getDataValue(double value)
throws StandardException
DataValueFactory
getDataValue in interface DataValueFactoryStandardException - Thrown on error
public NumberDataValue getDataValue(double value,
NumberDataValue previous)
throws StandardException
getDataValue in interface DataValueFactoryStandardException
public NumberDataValue getDataValue(java.lang.Double value)
throws StandardException
DataValueFactory
getDataValue in interface DataValueFactoryStandardException - Thrown on error
public NumberDataValue getDataValue(java.lang.Double value,
NumberDataValue previous)
throws StandardException
getDataValue in interface DataValueFactoryStandardException
public final NumberDataValue getDecimalDataValue(java.lang.Number value)
throws StandardException
DataValueFactory
getDecimalDataValue in interface DataValueFactoryStandardException - Thrown on error
public final NumberDataValue getDecimalDataValue(java.lang.Number value,
NumberDataValue previous)
throws StandardException
getDecimalDataValue in interface DataValueFactoryStandardException
public final NumberDataValue getDecimalDataValue(java.lang.String value,
NumberDataValue previous)
throws StandardException
getDecimalDataValue in interface DataValueFactoryStandardExceptionpublic BooleanDataValue getDataValue(boolean value)
DataValueFactory
getDataValue in interface DataValueFactory
public BooleanDataValue getDataValue(boolean value,
BooleanDataValue previous)
throws StandardException
getDataValue in interface DataValueFactoryStandardExceptionpublic BooleanDataValue getDataValue(java.lang.Boolean value)
DataValueFactory
getDataValue in interface DataValueFactory
public BooleanDataValue getDataValue(java.lang.Boolean value,
BooleanDataValue previous)
throws StandardException
getDataValue in interface DataValueFactoryStandardExceptionpublic BooleanDataValue getDataValue(BooleanDataValue value)
DataValueFactory
getDataValue in interface DataValueFactory
public BitDataValue getBitDataValue(byte[] value)
throws StandardException
DataValueFactory
getBitDataValue in interface DataValueFactoryStandardException - Thrown on error
public BitDataValue getBitDataValue(byte[] value,
BitDataValue previous)
throws StandardException
getBitDataValue in interface DataValueFactoryStandardExceptionpublic BitDataValue getVarbitDataValue(byte[] value)
DataValueFactory
getVarbitDataValue in interface DataValueFactory
public BitDataValue getVarbitDataValue(byte[] value,
BitDataValue previous)
throws StandardException
getVarbitDataValue in interface DataValueFactoryStandardException
public BitDataValue getLongVarbitDataValue(byte[] value)
throws StandardException
DataValueFactory
getLongVarbitDataValue in interface DataValueFactoryStandardException - Thrown on error
public BitDataValue getLongVarbitDataValue(byte[] value,
BitDataValue previous)
throws StandardException
getLongVarbitDataValue in interface DataValueFactoryStandardException
public BitDataValue getBlobDataValue(byte[] value)
throws StandardException
DataValueFactory
getBlobDataValue in interface DataValueFactoryStandardException - Thrown on error
public BitDataValue getBlobDataValue(byte[] value,
BitDataValue previous)
throws StandardException
getBlobDataValue in interface DataValueFactoryStandardExceptionpublic StringDataValue getCharDataValue(java.lang.String value)
DataValueFactory
getCharDataValue in interface DataValueFactory
public StringDataValue getCharDataValue(java.lang.String value,
StringDataValue previous)
throws StandardException
getCharDataValue in interface DataValueFactoryStandardExceptionpublic StringDataValue getVarcharDataValue(java.lang.String value)
DataValueFactory
getVarcharDataValue in interface DataValueFactory
public StringDataValue getVarcharDataValue(java.lang.String value,
StringDataValue previous)
throws StandardException
getVarcharDataValue in interface DataValueFactoryStandardExceptionpublic StringDataValue getLongvarcharDataValue(java.lang.String value)
DataValueFactory
getLongvarcharDataValue in interface DataValueFactorypublic StringDataValue getClobDataValue(java.lang.String value)
DataValueFactory
getClobDataValue in interface DataValueFactory
public StringDataValue getLongvarcharDataValue(java.lang.String value,
StringDataValue previous)
throws StandardException
getLongvarcharDataValue in interface DataValueFactoryStandardException
public StringDataValue getClobDataValue(java.lang.String value,
StringDataValue previous)
throws StandardException
getClobDataValue in interface DataValueFactoryStandardExceptionpublic StringDataValue getNationalCharDataValue(java.lang.String value)
DataValueFactory
getNationalCharDataValue in interface DataValueFactory
public StringDataValue getNationalCharDataValue(java.lang.String value,
StringDataValue previous)
throws StandardException
getNationalCharDataValue in interface DataValueFactoryStandardExceptionpublic StringDataValue getNationalVarcharDataValue(java.lang.String value)
DataValueFactory
getNationalVarcharDataValue in interface DataValueFactory
public StringDataValue getNationalVarcharDataValue(java.lang.String value,
StringDataValue previous)
throws StandardException
getNationalVarcharDataValue in interface DataValueFactoryStandardExceptionpublic StringDataValue getNationalLongvarcharDataValue(java.lang.String value)
DataValueFactory
getNationalLongvarcharDataValue in interface DataValueFactory
public StringDataValue getNationalLongvarcharDataValue(java.lang.String value,
StringDataValue previous)
throws StandardException
getNationalLongvarcharDataValue in interface DataValueFactoryStandardExceptionpublic StringDataValue getNClobDataValue(java.lang.String value)
DataValueFactory
getNClobDataValue in interface DataValueFactory
public StringDataValue getNClobDataValue(java.lang.String value,
StringDataValue previous)
throws StandardException
getNClobDataValue in interface DataValueFactoryStandardException
public DateTimeDataValue getDataValue(java.sql.Date value)
throws StandardException
DataValueFactory
getDataValue in interface DataValueFactoryStandardException
public DateTimeDataValue getDataValue(java.sql.Date value,
DateTimeDataValue previous)
throws StandardException
getDataValue in interface DataValueFactoryStandardException
public DateTimeDataValue getDataValue(java.sql.Time value)
throws StandardException
DataValueFactory
getDataValue in interface DataValueFactoryStandardException
public DateTimeDataValue getDataValue(java.sql.Time value,
DateTimeDataValue previous)
throws StandardException
getDataValue in interface DataValueFactoryStandardException
public DateTimeDataValue getDataValue(java.sql.Timestamp value)
throws StandardException
DataValueFactory
getDataValue in interface DataValueFactoryStandardException
public DateTimeDataValue getDataValue(java.sql.Timestamp value,
DateTimeDataValue previous)
throws StandardException
getDataValue in interface DataValueFactoryStandardException
public DateTimeDataValue getDate(DataValueDescriptor operand)
throws StandardException
getDate in interface DataValueFactoryoperand - Must be a date, a number, or a string convertible to a date.
StandardException - standard error policy
public DateTimeDataValue getTimestamp(DataValueDescriptor operand)
throws StandardException
getTimestamp in interface DataValueFactoryoperand - Must be a timestamp or a string convertible to a timestamp.
StandardException - standard error policy
public DateTimeDataValue getTimestamp(DataValueDescriptor date,
DataValueDescriptor time)
throws StandardException
DataValueFactory
getTimestamp in interface DataValueFactorydate - Must be convertible to a date.time - Must be convertible to a time.
StandardExceptionpublic UserDataValue getDataValue(java.lang.Object value)
DataValueFactory
getDataValue in interface DataValueFactory
public UserDataValue getDataValue(java.lang.Object value,
UserDataValue previous)
getDataValue in interface DataValueFactorypublic RefDataValue getDataValue(RowLocation value)
DataValueFactory
getDataValue in interface DataValueFactory
public RefDataValue getDataValue(RowLocation value,
RefDataValue previous)
getDataValue in interface DataValueFactorypublic NumberDataValue getNullInteger(NumberDataValue dataValue)
DataValueFactory
getNullInteger in interface DataValueFactorypublic NumberDataValue getNullShort(NumberDataValue dataValue)
DataValueFactory
getNullShort in interface DataValueFactorypublic NumberDataValue getNullLong(NumberDataValue dataValue)
DataValueFactory
getNullLong in interface DataValueFactorypublic NumberDataValue getNullByte(NumberDataValue dataValue)
DataValueFactory
getNullByte in interface DataValueFactorypublic NumberDataValue getNullFloat(NumberDataValue dataValue)
DataValueFactory
getNullFloat in interface DataValueFactorypublic NumberDataValue getNullDouble(NumberDataValue dataValue)
DataValueFactory
getNullDouble in interface DataValueFactorypublic BooleanDataValue getNullBoolean(BooleanDataValue dataValue)
DataValueFactory
getNullBoolean in interface DataValueFactory
public BitDataValue getNullBit(BitDataValue dataValue)
throws StandardException
DataValueFactory
getNullBit in interface DataValueFactoryStandardException - Thrown on error
public BitDataValue getNullVarbit(BitDataValue dataValue)
throws StandardException
DataValueFactory
getNullVarbit in interface DataValueFactoryStandardException - Thrown on error
public BitDataValue getNullLongVarbit(BitDataValue dataValue)
throws StandardException
DataValueFactory
getNullLongVarbit in interface DataValueFactoryStandardException - Thrown on error
public BitDataValue getNullBlob(BitDataValue dataValue)
throws StandardException
DataValueFactory
getNullBlob in interface DataValueFactoryStandardException - Thrown on errorpublic StringDataValue getNullChar(StringDataValue dataValue)
DataValueFactory
getNullChar in interface DataValueFactorypublic StringDataValue getNullVarchar(StringDataValue dataValue)
DataValueFactory
getNullVarchar in interface DataValueFactorypublic StringDataValue getNullLongvarchar(StringDataValue dataValue)
DataValueFactory
getNullLongvarchar in interface DataValueFactorypublic StringDataValue getNullClob(StringDataValue dataValue)
DataValueFactory
getNullClob in interface DataValueFactorypublic StringDataValue getNullNationalChar(StringDataValue dataValue)
DataValueFactory
getNullNationalChar in interface DataValueFactorypublic StringDataValue getNullNationalVarchar(StringDataValue dataValue)
DataValueFactory
getNullNationalVarchar in interface DataValueFactorypublic StringDataValue getNullNationalLongvarchar(StringDataValue dataValue)
DataValueFactory
getNullNationalLongvarchar in interface DataValueFactorypublic StringDataValue getNullNClob(StringDataValue dataValue)
DataValueFactory
getNullNClob in interface DataValueFactorypublic UserDataValue getNullObject(UserDataValue dataValue)
DataValueFactory
getNullObject in interface DataValueFactorypublic RefDataValue getNullRef(RefDataValue dataValue)
DataValueFactory
getNullRef in interface DataValueFactorypublic DateTimeDataValue getNullDate(DateTimeDataValue dataValue)
DataValueFactory
getNullDate in interface DataValueFactorypublic DateTimeDataValue getNullTime(DateTimeDataValue dataValue)
DataValueFactory
getNullTime in interface DataValueFactorypublic DateTimeDataValue getNullTimestamp(DateTimeDataValue dataValue)
DataValueFactory
getNullTimestamp in interface DataValueFactory
public DateTimeDataValue getDateValue(java.lang.String dateStr,
boolean isJdbcEscape)
throws StandardException
getDateValue in interface DataValueFactorydateStr - A date in one of the DB2 standard date formats or the local format.isJdbcEscape - If true then the timestamp must be in the JDBC timestamp escape format, otherwise it must
be in the DB2 timestamp format.
StandardException - if the syntax is invalid or the date is out of range.
public DateTimeDataValue getTimeValue(java.lang.String timeStr,
boolean isJdbcEscape)
throws StandardException
getTimeValue in interface DataValueFactorytimeStr - A date in one of the DB2 standard time formats or the local format.isJdbcEscape - If true then the timestamp must be in the JDBC time escape format, otherwise it must
be in the DB2 time format.
StandardException - if the syntax is invalid or the time is out of range.
public DateTimeDataValue getTimestampValue(java.lang.String timestampStr,
boolean isJdbcEscape)
throws StandardException
getTimestampValue in interface DataValueFactoryisJdbcEscape - If true then the time must be in the JDBC time escape format, otherwise it must
be in the DB2 time format.
StandardException - if the syntax is invalid or the timestamp is out of range.public XMLDataValue getXMLDataValue()
getXMLDataValue in interface DataValueFactory
public XMLDataValue getXMLDataValue(XMLDataValue previous)
throws StandardException
getXMLDataValue in interface DataValueFactoryprevious - An XMLDataValue instance to re-use.
StandardException - Thrown on errorpublic XMLDataValue getNullXML(XMLDataValue dataValue)
getNullXML in interface DataValueFactorydataValue - An XMLDataValue instance to re-use.
|
Built on Tue 2006-10-10 19:23:47+0200, from revision exported | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||