Build #5,620

License check with RAT and Checkstyle

Build: #5620 was successful Changes by wyzhang <wyzhang@google.com>

Code commits

caskdata/cdap

  • wyzhang <wyzhang@google.com>

    wyzhang <wyzhang@google.com> cc752901d488995839b0188413215b79ee0b83f5

    Merge pull request #13761 from cdapio/feature/CDAP-18627/wyzhang-leveldb-api
    [CDAP-18627] Add put,get,getLatest,delete LevelDBTableCore APIs

  • Wangyuan Zhang <wyzhang@google.com>

    Wangyuan Zhang <wyzhang@google.com> 45e8394c327be6faf5086d2bca25450472abf30b m

    [CDAP-18627] Add put,get,getLatest,delete LevelDBTableCore APIs
    Why:
    Introduce put,get,delete APIs that operate on values at max version,
    so caller doesn't need to specify a version when it doesn't care.
    Introduce getLatest which returns the value with highest version.
    This can be used when caller doesn't know the version number of
    the latest value, but want to retrive the latest value.

    Introducing these APIs allows simplifying the logic on the caller side.
    For instance, a follow-up PR will make preview store to use these APIs.

    • cdap-data-fabric/src/main/java/io/cdap/cdap/data2/dataset2/lib/table/leveldb/LevelDBTableCore.java (version 45e8394c327be6faf5086d2bca25450472abf30b)
    • cdap-data-fabric/src/test/java/io/cdap/cdap/data2/dataset2/lib/table/leveldb/LevelDBTableCoreTest.java (version 45e8394c327be6faf5086d2bca25450472abf30b)