Enum mimir::enums::ODPIOracleTypeNum [−][src]
#[repr(u32)]pub enum ODPIOracleTypeNum { TypeNone, Varchar, NVarchar, Char, NChar, RowID, Raw, NativeFloat, NativeDouble, NativeInt, Number, Date, Timestamp, TimestampTz, TimestampLtz, IntervalDS, IntervalYM, Clob, NClob, Blob, BFile, Stmt, Boolean, Object, LongVarchar, LongRaw, NativeUint, Max, }
This enumeration identifies the types of Oracle data that can be used for binding data as arguments to a statement, fetching data from the database, or getting and setting object attributes and element values.
Variants
TypeNone
None type.
Varchar
Default type used for VARCHAR2 columns in the database. Data is transferred to/from Oracle as byte strings in the encoding used for CHAR data.
NVarchar
Default type used for NVARCHAR2 columns in the database. Data is transferred to/from Oracle as byte strings in the encoding used for NCHAR data.
Char
Default type used for CHAR columns in the database. Data is transferred to/from Oracle as byte strings in the encoding used for CHAR data.
NChar
Default type used for NCHAR columns in the database. Data is transferred to/from Oracle as byte strings in the encoding used for NCHAR data.
RowID
Default type used for the pseudocolumn "ROWID". Data is transferred to/from Oracle as byte strings, in the encoding used for CHAR data.
Raw
Default type used for RAW columns in the database. Data is transferred to/from Oracle as raw byte strings.
NativeFloat
Default type used for BINARY_FLOAT columns in the database. Data is transferred to/from Oracle as the C float type.
NativeDouble
Default type used for BINARY_DOUBLE columns in the database. Data is transferred to/from Oracle as the C double type.
NativeInt
Type available for binding native integers directly in PL/SQL (such as PLS_INTEGER). Data is transferred to/from Oracle as 64-bit integers.
Number
Default type used for NUMBER columns in the database. Data is transferred to/from Oracle in Oracle's internal format.
Date
Default type used for DATE columns in the database. Data is transferred to/from Oracle in Oracle's internal format.
Timestamp
Default type used for TIMESTAMP columns in the database. Data is transferred to/from Oracle in Oracle's internal format.
TimestampTz
Default type used for TIMESTAMP WITH TIME ZONE columns in the database. Data is transferred to/from Oracle in Oracle's internal format.
TimestampLtz
Default type used for TIMESTAMP WITH LOCAL TIME ZONE columns in the database. Data is transferred to/from Oracle in Oracle's internal format.
IntervalDS
Default type used for INTERVAL DAY TO SECOND columns in the database. Data is transferred to/from Oracle in Oracle's internal format.
IntervalYM
Default type used for INTERVAL YEAR TO MONTH columns in the database. Data is transferred to/from Oracle in Oracle's internal format.
Clob
Default type used for CLOB columns in the database. Only a locator is transferred to/from Oracle, which can subsequently be used via dpiLob references to read/write from that locator.
NClob
Default type used for NCLOB columns in the database. Only a locator is transferred to/from Oracle, which can subsequently be used via dpiLob references to read/write from that locator.
Blob
Default type used for BLOB columns in the database. Only a locator is transferred to/from Oracle, which can subsequently be used via dpiLob references to read/write from that locator.
BFile
Default type used for BFILE columns in the database. Only a locator is transferred to/from Oracle, which can subsequently be used via dpiLob references to read/write from that locator.
Stmt
Used within PL/SQL for REF CURSOR or within SQL for querying a CURSOR. Only a handle is transferred to/from Oracle, which can subsequently be used via dpiStmt for querying.
Boolean
Used within PL/SQL for boolean values. This is only available in 12.1. Earlier releases simply use the integer values 0 and 1 to represent a boolean value. Data is transferred to/from Oracle as an integer.
Object
Default type used for named type columns in the database. Data is transferred to/from Oracle in Oracle's internal format.
LongVarchar
Default type used for LONG columns in the database. Data is transferred to/from Oracle as byte strings in the encoding used for CHAR data.
LongRaw
Default type used for LONG RAW columns in the database. Data is transferred to/from Oracle as raw byte strings.
NativeUint
Type available for binding native integers directly in PL/SQL (such as PLS_INTEGER). Data is transferred to/from Oracle as 64-bit unsigned integers.
Max
Max Type.
Trait Implementations
impl Clone for ODPIOracleTypeNum
[src]
impl Clone for ODPIOracleTypeNum
fn clone(&self) -> ODPIOracleTypeNum
[src]
fn clone(&self) -> ODPIOracleTypeNum
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for ODPIOracleTypeNum
[src]
impl Copy for ODPIOracleTypeNum
impl Debug for ODPIOracleTypeNum
[src]
impl Debug for ODPIOracleTypeNum
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for ODPIOracleTypeNum
[src]
impl Eq for ODPIOracleTypeNum
impl Hash for ODPIOracleTypeNum
[src]
impl Hash for ODPIOracleTypeNum
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialEq for ODPIOracleTypeNum
[src]
impl PartialEq for ODPIOracleTypeNum
fn eq(&self, other: &ODPIOracleTypeNum) -> bool
[src]
fn eq(&self, other: &ODPIOracleTypeNum) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl From<ODPIOracleTypeNum> for String
[src]
impl From<ODPIOracleTypeNum> for String
fn from(kind: ODPIOracleTypeNum) -> Self
[src]
fn from(kind: ODPIOracleTypeNum) -> Self
Performs the conversion.
impl Display for ODPIOracleTypeNum
[src]
impl Display for ODPIOracleTypeNum
Auto Trait Implementations
impl Send for ODPIOracleTypeNum
impl Send for ODPIOracleTypeNum
impl Sync for ODPIOracleTypeNum
impl Sync for ODPIOracleTypeNum