public class ComplexDataType extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
TYPE_CHAR |
static int |
TYPE_COLLECTION |
static int |
TYPE_CURSOR |
static int |
TYPE_DATE |
static int |
TYPE_MAX |
static int |
TYPE_NUMBER |
static int |
TYPE_OBJECT |
static int |
TYPE_RAW |
static int |
TYPE_VARCHAR2 |
| Constructor and Description |
|---|
ComplexDataType(String typeName,
String schemaName,
int type) |
| Modifier and Type | Method and Description |
|---|---|
int |
getAttrCount() |
ComplexDataType |
getAttrType(int attrIndex) |
ComplexDataType[] |
getAttrTypes() |
static byte[] |
getBytes() |
int |
getInitAttrCount() |
static int |
getObComplexType(String attrType) |
String |
getSchemaName() |
int |
getType() |
String |
getTypeName() |
long |
getVersion() |
void |
incInitAttrCount() |
static boolean |
isBaseDataType(int type) |
boolean |
isValid() |
void |
setAttrCount(int attrCount) |
void |
setAttrType(int attrIndex,
ComplexDataType attrType) |
void |
setSchemaName(String schemaName) |
void |
setType(int type) |
void |
setTypeName(String typeName) |
void |
setValid(boolean valid) |
void |
setVersion(long version) |
public static final int TYPE_NUMBER
public static final int TYPE_VARCHAR2
public static final int TYPE_DATE
public static final int TYPE_OBJECT
public static final int TYPE_COLLECTION
public static final int TYPE_CURSOR
public static final int TYPE_RAW
public static final int TYPE_CHAR
public static final int TYPE_MAX
public String getTypeName()
public void setTypeName(String typeName)
public String getSchemaName()
public void setSchemaName(String schemaName)
public long getVersion()
public void setVersion(long version)
public int getType()
public void setType(int type)
public int getAttrCount()
public void setAttrCount(int attrCount)
public ComplexDataType[] getAttrTypes()
public ComplexDataType getAttrType(int attrIndex)
public void setAttrType(int attrIndex,
ComplexDataType attrType)
public boolean isValid()
public void setValid(boolean valid)
public int getInitAttrCount()
public void incInitAttrCount()
public static int getObComplexType(String attrType) throws SQLException
SQLExceptionpublic static boolean isBaseDataType(int type)
public static byte[] getBytes()
Copyright © 2022 oceanbase.com. All rights reserved.