Interface DataLoader<Id,T>

Type Parameters:
Id - Key type used to load data with this loader.
T - The type of data loaded.
All Known Subinterfaces:
CachingDataLoader<Id,T>, CachingTileLoader<T>, TileLoader<T>
All Known Implementing Classes:
AbstractDataLoaderDecorator, com.here.platform.location.dataloader.core.AbstractTileLoaderDecorator, AbstractTileLoaderDecorator, com.here.platform.location.dataloader.core.internal.BaseTileLoader, LRUCachingDataLoader, LRUCachingTileLoader, StandaloneByteArrayTileLoader, TransformingTileLoader, com.here.platform.location.dataloader.core.TransformingTileLoader

public interface DataLoader<Id,T>
Deprecated.
Use methods based on OptimizedMapLayers instead. Since SDK 2.54.
An abstract loader type.

  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
     
    long
    Deprecated.
     
    scala.Option<T>
    get(Id partition)
    Deprecated.
    Gets data for a single partition.
    scala.collection.Iterable<scala.Tuple2<Id,scala.Option<T>>>
    getAll(scala.collection.Iterable<Id> partitions)
    Deprecated.
    Gets data for partitions.
    Deprecated.
     
    scala.collection.Iterator<Id>
    Deprecated.
    Gets the partition IDs available from this loader.
    Deprecated.
     
  • Method Details

    • catalogHrn

      HRN catalogHrn()
      Deprecated.
    • catalogVersion

      long catalogVersion()
      Deprecated.
    • get

      scala.Option<T> get(Id partition)
      Deprecated.
      Gets data for a single partition.

      Parameters:
      partition - The partition to retrieve the data for
      Returns:
      The data of the successfully loaded partition, or None
    • getAll

      scala.collection.Iterable<scala.Tuple2<Id,scala.Option<T>>> getAll(scala.collection.Iterable<Id> partitions)
      Deprecated.
      Gets data for partitions.

      Parameters:
      partitions - The partitions to retrieve the data for
      Returns:
      The data associated with the successfully loaded partitions, or None
    • layerName

      String layerName()
      Deprecated.
    • partitionIds

      scala.collection.Iterator<Id> partitionIds()
      Deprecated.
      Gets the partition IDs available from this loader.

      This will only return partition IDs for which the get(Id) method will return a non-empty value.

    • partitioning

      LayerPartitioning partitioning()
      Deprecated.