public class CDCDataValueFactory extends DataValueFactoryImpl implements ModuleSupportable
DataValueFactory
localeFinder
Constructor and Description |
---|
CDCDataValueFactory()
Make the constructor public.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canSupport(java.util.Properties properties)
See if this implementation can support any attributes that are listed in properties.
|
NumberDataValue |
getDecimalDataValue(java.lang.Long value,
NumberDataValue previous)
Get a SQL DECIMAL with the given value.
|
NumberDataValue |
getDecimalDataValue(java.lang.String value)
Get a SQL DECIMAL with the given value.
|
NumberDataValue |
getNullDecimal(NumberDataValue dataValue)
Get a SQL Decimal/Numeric with a SQL null value.
|
boot, getBitDataValue, getBitDataValue, getBlobDataValue, getBlobDataValue, getCharacterCollator, getCharDataValue, getCharDataValue, getCharDataValue, getClobDataValue, getClobDataValue, getClobDataValue, getClobDataValue, getDataValue, getDataValue, getDataValue, getDataValue, getDataValue, getDataValue, getDataValue, getDataValue, getDataValue, getDataValue, getDataValue, getDataValue, getDataValue, getDataValue, getDataValue, getDataValue, getDataValue, getDataValue, getDataValue, getDataValue, getDate, getDateValue, getDecimalDataValue, getDecimalDataValue, getDecimalDataValue, getLongVarbitDataValue, getLongvarcharDataValue, getLongvarcharDataValue, getLongvarcharDataValue, getNull, getNullBit, getNullBlob, getNullBoolean, getNullByte, getNullChar, getNullChar, getNullClob, getNullClob, getNullDate, getNullDouble, getNullDVDWithUCS_BASICcollation, getNullFloat, getNullInteger, getNullLong, getNullLongVarbit, getNullLongvarchar, getNullLongvarchar, getNullObject, getNullRef, getNullShort, getNullTime, getNullTimestamp, getNullVarbit, getNullVarchar, getNullVarchar, getNullXML, getTimestamp, getTimestamp, getTimestampValue, getTimeValue, getVarbitDataValue, getVarcharDataValue, getVarcharDataValue, getVarcharDataValue, getXMLDataValue, stop
public boolean canSupport(java.util.Properties properties)
ModuleSupportable
The module can check for attributes in the properties to
see if it can fulfill the required behaviour. E.g. the raw
store may define an attribute called RawStore.Recoverable.
If a temporary raw store is required the property RawStore.recoverable=false
would be added to the properties before calling bootServiceModule. If a
raw store cannot support this attribute its canSupport method would
return null. Also see the Monitor class's prologue to see how the
identifier is used in looking up properties.
Actually a better way maybe to have properties of the form
RawStore.Attributes.mandatory=recoverable,smallfootprint and
RawStore.Attributes.requested=oltp,fast
canSupport
in interface ModuleSupportable
public NumberDataValue getDecimalDataValue(java.lang.Long value, NumberDataValue previous) throws StandardException
DataValueFactory
getDecimalDataValue
in interface DataValueFactory
StandardException
- Thrown on errorpublic NumberDataValue getDecimalDataValue(java.lang.String value) throws StandardException
DataValueFactory
getDecimalDataValue
in interface DataValueFactory
StandardException
- Thrown on errorpublic NumberDataValue getNullDecimal(NumberDataValue dataValue)
DataValueFactory
getNullDecimal
in interface DataValueFactory
Apache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.