|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pentaho.di.core.row.ValueMeta
public class ValueMeta
Field Summary | |
---|---|
static String |
DEFAULT_DATE_FORMAT_MASK
|
static boolean |
EMPTY_STRING_AND_NULL_ARE_DIFFERENT
|
static String[] |
SINGLE_BYTE_ENCODINGS
|
static String[] |
trimTypeCode
The trim type codes |
static String[] |
trimTypeDesc
The trim description |
static String |
XML_DATA_TAG
|
static String |
XML_META_TAG
|
Fields inherited from interface org.pentaho.di.core.row.ValueMetaInterface |
---|
DEFAULT_INTEGER_LENGTH, SORT_TYPE_ASCENDING, SORT_TYPE_DESCENDING, SORT_TYPE_NOT_SORTED, sortTypeCodes, STORAGE_TYPE_BINARY_STRING, STORAGE_TYPE_INDEXED, STORAGE_TYPE_NORMAL, storageTypeCodes, TRIM_TYPE_BOTH, TRIM_TYPE_LEFT, TRIM_TYPE_NONE, TRIM_TYPE_RIGHT, TYPE_BIGNUMBER, TYPE_BINARY, TYPE_BOOLEAN, TYPE_DATE, TYPE_INTEGER, TYPE_NONE, TYPE_NUMBER, TYPE_SERIALIZABLE, TYPE_STRING, typeCodes |
Constructor Summary | |
---|---|
ValueMeta()
|
|
ValueMeta(DataInputStream inputStream)
|
|
ValueMeta(Node node)
|
|
ValueMeta(String name)
|
|
ValueMeta(String name,
int type)
|
|
ValueMeta(String name,
int type,
int storageType)
|
|
ValueMeta(String name,
int type,
int length,
int precision)
|
Method Summary | |
---|---|
ValueMeta |
clone()
|
Object |
cloneValueData(Object object)
Clones the data. |
int |
compare(Object data1,
Object data2)
Compare 2 values of the same data type |
int |
compare(Object data1,
ValueMetaInterface meta2,
Object data2)
Compare 2 values of the same data type |
Object |
convertBinaryStringToNativeType(byte[] binary)
Convert the binary data to the actual data type. - byte[] --> Long (Integer) - byte[] --> Double (Number) - byte[] --> BigDecimal (BigNumber) - byte[] --> Date (Date) - byte[] --> Boolean (Boolean) - byte[] --> byte[] (Binary) |
Object |
convertData(ValueMetaInterface meta2,
Object data2)
Convert the specified data to the data type specified in this object. |
Object |
convertDataCompatible(ValueMetaInterface meta2,
Object data2)
Convert the specified data to the data type specified in this object. |
Object |
convertDataFromString(String pol,
ValueMetaInterface convertMeta,
String nullIf,
String ifNull,
int trim_type)
Convert the specified string to the data type specified in this object. |
Object |
convertDataUsingConversionMetaData(Object data2)
Convert an object to the data type specified in the conversion metadata |
Object |
convertNormalStorageTypeToBinaryString(Object object)
Convert a normal storage type to a binary string object. |
static Boolean |
convertStringToBoolean(String string)
|
Object |
convertToBinaryStringStorageType(Object object)
Converts the specified data object to the binary string storage type. |
Object |
convertToNormalStorageType(Object object)
Converts the specified data object to the normal storage type. |
Value |
createOriginalValue(Object data)
Create an old-style value for backward compatibility reasons |
static String[] |
getAllTypes()
Get an array of String describing the possible types a Value can have. |
BigDecimal |
getBigNumber(Object object)
Convert the supplied data to a BigNumber |
byte[] |
getBinary(Object object)
Convert the supplied data to binary data |
byte[] |
getBinaryString(Object object)
convert the supplied data to a binary string representation (for writing text) |
Boolean |
getBoolean(Object object)
Convert the supplied data to a Boolean |
String |
getComments()
|
String |
getCompatibleString(Object object)
Convert the supplied data to a String compatible with version 2.5. |
String |
getConversionMask()
|
ValueMetaInterface |
getConversionMetadata()
This conversion metadata can be attached to a String object to see where it came from and with which mask it was generated, the encoding, the local languages used, padding, etc. |
String |
getCurrencySymbol()
|
String |
getDataXML(Object object)
|
Date |
getDate(Object object)
Convert the supplied data to a Date |
SimpleDateFormat |
getDateFormat()
|
Locale |
getDateFormatLocale()
|
DecimalFormat |
getDecimalFormat()
|
DecimalFormat |
getDecimalFormat(boolean useBigDecimal)
|
String |
getDecimalSymbol()
|
String |
getGroupingSymbol()
|
Object[] |
getIndex()
|
Long |
getInteger(Object object)
Convert the supplied data to an Integer |
int |
getLength()
|
String |
getMetaXML()
|
String |
getName()
|
Double |
getNumber(Object object)
Convert the supplied data to a Number |
long |
getNumberOfBinaryStringConversions()
|
String |
getOrigin()
|
int |
getOriginalColumnType()
store original JDBC RecordSetMetaData for later use |
String |
getOriginalColumnTypeName()
|
int |
getOriginalPrecision()
|
int |
getOriginalScale()
|
int |
getPrecision()
|
ValueMetaInterface |
getStorageMetadata()
|
int |
getStorageType()
|
static int |
getStorageType(String desc)
Convert the String description of a storage type to an integer type. |
static String |
getStorageTypeCode(int storageType)
|
String |
getStorageTypeDesc()
Return the storage type of a value in a textual form: "normal", "binary-string", "indexes" |
String |
getString(Object object)
Convert the supplied data to a String |
String |
getStringEncoding()
|
int |
getTrimType()
|
static int |
getTrimTypeByCode(String tt)
|
static int |
getTrimTypeByDesc(String tt)
|
static String |
getTrimTypeCode(int i)
|
static String[] |
getTrimTypeCodes()
|
static String |
getTrimTypeDesc(int i)
|
static String[] |
getTrimTypeDescriptions()
|
int |
getType()
|
static int |
getType(String desc)
Convert the String description of a type to an integer type. |
String |
getTypeDesc()
Return the type of a value in a textual form: "String", "Number", "Integer", "Boolean", "Date", ... |
static String |
getTypeDesc(int type)
TODO: change Desc to Code all over the place. |
static String[] |
getTypes()
get an array of String describing the possible types a Value can have. |
Object |
getValue(Node node)
Convert a data XML node to an Object that corresponds to the metadata. |
Object |
getValueData(Value value)
Extracts the primitive data from an old style Value object |
int |
hashCode(Object object)
Calculate the hashcode of the specified data object |
boolean |
isBigNumber()
Checks whether or not the value is a Big Number |
boolean |
isBigNumberFormatting()
|
boolean |
isBinary()
Checks whether or not this value is of type Binary |
boolean |
isBoolean()
Checks whether or not this value is a boolean |
boolean |
isCaseInsensitive()
|
boolean |
isDate()
Checks whether or not this value is a Date |
boolean |
isDateFormatLenient()
|
boolean |
isInteger()
Checks whether or not this value is an Integer |
boolean |
isLargeTextField()
|
boolean |
isNull(Object data)
Determine if an object is null. |
boolean |
isNumber()
Checks whether or not the value is a Number |
boolean |
isNumeric()
Checks whether or not this Value is Numeric A Value is numeric if it is either of type Number or Integer |
static boolean |
isNumeric(int t)
Checks whether or not the specified type is either Integer or Number |
boolean |
isOriginalAutoIncrement()
|
int |
isOriginalNullable()
|
boolean |
isOriginalSigned()
|
boolean |
isOutputPaddingEnabled()
|
boolean |
isSerializableType()
Checks whether or not this value is of type Serializable |
boolean |
isSingleByteEncoding()
|
boolean |
isSortedAscending()
|
boolean |
isSortedDescending()
|
boolean |
isStorageBinaryString()
|
boolean |
isStorageIndexed()
|
boolean |
isStorageNormal()
|
boolean |
isString()
Checks whether or not the value is a String. |
Object |
readData(DataInputStream inputStream)
De-serialize data from an inputstream. |
boolean |
requiresRealClone()
|
void |
setBigNumberFormatting(boolean bigNumberFormatting)
|
void |
setCaseInsensitive(boolean caseInsensitive)
|
void |
setComments(String comments)
|
void |
setConversionMask(String conversionMask)
|
void |
setConversionMetadata(ValueMetaInterface conversionMetadata)
Attach conversion metadata to a String object to see where it came from and with which mask it was generated, the encoding, the local languages used, padding, etc. |
void |
setCurrencySymbol(String currencySymbol)
|
void |
setDateFormatLenient(boolean dateFormatLenient)
|
void |
setDateFormatLocale(Locale dateFormatLocale)
|
void |
setDecimalSymbol(String decimalSymbol)
|
void |
setGroupingSymbol(String groupingSymbol)
|
void |
setIndex(Object[] index)
|
void |
setLargeTextField(boolean largeTextField)
|
void |
setLength(int length)
|
void |
setLength(int length,
int precision)
|
void |
setName(String name)
|
void |
setNumberOfBinaryStringConversions(long numberOfBinaryStringConversions)
|
void |
setOrigin(String origin)
|
void |
setOriginalAutoIncrement(boolean originalAutoIncrement)
|
void |
setOriginalColumnType(int originalColumnType)
|
void |
setOriginalColumnTypeName(String originalColumnTypeName)
|
void |
setOriginalNullable(int originalNullable)
|
void |
setOriginalPrecision(int originalPrecision)
|
void |
setOriginalScale(int originalScale)
|
void |
setOriginalSigned(boolean originalSigned)
|
void |
setOutputPaddingEnabled(boolean outputPaddingEnabled)
|
void |
setPrecision(int precision)
|
void |
setSortedDescending(boolean sortedDescending)
|
void |
setStorageMetadata(ValueMetaInterface storageMetadata)
|
void |
setStorageType(int storageType)
|
void |
setStringEncoding(String encoding)
|
void |
setTrimType(int trimType)
|
void |
setType(int type)
|
String |
toString()
|
String |
toStringMeta()
a String text representation of this Value, optionally padded to the specified length |
void |
writeData(DataOutputStream outputStream,
Object object)
Serialize the content of the specified data object to the outputStream. |
void |
writeMeta(DataOutputStream outputStream)
Write the content of this class (metadata) to the specified output stream. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String DEFAULT_DATE_FORMAT_MASK
public static final String XML_META_TAG
public static final String XML_DATA_TAG
public static final boolean EMPTY_STRING_AND_NULL_ARE_DIFFERENT
public static final String[] trimTypeCode
public static final String[] trimTypeDesc
public static final String[] SINGLE_BYTE_ENCODINGS
Constructor Detail |
---|
public ValueMeta()
public ValueMeta(String name)
public ValueMeta(String name, int type)
public ValueMeta(String name, int type, int storageType)
public ValueMeta(String name, int type, int length, int precision)
public ValueMeta(DataInputStream inputStream) throws KettleFileException, KettleEOFException
KettleFileException
KettleEOFException
public ValueMeta(Node node) throws KettleException
KettleException
Method Detail |
---|
public ValueMeta clone()
clone
in interface ValueMetaInterface
clone
in class Object
public String getComments()
getComments
in interface ValueMetaInterface
public void setComments(String comments)
setComments
in interface ValueMetaInterface
comments
- the comments to setpublic Object[] getIndex()
getIndex
in interface ValueMetaInterface
public void setIndex(Object[] index)
setIndex
in interface ValueMetaInterface
index
- the index to setpublic int getLength()
getLength
in interface ValueMetaInterface
public void setLength(int length)
setLength
in interface ValueMetaInterface
length
- the length to setpublic void setLength(int length, int precision)
setLength
in interface ValueMetaInterface
length
- the length to setpublic String getName()
getName
in interface ValueMetaInterface
public void setName(String name)
setName
in interface ValueMetaInterface
name
- the name to setpublic String getOrigin()
getOrigin
in interface ValueMetaInterface
public void setOrigin(String origin)
setOrigin
in interface ValueMetaInterface
origin
- the origin to setpublic int getPrecision()
getPrecision
in interface ValueMetaInterface
public void setPrecision(int precision)
setPrecision
in interface ValueMetaInterface
precision
- the precision to setpublic int getStorageType()
getStorageType
in interface ValueMetaInterface
public void setStorageType(int storageType)
setStorageType
in interface ValueMetaInterface
storageType
- the storageType to setpublic boolean isStorageNormal()
isStorageNormal
in interface ValueMetaInterface
public boolean isStorageIndexed()
isStorageIndexed
in interface ValueMetaInterface
public boolean isStorageBinaryString()
isStorageBinaryString
in interface ValueMetaInterface
public int getType()
getType
in interface ValueMetaInterface
public void setType(int type)
setType
in interface ValueMetaInterface
type
- the type to setpublic String getConversionMask()
getConversionMask
in interface ValueMetaInterface
public void setConversionMask(String conversionMask)
setConversionMask
in interface ValueMetaInterface
conversionMask
- the conversionMask to setpublic String getStringEncoding()
getStringEncoding
in interface ValueMetaInterface
public void setStringEncoding(String encoding)
setStringEncoding
in interface ValueMetaInterface
encoding
- the encoding to setpublic String getDecimalSymbol()
getDecimalSymbol
in interface ValueMetaInterface
public void setDecimalSymbol(String decimalSymbol)
setDecimalSymbol
in interface ValueMetaInterface
decimalSymbol
- the decimalSymbol to setpublic String getGroupingSymbol()
getGroupingSymbol
in interface ValueMetaInterface
public void setGroupingSymbol(String groupingSymbol)
setGroupingSymbol
in interface ValueMetaInterface
groupingSymbol
- the groupingSymbol to setpublic String getCurrencySymbol()
getCurrencySymbol
in interface ValueMetaInterface
public void setCurrencySymbol(String currencySymbol)
setCurrencySymbol
in interface ValueMetaInterface
currencySymbol
- the currencySymbol to setpublic boolean isCaseInsensitive()
isCaseInsensitive
in interface ValueMetaInterface
public void setCaseInsensitive(boolean caseInsensitive)
setCaseInsensitive
in interface ValueMetaInterface
caseInsensitive
- the caseInsensitive to setpublic boolean isSortedDescending()
isSortedDescending
in interface ValueMetaInterface
public void setSortedDescending(boolean sortedDescending)
setSortedDescending
in interface ValueMetaInterface
sortedDescending
- the sortedDescending to setpublic boolean isOutputPaddingEnabled()
isOutputPaddingEnabled
in interface ValueMetaInterface
public void setOutputPaddingEnabled(boolean outputPaddingEnabled)
setOutputPaddingEnabled
in interface ValueMetaInterface
outputPaddingEnabled
- Set to true if output padding is to be enabled (padding to specified length)public boolean isLargeTextField()
isLargeTextField
in interface ValueMetaInterface
public void setLargeTextField(boolean largeTextField)
setLargeTextField
in interface ValueMetaInterface
largeTextField
- Set to true if this is to be a large text field (CLOB, TEXT) with arbitrary length.public boolean isDateFormatLenient()
isDateFormatLenient
in interface ValueMetaInterface
public void setDateFormatLenient(boolean dateFormatLenient)
setDateFormatLenient
in interface ValueMetaInterface
dateFormatLenient
- the dateFormatLenient to setpublic Locale getDateFormatLocale()
getDateFormatLocale
in interface ValueMetaInterface
public void setDateFormatLocale(Locale dateFormatLocale)
setDateFormatLocale
in interface ValueMetaInterface
dateFormatLocale
- the dateFormatLocale to setpublic SimpleDateFormat getDateFormat()
getDateFormat
in interface ValueMetaInterface
public DecimalFormat getDecimalFormat()
getDecimalFormat
in interface ValueMetaInterface
public DecimalFormat getDecimalFormat(boolean useBigDecimal)
getDecimalFormat
in interface ValueMetaInterface
public static Boolean convertStringToBoolean(String string)
public Object convertToNormalStorageType(Object object) throws KettleValueException
convertToNormalStorageType
in interface ValueMetaInterface
object
- the data object to convert
KettleValueException
- In case there is a data conversion error.public Object convertToBinaryStringStorageType(Object object) throws KettleValueException
convertToBinaryStringStorageType
in interface ValueMetaInterface
object
- the data object to convert
KettleValueException
- In case there is a data conversion error.public Object convertBinaryStringToNativeType(byte[] binary) throws KettleValueException
convertBinaryStringToNativeType
in interface ValueMetaInterface
binary
-
KettleValueException
public Object convertNormalStorageTypeToBinaryString(Object object) throws KettleValueException
ValueMetaInterface
convertNormalStorageTypeToBinaryString
in interface ValueMetaInterface
object
- The object expressed in a normal storage type
KettleValueException
- in case there is a data conversion errorpublic Object cloneValueData(Object object) throws KettleValueException
cloneValueData
in interface ValueMetaInterface
KettleValueException
public String getCompatibleString(Object object) throws KettleValueException
ValueMetaInterface
getCompatibleString
in interface ValueMetaInterface
KettleValueException
public String getString(Object object) throws KettleValueException
ValueMetaInterface
getString
in interface ValueMetaInterface
KettleValueException
public Double getNumber(Object object) throws KettleValueException
ValueMetaInterface
getNumber
in interface ValueMetaInterface
KettleValueException
public Long getInteger(Object object) throws KettleValueException
ValueMetaInterface
getInteger
in interface ValueMetaInterface
KettleValueException
public BigDecimal getBigNumber(Object object) throws KettleValueException
ValueMetaInterface
getBigNumber
in interface ValueMetaInterface
KettleValueException
public Boolean getBoolean(Object object) throws KettleValueException
ValueMetaInterface
getBoolean
in interface ValueMetaInterface
KettleValueException
public Date getDate(Object object) throws KettleValueException
ValueMetaInterface
getDate
in interface ValueMetaInterface
KettleValueException
public byte[] getBinary(Object object) throws KettleValueException
ValueMetaInterface
getBinary
in interface ValueMetaInterface
KettleValueException
public byte[] getBinaryString(Object object) throws KettleValueException
ValueMetaInterface
getBinaryString
in interface ValueMetaInterface
KettleValueException
public boolean isString()
isString
in interface ValueMetaInterface
public boolean isDate()
isDate
in interface ValueMetaInterface
public boolean isBigNumber()
isBigNumber
in interface ValueMetaInterface
public boolean isNumber()
isNumber
in interface ValueMetaInterface
public boolean isBoolean()
isBoolean
in interface ValueMetaInterface
public boolean isSerializableType()
isSerializableType
in interface ValueMetaInterface
public boolean isBinary()
isBinary
in interface ValueMetaInterface
public boolean isInteger()
isInteger
in interface ValueMetaInterface
public boolean isNumeric()
isNumeric
in interface ValueMetaInterface
public static final boolean isNumeric(int t)
t
- the type to check
public boolean isSortedAscending()
public String getTypeDesc()
getTypeDesc
in interface ValueMetaInterface
public String getStorageTypeDesc()
public String toString()
toString
in class Object
public String toStringMeta()
toStringMeta
in interface ValueMetaInterface
public void writeData(DataOutputStream outputStream, Object object) throws KettleFileException
ValueMetaInterface
writeData
in interface ValueMetaInterface
outputStream
- the outputstream to write toobject
- the data object to serialize
KettleFileException
- in case a I/O error occurspublic Object readData(DataInputStream inputStream) throws KettleFileException, KettleEOFException, SocketTimeoutException
ValueMetaInterface
readData
in interface ValueMetaInterface
inputStream
- the input stream to read from
KettleFileException
- in case a I/O error occurs
KettleEOFException
- When we have read all the data there is to read
SocketTimeoutException
- In case there is a timeout (when set on a socket) during readingpublic void writeMeta(DataOutputStream outputStream) throws KettleFileException
ValueMetaInterface
writeMeta
in interface ValueMetaInterface
outputStream
- the outputstream to write to
KettleFileException
- in case a I/O error occurspublic String getMetaXML() throws IOException
getMetaXML
in interface ValueMetaInterface
IOException
- Thrown in case there is an (Base64/GZip) decoding problempublic String getDataXML(Object object) throws IOException
getDataXML
in interface ValueMetaInterface
object
- The data to serialize as XML
IOException
- Thrown in case there is an (Base64/GZip) decoding problempublic Object getValue(Node node) throws KettleException
getValue
in interface ValueMetaInterface
node
- the node to retrieve the data value from
IOException
- thrown in case there is a problem with the XML to object conversion
KettleException
- thrown in case there is a problem with the XML to object conversionpublic static final String[] getTypes()
public static final String[] getAllTypes()
public static final String getTypeDesc(int type)
type
- the type
public static final int getType(String desc)
desc
- The description of the type to convert
public static final int getStorageType(String desc)
desc
- The description of the storage type to convert
public static final String getStorageTypeCode(int storageType)
public boolean isNull(Object data) throws KettleValueException
isNull
in interface ValueMetaInterface
data
- the object to test
KettleValueException
- in case there is a conversion error (only thrown in case of lazy conversion)public int compare(Object data1, Object data2) throws KettleValueException
compare
in interface ValueMetaInterface
data1
- the first valuedata2
- the second value
KettleValueException
- In case we get conversion errorspublic int compare(Object data1, ValueMetaInterface meta2, Object data2) throws KettleValueException
compare
in interface ValueMetaInterface
data1
- the first valuemeta2
- the second value's metadatadata2
- the second value
KettleValueException
- In case we get conversion errorspublic Object convertData(ValueMetaInterface meta2, Object data2) throws KettleValueException
convertData
in interface ValueMetaInterface
meta2
- the metadata of the object to be converteddata2
- the data of the object to be converted
KettleValueException
- in case there is a data conversion errorpublic Object convertDataCompatible(ValueMetaInterface meta2, Object data2) throws KettleValueException
convertDataCompatible
in interface ValueMetaInterface
meta2
- the metadata of the object to be converteddata2
- the data of the object to be converted
KettleValueException
- in case there is a data conversion errorpublic Object convertDataUsingConversionMetaData(Object data2) throws KettleValueException
convertDataUsingConversionMetaData
in interface ValueMetaInterface
data
- The data
KettleValueException
- in case there is a conversion error.public Object convertDataFromString(String pol, ValueMetaInterface convertMeta, String nullIf, String ifNull, int trim_type) throws KettleValueException
convertDataFromString
in interface ValueMetaInterface
pol
- the string to be convertedconvertMeta
- the metadata of the object (only string type) to be convertednullIf
- set the object to null if pos equals nullif (IgnoreCase)ifNull
- set the object to ifNull when pol is empty or nulltrim_type
- the trim type to be used (ValueMetaInterface.TRIM_TYPE_XXX)
KettleValueException
- in case there is a data conversion errorpublic int hashCode(Object object) throws KettleValueException
hashCode
in interface ValueMetaInterface
object
- the data value to calculate a hashcode for
KettleValueException
public Value createOriginalValue(Object data) throws KettleValueException
createOriginalValue
in interface ValueMetaInterface
data
- the data to store in the value
KettleValueException
- case there is a data conversion problempublic Object getValueData(Value value) throws KettleValueException
getValueData
in interface ValueMetaInterface
value
- the old style Value object
KettleValueException
- case there is a data conversion problempublic ValueMetaInterface getStorageMetadata()
getStorageMetadata
in interface ValueMetaInterface
public void setStorageMetadata(ValueMetaInterface storageMetadata)
setStorageMetadata
in interface ValueMetaInterface
storageMetadata
- the storageMetadata to setpublic int getTrimType()
getTrimType
in interface ValueMetaInterface
public void setTrimType(int trimType)
setTrimType
in interface ValueMetaInterface
trimType
- the trimType to setpublic static final int getTrimTypeByCode(String tt)
public static final int getTrimTypeByDesc(String tt)
public static final String getTrimTypeCode(int i)
public static final String getTrimTypeDesc(int i)
public ValueMetaInterface getConversionMetadata()
ValueMetaInterface
getConversionMetadata
in interface ValueMetaInterface
public void setConversionMetadata(ValueMetaInterface conversionMetadata)
ValueMetaInterface
setConversionMetadata
in interface ValueMetaInterface
conversionMetadata
- the conversionMetadata to setpublic boolean isSingleByteEncoding()
isSingleByteEncoding
in interface ValueMetaInterface
public long getNumberOfBinaryStringConversions()
getNumberOfBinaryStringConversions
in interface ValueMetaInterface
public void setNumberOfBinaryStringConversions(long numberOfBinaryStringConversions)
setNumberOfBinaryStringConversions
in interface ValueMetaInterface
numberOfBinaryStringConversions
- the number of binary string to native data type done with this object conversions to setpublic boolean isOriginalAutoIncrement()
isOriginalAutoIncrement
in interface ValueMetaInterface
public void setOriginalAutoIncrement(boolean originalAutoIncrement)
setOriginalAutoIncrement
in interface ValueMetaInterface
public int getOriginalColumnType()
ValueMetaInterface
getOriginalColumnType
in interface ValueMetaInterface
ResultSetMetaData
public void setOriginalColumnType(int originalColumnType)
setOriginalColumnType
in interface ValueMetaInterface
public String getOriginalColumnTypeName()
getOriginalColumnTypeName
in interface ValueMetaInterface
public void setOriginalColumnTypeName(String originalColumnTypeName)
setOriginalColumnTypeName
in interface ValueMetaInterface
public int isOriginalNullable()
isOriginalNullable
in interface ValueMetaInterface
public void setOriginalNullable(int originalNullable)
setOriginalNullable
in interface ValueMetaInterface
public int getOriginalPrecision()
getOriginalPrecision
in interface ValueMetaInterface
public void setOriginalPrecision(int originalPrecision)
setOriginalPrecision
in interface ValueMetaInterface
public int getOriginalScale()
getOriginalScale
in interface ValueMetaInterface
public void setOriginalScale(int originalScale)
setOriginalScale
in interface ValueMetaInterface
public boolean isOriginalSigned()
isOriginalSigned
in interface ValueMetaInterface
public void setOriginalSigned(boolean originalSigned)
setOriginalSigned
in interface ValueMetaInterface
public boolean isBigNumberFormatting()
public void setBigNumberFormatting(boolean bigNumberFormatting)
bigNumberFormatting
- the bigNumberFormatting flag to set : true if BigNumbers of formatted as wellpublic static String[] getTrimTypeCodes()
public static String[] getTrimTypeDescriptions()
public boolean requiresRealClone()
requiresRealClone
in interface ValueMetaInterface
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |