Struct mimir::TypeInfo[][src]

pub struct TypeInfo { /* fields omitted */ }

Wrapper for ODPIDataTypeInfo struct.

Methods

impl TypeInfo
[src]

Create a new TypeInfo struct.

Get the oracle_type_num value.

Specifies the type of the column that is being queried. It will be one of the values from the enumeration ODPIOracleTypeNum.

Get the default_native_type_num value.

Specifies the default native type for the column that is being queried. It will be one of the values from the enumeration ODPINativeTypeNum.

Get the db_size_in_bytes value.

Specifies the size in bytes (from the database's perspective) of the column that is being queried. This value is only populated for strings and binary columns. For all other columns the value is zero.

Get the client_size_in_bytes value.

Specifies the size in bytes (from the client's perspective) of the column that is being queried. This value is only populated for strings and binary columns. For all other columns the value is zero.

Get the size_in_chars value.

Specifies the size in characters of the column that is being queried. This value is only populated for string columns. For all other columns the value is zero.

Get the precision value.

Specifies the precision of the column that is being queried. This value is only populated for numeric and timestamp columns. For all other columns the value is zero.

Get the scale value.

Specifies the scale of the column that is being queried. This value is only populated for numeric columns. For all other columns the value is zero.

Get the object_type value.

Specifies a reference to the type of the object that is being queried. This value is only populated for named type columns. For all other columns the value is None.

Trait Implementations

impl Clone for TypeInfo
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for TypeInfo
[src]

Formats the value using the given formatter. Read more

impl Default for TypeInfo
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl !Send for TypeInfo

impl !Sync for TypeInfo