Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance Data Retrieval Accuracy with MatchType in TimeseriesRef #969

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Commits on Apr 29, 2024

  1. Added method to expose raw index to the Lua interface.

    Sebastian Almagro committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    0c6521b View commit details
    Browse the repository at this point in the history
  2. Implement MatchType in TimeseriesRef for precise data retrieval

    - Added an enumeration MatchType with options Exact and Nearest.
    - Modified atTime and getRawIndexAtTime in TimeseriesRef to support MatchType, allowing callers to specify whether they need an exact timestamp match or the nearest available match.
    - Adjusted the atTime method to throw an error when an exact match is required but not found, enhancing error handling for strict match requirements.
    Sebastian Almagro committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    ae9850e View commit details
    Browse the repository at this point in the history
  3. [precommit] - Apply clang-format

    Sebastian Almagro committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    d620d62 View commit details
    Browse the repository at this point in the history