java.lang.Object
com.here.platform.data.client.engine.javadsl.DataEngine
All Implemented Interfaces:
DataEngineApi, org.apache.pekko.actor.Extension

public final class DataEngine extends Object implements DataEngineApi, org.apache.pekko.actor.Extension
Entry point of the Java data-engine module.

Use provided API objects to access or produce partition data.

Data can either be published directly, or a data reference can be used with DataClient API objects.

Use DataEngine.get to access the global instance.

Consider passing this global instance as a DataEngineApi for unit testing purposes.

  • Constructor Details

    • DataEngine

      public DataEngine(org.apache.pekko.actor.ActorSystem system)
  • Method Details

    • get

      public static DataEngine get(org.apache.pekko.actor.ActorSystem system)
    • lookup

      public static com.here.platform.data.client.engine.javadsl.DataEngine$ lookup()
    • createExtension

      public static DataEngine createExtension(org.apache.pekko.actor.ExtendedActorSystem system)
    • apply

      public static T apply(org.apache.pekko.actor.ActorSystem system)
    • apply

      public static T apply(org.apache.pekko.actor.ClassicActorSystemProvider system)
    • hashCode

      public static final int hashCode()
    • equals

      public static final boolean equals(Object other)
    • defaultSettings

      public Settings defaultSettings()
      Description copied from interface: DataEngineApi
      Default setting which will be used if no overrides is provided
      Specified by:
      defaultSettings in interface DataEngineApi
    • readEngine

      public ReadEngine readEngine(HRN hrn)
      Description copied from interface: DataEngineApi
      Read engine supporting read operations from underlying storage

      Specified by:
      readEngine in interface DataEngineApi
      Parameters:
      hrn - catalog identifier
    • readEngine

      public ReadEngine readEngine(HRN hrn, Settings settings)
      Description copied from interface: DataEngineApi
      Read engine supporting read operations from underlying storage

      Specified by:
      readEngine in interface DataEngineApi
      Parameters:
      hrn - catalog identifier
      settings - DataClient settings
    • writeEngine

      public WriteEngine writeEngine(HRN hrn, BlobIdGenerator blobIdGenerator, Settings settings)
      Description copied from interface: DataEngineApi
      Write engine supporting write operations to the underlying storage

      Specified by:
      writeEngine in interface DataEngineApi
      Parameters:
      hrn - catalog identifier
      blobIdGenerator - blobId generator
      settings - DataClient settings
    • writeEngine

      public WriteEngine writeEngine(HRN hrn, Settings settings)
      Description copied from interface: DataEngineApi
      Write engine supporting write operations to the underlying storage

      Specified by:
      writeEngine in interface DataEngineApi
      Parameters:
      hrn - catalog identifier
      settings - DataClient settings
    • writeEngine

      public WriteEngine writeEngine(HRN hrn, BlobIdGenerator blobIdGenerator)
      Description copied from interface: DataEngineApi
      Write engine supporting write operations to the underlying storage

      Specified by:
      writeEngine in interface DataEngineApi
      Parameters:
      hrn - catalog identifier
      blobIdGenerator - blobId generator
    • writeEngine

      public WriteEngine writeEngine(HRN hrn)
      Description copied from interface: DataEngineApi
      Write engine supporting write operations to the underlying storage

      Specified by:
      writeEngine in interface DataEngineApi
      Parameters:
      hrn - catalog identifier