Add basic filtering by object type to 'ls' rapids expression.

Description

Currently, h2⊙ls() return all keys in DKV.
I would be easy to add basic filtering capacity, especially to return only keys of a certain type of objects, like models, frames, jobs, for example:
mod

List of types we want to support:

  • frame

  • job (not exposed to user through 'ls': system key)

  • model

  • grid

  • automl

  • metric (TBD)

All those filters can be easily implemented in Astls using KeySnapshot.globalSnapshot().filter(...)

 

h2o.ls function in Python and R clients should also be extended with a new type parameter.

Environment

None

Status

Assignee

New H2O Bugs

Fix versions

Reporter

Sebastien Poirier

Support ticket URL

None

Labels

None

Release Priority

None

Affected Spark version

None

Customer Request Type

None

Task progress

None

CustomerVisible

No

Components

Priority

Major