Class EntityTimeSeriesRepository<T extends EntityTimeSeriesInterface>

java.lang.Object
org.openmetadata.service.jdbi3.EntityTimeSeriesRepository<T>
Direct Known Subclasses:
ReportDataRepository, TestCaseResolutionStatusRepository

public abstract class EntityTimeSeriesRepository<T extends EntityTimeSeriesInterface> extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • createNewRecord

      public T createNewRecord(T recordEntity, String extension, String recordFQN)
    • createNewRecord

      public T createNewRecord(T recordEntity, String recordFQN)
    • postCreate

      protected void postCreate(T entity)
    • getResultList

      public final ResultList<T> getResultList(List<T> entities, String beforeCursor, String afterCursor, int total)
    • listWithOffset

      protected ResultList<T> listWithOffset(String offset, ListFilter filter, int limitParam, Long startTs, Long endTs, boolean latest)
      Forward paginate a list of entities ordered and paginated by timestamp
      Returns:
      ResultList
    • list

      public ResultList<T> list(String offset, Long startTs, Long endTs, int limitParam, ListFilter filter, boolean latest)
    • getLatestRecord

      public T getLatestRecord(String recordFQN)
    • getById

      public T getById(UUID id)