Struct hdbconnect::ResultSetMetadata [−][src]
pub struct ResultSetMetadata { /* fields omitted */ }
Metadata for the fields in a result set.
Methods
impl ResultSetMetadata
[src]
impl ResultSetMetadata
pub fn number_of_fields(&self) -> usize
[src]
pub fn number_of_fields(&self) -> usize
Returns the number of fields.
pub fn is_empty(&self) -> bool
[src]
pub fn is_empty(&self) -> bool
Returns true if the set of fields is empty.
pub fn schemaname(&self, i: usize) -> HdbResult<&String>
[src]
pub fn schemaname(&self, i: usize) -> HdbResult<&String>
Database schema of the i'th column in the resultset.
pub fn tablename(&self, i: usize) -> HdbResult<&String>
[src]
pub fn tablename(&self, i: usize) -> HdbResult<&String>
Database table of the i'th column in the resultset.
pub fn columnname(&self, i: usize) -> HdbResult<&String>
[src]
pub fn columnname(&self, i: usize) -> HdbResult<&String>
Name of the i'th column in the resultset.
pub fn displayname(&self, index: usize) -> HdbResult<&String>
[src]
pub fn displayname(&self, index: usize) -> HdbResult<&String>
Display name of the column.
pub fn is_nullable(&self, i: usize) -> HdbResult<bool>
[src]
pub fn is_nullable(&self, i: usize) -> HdbResult<bool>
True if column can contain NULL values.
pub fn has_default(&self, i: usize) -> HdbResult<bool>
[src]
pub fn has_default(&self, i: usize) -> HdbResult<bool>
Returns true if the column has a default value.
pub fn is_readonly(&self, i: usize) -> HdbResult<bool>
[src]
pub fn is_readonly(&self, i: usize) -> HdbResult<bool>
Returns true if the column is readonly.
pub fn is_auto_incremented(&self, i: usize) -> HdbResult<bool>
[src]
pub fn is_auto_incremented(&self, i: usize) -> HdbResult<bool>
Returns true if the column is auto-incremented.
pub fn is_array_type(&self, i: usize) -> HdbResult<bool>
[src]
pub fn is_array_type(&self, i: usize) -> HdbResult<bool>
Returns true if the column is of array type.
pub fn type_id(&self, i: usize) -> HdbResult<u8>
[src]
pub fn type_id(&self, i: usize) -> HdbResult<u8>
Returns the id of the value type. See module
hdbconnect::metadata::type_id
.
pub fn scale(&self, i: usize) -> HdbResult<i16>
[src]
pub fn scale(&self, i: usize) -> HdbResult<i16>
Scale length (for some numeric types only).
pub fn precision(&self, i: usize) -> HdbResult<i16>
[src]
pub fn precision(&self, i: usize) -> HdbResult<i16>
Precision (for some numeric types only).
Trait Implementations
impl Clone for ResultSetMetadata
[src]
impl Clone for ResultSetMetadata
fn clone(&self) -> ResultSetMetadata
[src]
fn clone(&self) -> ResultSetMetadata
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 Debug for ResultSetMetadata
[src]
impl Debug for ResultSetMetadata
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 Display for ResultSetMetadata
[src]
impl Display for ResultSetMetadata
Auto Trait Implementations
impl Send for ResultSetMetadata
impl Send for ResultSetMetadata
impl Sync for ResultSetMetadata
impl Sync for ResultSetMetadata