Class AsyncTimeseriesClient


  • public class AsyncTimeseriesClient
    extends java.lang.Object
    • Constructor Detail

      • AsyncTimeseriesClient

        public AsyncTimeseriesClient​(ClientOptions clientOptions)
    • Method Detail

      • lastSeenV1

        public java.util.concurrent.CompletableFuture<java.util.Optional<TiveDataPoint1>> lastSeenV1​(TimeseriesLastSeenV1Request request)
        Returns the most recent Tive data point for a shipment. Scoped to the caller's organization. | authz: min_org_role=operator | () -> (TiveDataPoint1 | None)
      • lastSeenV1

        public java.util.concurrent.CompletableFuture<java.util.Optional<TiveDataPoint1>> lastSeenV1​(TimeseriesLastSeenV1Request request,
                                                                                                     RequestOptions requestOptions)
        Returns the most recent Tive data point for a shipment. Scoped to the caller's organization. | authz: min_org_role=operator | () -> (TiveDataPoint1 | None)
      • dataPointsV1

        public java.util.concurrent.CompletableFuture<TiveTimeseriesRes> dataPointsV1​(TimeseriesDataPointsV1Request request)
        Returns raw Tive data points for a shipment within the given time range. Scoped to the caller's organization. | authz: min_org_role=operator | () -> (TiveTimeseriesRes)
      • dataPointsV1

        public java.util.concurrent.CompletableFuture<TiveTimeseriesRes> dataPointsV1​(TimeseriesDataPointsV1Request request,
                                                                                      RequestOptions requestOptions)
        Returns raw Tive data points for a shipment within the given time range. Scoped to the caller's organization. | authz: min_org_role=operator | () -> (TiveTimeseriesRes)
      • syncV1

        public java.util.concurrent.CompletableFuture<TiveTimeseriesSyncRes> syncV1​(TimeseriesSyncV1Request request)
        Fetches new Tive tracker data points from the Tive API for a shipment and stores them in our timeseries collection. Uses a high-water-mark strategy with overlap dedup to prevent duplicate inserts. | authz: min_org_role=operator | () -> (TiveTimeseriesSyncRes)
      • syncV1

        public java.util.concurrent.CompletableFuture<TiveTimeseriesSyncRes> syncV1​(TimeseriesSyncV1Request request,
                                                                                    RequestOptions requestOptions)
        Fetches new Tive tracker data points from the Tive API for a shipment and stores them in our timeseries collection. Uses a high-water-mark strategy with overlap dedup to prevent duplicate inserts. | authz: min_org_role=operator | () -> (TiveTimeseriesSyncRes)