// Create the data bindings.
// In this sample, the stored keys and values are used directly rather
// than mapping them to separate objects. Therefore, no binding classes
// are defined here and the SerialBinding class is used.
//
DataBinding partKeyBinding =
new SerialBinding(db.getPartKeyFormat());
DataBinding partValueBinding =
new SerialBinding(db.getPartValueFormat());
DataBinding supplierKeyBinding =
new SerialBinding(db.getSupplierKeyFormat());
DataBinding supplierValueBinding =
new SerialBinding(db.getSupplierValueFormat());
DataBinding shipmentKeyBinding =
new SerialBinding(db.getShipmentKeyFormat());
DataBinding shipmentValueBinding =
new SerialBinding(db.getShipmentValueFormat());
DataBinding cityKeyBinding =
new SerialBinding(db.getCityKeyFormat());
// Create map views for all stores and indices.
// StoredSortedMap is not used since the stores and indices are
// ordered by serialized key objects, which do not provide a very