Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Overview

SHR and MCI may store the location registry data locally in Cassandra database. 

Queries: 

Only read. Location information may be retrieved by passing a string created by concatenating the following ids (in the order mentioned) - division id, district id, upazilla id, citycorp id, ward id.

Row Key:

division id + district id + upazilla id + citycorp id + ward id

Column Family:

location

Columns:

division, district, upazilla, citycorp, ward

Example:

For ward #20, Banani, Dhaka (division id: 30, district id: 26, upazilla id: 07, citycorp id: 25, union id: 20), the data in Cassandra may look like:

location: {

3026072520: {

division: "Dhaka",

district: "Dhaka",

upazilla: "Banani",

citycorp: "ward 20",

ward: "ward 20"

}

}

References:


 

 

 

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.