Skip to content

Rename HBaseRecord to StorageRecord #187

@em3s

Description

@em3s

Problem

The StorageBucket interface — which is meant to be a storage-agnostic abstraction — imports and returns HBaseRecord from com.kakao.actionbase.core.storage. This leaks HBase-specific naming into the abstraction contract. Any future backend implementor (e.g., Redis, DynamoDB, SlateDB) must work with a type named after HBase.

Context

Identified during code review round 3 of PR #175 (StorageBackend abstraction layer, closes #173).

Affected interface methods in StorageBucket.kt:

  • fun get(keys: List<ByteArray>): Mono<List<HBaseRecord>>
  • fun scan(...): Mono<List<HBaseRecord>>

HBaseRecord lives in core module (com.kakao.actionbase.core.storage.HBaseRecord) and is a simple key-value pair. Renaming it to StorageRecord would make the abstraction truly backend-agnostic.

Proposed Approach

  1. Rename HBaseRecordStorageRecord in core module
  2. Update all usages across core, engine, and server modules
  3. Ensure all tests pass

This is a straightforward rename refactor with no behavioral changes.


Created by claude code (opus 4.6)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions