|
Oracle Data Mining Java API Reference 10g Release 1 (10.1) B12276-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.dmt.odm.Enum | +--oracle.dmt.odm.DataType
The enumeration class DataType
is used to specify whether the data type of an attribute is integer, float, character, string, boolean or unstructured.
The semantics of the value are as follows:
Field Summary | |
static DataType |
booleanType Boolean data type |
static DataType |
charType Character data type |
static DataType |
floatType Float data type |
static DataType |
intType Integer data type |
static DataType |
stringType String data type |
static DataType |
unstructuredType Unstructured data type. |
Method Summary | |
static DataType |
getInstance(int id) Returns DataType enumeration object corresponding to the specified ID. |
static DataType |
getInstance(java.lang.String name) Returns DataType enumeration object corresponding to the specified name. |
static DataType[] |
list() Returns the list of all DataType enumerations defined. |
static java.lang.String[] |
listNames() Returns the list of names of all DataType enumerations defined. |
Methods inherited from class oracle.dmt.odm.Enum |
getEnum, getID, isEqual |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final DataType intType
public static final DataType floatType
public static final DataType charType
public static final DataType stringType
public static final DataType booleanType
public static final DataType unstructuredType
Method Detail |
public static java.lang.String[] listNames()
DataType
enumerations defined.DataType
enumerationpublic static DataType[] list()
DataType
enumerations defined.DataType
enumerationpublic static DataType getInstance(java.lang.String name)
DataType
enumeration object corresponding to the specified name.name
- data type name (int, float, char, string, boolean)DataType
enumeration object corresponding to the given name
, null if there is no enumeration for this name.public static DataType getInstance(int id)
DataType
enumeration object corresponding to the specified ID.id
- (0, 1, 2, 3, 4, 5)DataType
enumeration object corresponding to the given id
, null if there is no enumeration for id.
|
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |