org.plasma.provisioning.rdb.oracle.g11.sys
Enum SysDataType
java.lang.Object
java.lang.Enum<SysDataType>
org.plasma.provisioning.rdb.oracle.g11.sys.SysDataType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<SysDataType>, PlasmaEnum
public enum SysDataType
- extends java.lang.Enum<SysDataType>
- implements PlasmaEnum
This generated Enumeration represents the domain model enumeration SysDataType which is part of namespace http://org.plasma/sdo/oracle/11g/sys as defined within the Configuration.
* Generated SDO enumerations embody not only logical-name literals
but also physical or instance names, which are often shorter (possibly abbreviated)
and applicable as a data-store space-saving device.
Application programs should typically use the physical or instance name
for an enumeration literal when setting a data object property which is constrained by an enumeration.
|
Enum Constant Summary |
BFILE
The BFILE datatype stores unstructured binary data in
operating-system files outside the database. |
BINARY__DOUBLE
BINARY_DOUBLE is a 64-bit, double-precision floating-
point number datatype. |
BINARY__FLOAT
BINARY_FLOAT is a 32-bit, single-precision floating-point
number datatype. |
BLOB
The BLOB datatype stores unstructured binary data in the
database. |
CHAR
The CHAR datatype stores fixed-length character strings. |
CLOB
The CLOB and NCLOB datatypes store up to 128 terabytes of
character data in the database. |
DATE
The DATE datatype stores point-in-time values (dates and
times) in a table. |
LONG
Columns defined as LONG can store variable-length
character data containing up to 2 gigabytes of
information. |
NCHAR
The NCHAR datatype stores fixed-length character strings
that correspond to the national character set. |
NCLOB
The CLOB and NCLOB datatypes store up to 128 terabytes of
character data in the database. |
NUMBER
The NUMBER datatype stores fixed and floating-point numbers. |
NVARCHAR2
The NVARCHAR2 datatype stores variable length character
strings. |
RAW
RAW is a variable-length datatype like the VARCHAR2
character datatype, except Oracle Net Services (which
connects user sessions to the instance) and the Import
and Export utilities do not perform character conversion
when transmitting RAW or LONG RAW data. |
ROWID
Oracle Database uses a ROWID datatype to store the
address (rowid) of every row in the database. |
TIMESTAMP
Holds the logical and physical names for literal TIMESTAMP. |
UROWID
Oracle Database uses a ROWID datatype to store the
address (rowid) of every row in the database. |
VARCHAR
The VARCHAR datatype is synonymous with the VARCHAR2
datatype. |
VARCHAR2
The VARCHAR2 datatype stores variable-length character
strings. |
|
Method Summary |
static PlasmaEnum[] |
enumValues()
Returns the enum values for this class as an array of implemented interfaces |
static SysDataType |
fromInstanceName(java.lang.String instanceName)
Returns the enumeration value matching the given physical or instance name. |
static SysDataType |
fromName(java.lang.String name)
Returns the enumeration value matching the given name. |
java.lang.String |
getDescription()
Returns the descriptive text associated with this enumeration literal. |
java.lang.String |
getInstanceName()
Returns the physical or instance name associated with this enumeration literal. |
java.lang.String |
getName()
Returns the logical name associated with this enumeration literal. |
static SysDataType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SysDataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
CHAR
public static final SysDataType CHAR
- The CHAR datatype stores fixed-length character strings.
When you create a table with a CHAR column, you must specify
a string length (in bytes or characters) between 1 and 2000
bytes for the CHAR column width. The default is 1 byte.
Oracle then guarantees that:
When you insert or update a row in the table, the value for
the CHAR column has the fixed length.
If you give a shorter value, then the value is blank-padded
to the fixed length.
If a value is too large, Oracle Database returns an error.
Oracle Database compares CHAR values using blank-padded comp
arison semantics.
Holds the logical and physical names for literal CHAR.
VARCHAR2
public static final SysDataType VARCHAR2
- The VARCHAR2 datatype stores variable-length character
strings. When you create a table with a VARCHAR2 column, you
specify a maximum string length (in bytes or characters)
between 1 and 4000 bytes for the VARCHAR2 column. For
each row, Oracle Database stores each value in the column as
a variable-length field unless a value exceeds the column's
maximum length, in which case Oracle Database returns an
error. Using VARCHAR2 and VARCHAR saves on space used by the
table.
For example, assume you declare a column VARCHAR2 with a max
imum size of 50 characters. In a single-byte character
set, if only 10 characters are given for the VARCHAR2 column
value in a particular row, the column in the row's row
piece stores only the 10 characters (10 bytes), not 50.
Oracle Database compares VARCHAR2 values using nonpadded com
parison semantics.
Holds the logical and physical names for literal VARCHAR2.
VARCHAR
public static final SysDataType VARCHAR
- The VARCHAR datatype is synonymous with the VARCHAR2
datatype. To avoid possible changes in behavior, always
use the VARCHAR2 datatype to store variable-length character
strings.
Holds the logical and physical names for literal VARCHAR.
NCHAR
public static final SysDataType NCHAR
- The NCHAR datatype stores fixed-length character strings
that correspond to the national character set. The
maximum length of an NCHAR column is 2000 bytes. It can hold
up to 2000 characters. The actual data is subject to the
maximum byte limit of 2000. The two size constraints must be
satisfied simultaneously at run time.
Holds the logical and physical names for literal NCHAR.
NVARCHAR2
public static final SysDataType NVARCHAR2
- The NVARCHAR2 datatype stores variable length character
strings. The maximum length of an NVARCHAR2 column is
4000 bytes. It can hold up to 4000 characters. The actual
data is subject to the maximum byte limit of 4000. The
two size constraints must be satisfied simultaneously at run
time.
Holds the logical and physical names for literal NVARCHAR2.
LONG
public static final SysDataType LONG
- Columns defined as LONG can store variable-length
character data containing up to 2 gigabytes of
information. LONG data is text data that is to be
appropriately converted when moving among different systems.
LONG datatype columns are used in the data dictionary to sto
re the text of view definitions. You can use LONG columns in
SELECT lists, SET clauses of UPDATE statements, and
VALUES clauses of INSERT statements.
Holds the logical and physical names for literal LONG.
NUMBER
public static final SysDataType NUMBER
- The NUMBER datatype stores fixed and floating-point numbers.
Numbers of virtually any magnitude can be stored and are
guaranteed portable among different systems operating Oracle
Database, up to 38 digits of precision.
The following numbers can be stored in a NUMBER column:
Positive numbers in the range 1 x 10-130 to 9.99...9 x 10125
with up to 38 significant digits
Negative numbers from -1 x 10-130 to 9.99...99 x 10125 with
up to 38 significant digits
Zero
Positive and negative infinity (generated only by importing
from an Oracle Database, Version 5)
Holds the logical and physical names for literal NUMBER.
BINARY__FLOAT
public static final SysDataType BINARY__FLOAT
- BINARY_FLOAT is a 32-bit, single-precision floating-point
number datatype. Each BINARY_FLOAT value requires 5
bytes, including a length byte.
Holds the logical and physical names for literal BINARY_FLOAT.
BINARY__DOUBLE
public static final SysDataType BINARY__DOUBLE
- BINARY_DOUBLE is a 64-bit, double-precision floating-
point number datatype. Each BINARY_DOUBLE value requires
9 bytes, including a length byte.
Holds the logical and physical names for literal BINARY_DOUBLE.
DATE
public static final SysDataType DATE
- The DATE datatype stores point-in-time values (dates and
times) in a table. The DATE datatype stores the year
(including the century), the month, the day, the hours,
the minutes, and the seconds (after midnight).
Oracle Database can store dates in the Julian era, ranging f
rom January 1, 4712 BCE through December 31, 9999 CE (Common
Era, or 'AD'). Unless BCE ('BC' in the format mask) is
specifically used, CE date entries are the default.
Oracle Database uses its own internal format to store dates.
Date data is stored in fixed-length fields of seven
bytes each, corresponding to century, year, month, day,
hour, minute, and second.
Holds the logical and physical names for literal DATE.
TIMESTAMP
public static final SysDataType TIMESTAMP
- Holds the logical and physical names for literal TIMESTAMP.
BLOB
public static final SysDataType BLOB
- The BLOB datatype stores unstructured binary data in the
database. BLOBs can store up to 128 terabytes of binary
data.
BLOBs participate fully in transactions. Changes made to a B
LOB value by the DBMS_LOB package, PL/SQL, or the OCI can be
committed or rolled back. However, BLOB locators cannot
span transactions or sessions.
Holds the logical and physical names for literal BLOB.
CLOB
public static final SysDataType CLOB
- The CLOB and NCLOB datatypes store up to 128 terabytes of
character data in the database. CLOBs store database
character set data, and NCLOBs store Unicode national
character set data. Storing varying-width LOB data in a
fixed-width Unicode character set internally enables
Oracle Database to provide efficient character-based
random access on CLOBs and NCLOBs.
Holds the logical and physical names for literal CLOB.
NCLOB
public static final SysDataType NCLOB
- The CLOB and NCLOB datatypes store up to 128 terabytes of
character data in the database. CLOBs store database
character set data, and NCLOBs store Unicode national
character set data. Storing varying-width LOB data in a
fixed-width Unicode character set internally enables
Oracle Database to provide efficient character-based
random access on CLOBs and NCLOBs.
Holds the logical and physical names for literal NCLOB.
BFILE
public static final SysDataType BFILE
- The BFILE datatype stores unstructured binary data in
operating-system files outside the database. A BFILE
column or attribute stores a file locator that points to
an external file containing the data. The amount of BFILE
data that can be stored is limited by the operating system.
BFILEs are read only; you cannot modify them. They support o
nly random (not sequential) reads, and they do not
participate in transactions. The underlying operating system
must maintain the file integrity, security, and
durability for BFILEs. The database administrator must
ensure that the file exists and that Oracle Database
processes have operating-system read permissions on the
file.
Holds the logical and physical names for literal BFILE.
RAW
public static final SysDataType RAW
- RAW is a variable-length datatype like the VARCHAR2
character datatype, except Oracle Net Services (which
connects user sessions to the instance) and the Import
and Export utilities do not perform character conversion
when transmitting RAW or LONG RAW data. In contrast,
Oracle Net Services and Import/Export automatically
convert CHAR, VARCHAR2, and LONG data between the
database character set and the user session character
set, if the two character sets are different.
Holds the logical and physical names for literal RAW.
ROWID
public static final SysDataType ROWID
- Oracle Database uses a ROWID datatype to store the
address (rowid) of every row in the database.
Physical rowids store the addresses of rows in ordinary tabl
es (excluding index-organized tables), clustered tables,
table partitions and subpartitions, indexes, and index
partitions and subpartitions.
Logical rowids store the addresses of rows in index-organize
d tables.
Holds the logical and physical names for literal ROWID.
UROWID
public static final SysDataType UROWID
- Oracle Database uses a ROWID datatype to store the
address (rowid) of every row in the database.
Physical rowids store the addresses of rows in ordinary tabl
es (excluding index-organized tables), clustered tables,
table partitions and subpartitions, indexes, and index
partitions and subpartitions.
Logical rowids store the addresses of rows in index-organize
d tables.
Holds the logical and physical names for literal UROWID.
values
public static SysDataType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (SysDataType c : SysDataType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static SysDataType valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
getName
public java.lang.String getName()
- Returns the logical name associated with this enumeration literal.
- Specified by:
getName in interface PlasmaEnum
getInstanceName
public java.lang.String getInstanceName()
- Returns the physical or instance name associated with this enumeration literal.
- Specified by:
getInstanceName in interface PlasmaEnum
getDescription
public java.lang.String getDescription()
- Returns the descriptive text associated with this enumeration literal.
- Specified by:
getDescription in interface PlasmaEnum
enumValues
public static PlasmaEnum[] enumValues()
- Returns the enum values for this class as an array of implemented interfaces
- See Also:
PlasmaEnum
fromName
public static SysDataType fromName(java.lang.String name)
- Returns the enumeration value matching the given name.
fromInstanceName
public static SysDataType fromInstanceName(java.lang.String instanceName)
- Returns the enumeration value matching the given physical or instance name.
Copyright © 2013. All Rights Reserved.