Class DataEngine
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Tapply(org.apache.pekko.actor.ActorSystem system) static Tapply(org.apache.pekko.actor.ClassicActorSystemProvider system) static DataEnginecreateExtension(org.apache.pekko.actor.ExtendedActorSystem system) Default setting which will be used if no overrides is providedstatic final booleanstatic DataEngineget(org.apache.pekko.actor.ActorSystem system) static final inthashCode()static com.here.platform.data.client.engine.javadsl.DataEngine$lookup()readEngine(HRN hrn) Read engine supporting read operations from underlying storagereadEngine(HRN hrn, Settings settings) Read engine supporting read operations from underlying storagewriteEngine(HRN hrn) Write engine supporting write operations to the underlying storagewriteEngine(HRN hrn, BlobIdGenerator blobIdGenerator) Write engine supporting write operations to the underlying storagewriteEngine(HRN hrn, BlobIdGenerator blobIdGenerator, Settings settings) Write engine supporting write operations to the underlying storagewriteEngine(HRN hrn, Settings settings) Write engine supporting write operations to the underlying storage
-
Constructor Details
-
DataEngine
public DataEngine(org.apache.pekko.actor.ActorSystem system)
-
-
Method Details
-
get
-
lookup
public static com.here.platform.data.client.engine.javadsl.DataEngine$ lookup() -
createExtension
-
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
-
defaultSettings
Description copied from interface:DataEngineApiDefault setting which will be used if no overrides is provided- Specified by:
defaultSettingsin interfaceDataEngineApi
-
readEngine
Description copied from interface:DataEngineApiRead engine supporting read operations from underlying storage- Specified by:
readEnginein interfaceDataEngineApi- Parameters:
hrn- catalog identifier
-
readEngine
Description copied from interface:DataEngineApiRead engine supporting read operations from underlying storage- Specified by:
readEnginein interfaceDataEngineApi- Parameters:
hrn- catalog identifiersettings- DataClient settings
-
writeEngine
Description copied from interface:DataEngineApiWrite engine supporting write operations to the underlying storage- Specified by:
writeEnginein interfaceDataEngineApi- Parameters:
hrn- catalog identifierblobIdGenerator- blobId generatorsettings- DataClient settings
-
writeEngine
Description copied from interface:DataEngineApiWrite engine supporting write operations to the underlying storage- Specified by:
writeEnginein interfaceDataEngineApi- Parameters:
hrn- catalog identifiersettings- DataClient settings
-
writeEngine
Description copied from interface:DataEngineApiWrite engine supporting write operations to the underlying storage- Specified by:
writeEnginein interfaceDataEngineApi- Parameters:
hrn- catalog identifierblobIdGenerator- blobId generator
-
writeEngine
Description copied from interface:DataEngineApiWrite engine supporting write operations to the underlying storage- Specified by:
writeEnginein interfaceDataEngineApi- Parameters:
hrn- catalog identifier
-