dm_db_row Module

Database table row access functions.


Uses

  • module~~dm_db_row~~UsesGraph module~dm_db_row dm_db_row module~dm_db dm_db module~dm_db_row->module~dm_db module~dm_error dm_error module~dm_db_row->module~dm_error module~dm_util dm_util module~dm_db_row->module~dm_util module~dm_db->module~dm_error module~dm_db->module~dm_util iso_c_binding iso_c_binding module~dm_db->iso_c_binding module~dm_db_query dm_db_query module~dm_db->module~dm_db_query module~dm_kind dm_kind module~dm_db->module~dm_kind sqlite3 sqlite3 module~dm_db->sqlite3 module~dm_ascii dm_ascii module~dm_error->module~dm_ascii module~dm_error->module~dm_kind module~dm_util->module~dm_error module~dm_util->module~dm_kind module~dm_db_query->module~dm_error module~dm_db_query->module~dm_kind iso_fortran_env iso_fortran_env module~dm_kind->iso_fortran_env

Used by

  • module~~dm_db_row~~UsedByGraph module~dm_db_row dm_db_row module~dm_db_api dm_db_api module~dm_db_api->module~dm_db_row module~dm_db_json dm_db_json module~dm_db_json->module~dm_db_row module~dmpack dmpack module~dmpack->module~dm_db_row module~dmpack->module~dm_db_api module~dmpack->module~dm_db_json

Interfaces

public interface dm_db_row_next

Generic table row access function.

  • private function db_row_next_allocatable(db_stmt, string, validate) result(rc)

    Reads string from table row and returns it as allocatable character string. Column types are validated by default. Returns E_DB_TYPE if the validation failed.

    Arguments

    Type IntentOptional Attributes Name
    type(db_stmt_type), intent(inout) :: db_stmt

    Database statement type.

    character(len=:), intent(out), allocatable :: string

    Allocatable character string.

    logical, intent(in), optional :: validate

    Validate column types.

    Return Value integer

  • private function db_row_next_character(db_stmt, string, nbyte, validate) result(rc)

    Reads string from table row. The passed argument str must be allocated! Column types are validated by default. Returns E_DB_TYPE if the validation failed.

    Arguments

    Type IntentOptional Attributes Name
    type(db_stmt_type), intent(inout) :: db_stmt

    Database statement type.

    character(len=*), intent(inout) :: string

    Character string.

    integer, intent(out) :: nbyte

    Size of string in bytes.

    logical, intent(in), optional :: validate

    Validate column types.

    Return Value integer

  • private function db_row_next_beat(db_stmt, beat, validate) result(rc)

    Reads beat data from table row. Column types are validated by default. Returns E_DB_TYPE if the validation failed.

    Arguments

    Type IntentOptional Attributes Name
    type(db_stmt_type), intent(inout) :: db_stmt

    Database statement type.

    type(beat_type), intent(inout) :: beat

    Beat type.

    logical, intent(in), optional :: validate

    Validate column types.

    Return Value integer

  • private function db_row_next_data_point(db_stmt, dp, validate) result(rc)

    Reads observation data from table row. Column types are validated by default. Returns E_DB_TYPE if the validation failed.

    Arguments

    Type IntentOptional Attributes Name
    type(db_stmt_type), intent(inout) :: db_stmt

    Database statement type.

    type(dp_type), intent(inout) :: dp

    Data point type.

    logical, intent(in), optional :: validate

    Validate column types.

    Return Value integer

  • private function db_row_next_image(db_stmt, image, validate) result(rc)

    Reads image data from table row. Column types are validated by default. Returns E_DB_TYPE if the validation failed.

    Arguments

    Type IntentOptional Attributes Name
    type(db_stmt_type), intent(inout) :: db_stmt

    Database statement type.

    type(image_type), intent(inout) :: image

    Image type.

    logical, intent(in), optional :: validate

    Validate column types.

    Return Value integer

  • private function db_row_next_log(db_stmt, log, validate) result(rc)

    Reads log data from table row. Column types are validated by default. Returns E_DB_TYPE if the validation failed.

    Arguments

    Type IntentOptional Attributes Name
    type(db_stmt_type), intent(inout) :: db_stmt

    Database statement type.

    type(log_type), intent(inout) :: log

    Log type.

    logical, intent(in), optional :: validate

    Validate column types.

    Return Value integer

  • private function db_row_next_node(db_stmt, node, validate) result(rc)

    Reads node data from table row. Column types are validated by default. Returns E_DB_TYPE if the validation failed.

    Arguments

    Type IntentOptional Attributes Name
    type(db_stmt_type), intent(inout) :: db_stmt

    Database statement type.

    type(node_type), intent(inout) :: node

    Node type.

    logical, intent(in), optional :: validate

    Validate column types.

    Return Value integer

  • private function db_row_next_observ(db_stmt, observ, validate) result(rc)

    Reads observation data from table row. Column types are validated by default. Returns E_DB_TYPE if the validation failed.

    Arguments

    Type IntentOptional Attributes Name
    type(db_stmt_type), intent(inout) :: db_stmt

    Database statement type.

    type(observ_type), intent(inout) :: observ

    Observation type.

    logical, intent(in), optional :: validate

    Validate column types.

    Return Value integer

  • private function db_row_next_observ_view(db_stmt, view, validate) result(rc)

    Reads observation data from table row. Column types are validated by default. Returns E_DB_TYPE if the validation failed.

    Arguments

    Type IntentOptional Attributes Name
    type(db_stmt_type), intent(inout) :: db_stmt

    Database statement type.

    type(observ_view_type), intent(inout) :: view

    Observation view type.

    logical, intent(in), optional :: validate

    Validate column types.

    Return Value integer

  • private function db_row_next_sensor(db_stmt, sensor, validate) result(rc)

    Reads sensor data from table row. Column types are validated by default. Returns E_DB_TYPE if the validation failed.

    Arguments

    Type IntentOptional Attributes Name
    type(db_stmt_type), intent(inout) :: db_stmt

    Database statement type.

    type(sensor_type), intent(inout) :: sensor

    Sensor type.

    logical, intent(in), optional :: validate

    Validate column types.

    Return Value integer

  • private function db_row_next_string(db_stmt, string, validate) result(rc)

    Reads string from table row and returns it as derived type string_type. Column types are validated by default. Returns E_DB_TYPE if the validation failed.

    Arguments

    Type IntentOptional Attributes Name
    type(db_stmt_type), intent(inout) :: db_stmt

    Database statement type.

    type(string_type), intent(out) :: string

    String type.

    logical, intent(in), optional :: validate

    Validate column types.

    Return Value integer

  • private function db_row_next_sync(db_stmt, sync) result(rc)

    Reads sync data from table row. Returns E_DB_TYPE on error.

    Arguments

    Type IntentOptional Attributes Name
    type(db_stmt_type), intent(inout) :: db_stmt

    Database statement type.

    type(sync_type), intent(inout) :: sync

    Sync type.

    Return Value integer

  • private function db_row_next_target(db_stmt, target, validate) result(rc)

    Reads target data from table row. Column types are validated by default. Returns E_DB_TYPE if the validation failed.

    Arguments

    Type IntentOptional Attributes Name
    type(db_stmt_type), intent(inout) :: db_stmt

    Database statement type.

    type(target_type), intent(inout) :: target

    Target type.

    logical, intent(in), optional :: validate

    Validate column types.

    Return Value integer

  • private function db_row_next_transfer(db_stmt, transfer, validate) result(rc)

    Reads transfer data from table row. Column types are validated by default. Returns E_DB_TYPE if the validation failed.

    Arguments

    Type IntentOptional Attributes Name
    type(db_stmt_type), intent(inout) :: db_stmt

    Database statement type.

    type(transfer_type), intent(inout) :: transfer

    Transfer type.

    logical, intent(in), optional :: validate

    Validate column types.

    Return Value integer