GpkgBlobRow

ORMLite row for one entry in a 3D Tiles GeoPackage extension blob table. Column shape follows the OGC 3D Tiles GeoPackage Extension community proposal:

  • tile_path TEXT PK — content URI (relative or absolute) the tile was fetched from.

  • tile_data BLOB — raw payload bytes (tileset.json text, b3dm/i3dm/pnts/cmpt/glb binary).

WorldWind extends the proposed shape with conditional-fetch + bookkeeping columns; these are tolerated by other readers since the GPKG spec lets non-required columns exist on any user table:

  • content_type TEXT — HTTP Content-Type at fetch time (nullable).

  • etag TEXT — HTTP ETag at fetch time (nullable; for future revalidation).

  • last_modified INTEGER — HTTP Last-Modified epoch-millis (nullable).

  • cached_at INTEGER — epoch-millis the row was written. Drives earth.worldwind.layer.cache.CachePolicy.staleAfter.

  • size_bytes INTEGER — LENGTH(tile_data) precomputed at insert. Lets SUM(size_bytes) evict by byte budget without scanning each BLOB body.

  • response_url TEXT — post-redirect URL the body was served from. Null when same as tile_path. Lets the cache replay the right base for relative URI resolution.

The @DatabaseTable annotation is intentionally absent — the table name is supplied per-dataset at DAO construction so a single GeoPackage can host many independent 3D Tiles blob caches.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var etag: String?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
lateinit var tileData: ByteArray
Link copied to clipboard
lateinit var tilePath: String