Datastore class abstract

abstract class for a datastore

Implementers

Constructors

Datastore()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

lateOpen() Future<void>
Open file descriptors
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readLabels(Tile upperLeft, Tile lowerRight) Future<DatastoreReadResult?>
Reads data for an area defined by the tile in the upper left and the tile in the lower right corner. The default implementation combines the results from all tiles, a possibly inefficient solution. Precondition: upperLeft.tileX <= lowerRight.tileX && upperLeft.tileY <= lowerRight.tileY
readLabelsSingle(Tile tile) Future<DatastoreReadResult?>
Reads only labels for tile. Labels are pois as well as ways that carry a name tag. It is permissible for the MapDataStore to return more data. This default implementation returns all map data, which is inefficient, but works.
readMapData(Tile upperLeft, Tile lowerRight) Future<DatastoreReadResult?>
Reads data for an area defined by the tile in the upper left and the tile in the lower right corner. The default implementation combines the results from all tiles, a possibly inefficient solution. Precondition: upperLeft.tileX <= lowerRight.tileX && upperLeft.tileY <= lowerRight.tileY
readMapDataSingle(Tile tile) Future<DatastoreReadResult?>
Reads data for tile.
readPoiData(Tile upperLeft, Tile lowerRight) Future<DatastoreReadResult?>
Reads POI data for an area defined by the tile in the upper left and the tile in the lower right corner. The default implementation combines the results from all tiles, a possibly inefficient solution. Precondition: upperLeft.tileX <= lowerRight.tileX && upperLeft.tileY <= lowerRight.tileY
readPoiDataSingle(Tile tile) Future<DatastoreReadResult?>
Reads only POI data for tile.
supportsTile(Tile tile, Projection projection) bool
Returns true if MapDatabase contains the given tile.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited