public class ToJdbcStringTransformer extends AbstractToJdbcDateTypeTransformer
| Constructor and Description |
|---|
ToJdbcStringTransformer() |
| Modifier and Type | Method and Description |
|---|---|
Object |
transform(Object o,
String charset,
Calendar cal,
TimeZone timeZone)
Transform ODPS SDK object to an instance of java.util.Date subclass
|
Object |
transform(Object o,
String charset,
Calendar cal,
TimeZone timeZone,
com.aliyun.odps.type.TypeInfo odpsType) |
transform, transformencodeBytespublic Object transform(Object o, String charset, Calendar cal, TimeZone timeZone, com.aliyun.odps.type.TypeInfo odpsType) throws SQLException
transform in class AbstractToJdbcDateTypeTransformerSQLExceptionpublic Object transform(Object o, String charset, Calendar cal, TimeZone timeZone) throws SQLException
AbstractToJdbcDateTypeTransformertransform in class AbstractToJdbcDateTypeTransformero - java object from ODPS SDKcharset - charset to encode byte arraycal - a calendar object to construct java.util.Date objectSQLExceptionCopyright © 2023 Alibaba Cloud Computing. All rights reserved.