Class DefaultPartitionEncoders
java.lang.Object
com.here.platform.data.client.converters.DefaultPartitionEncoders
Provides factory methods for PartitionEncoders.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PartitionEncoderprotobufPartitionEncoder(HRN hrn, Settings settings, org.apache.pekko.actor.ActorSystem actorSystem) Returns Protocol buffer PartitionEncoder for the schema from the given catalog HRN.static PartitionEncoderprotobufPartitionEncoder(HRN hrn, org.apache.pekko.actor.ActorSystem actorSystem) Returns Protocol buffer PartitionEncoder for the schema from the given catalog HRN.static PartitionEncoderprotobufPartitionEncoder(File schemaZip) Returns Protocol buffer PartitionEncoder for the given schema zip file.
-
Constructor Details
-
DefaultPartitionEncoders
public DefaultPartitionEncoders()
-
-
Method Details
-
protobufPartitionEncoder
Returns Protocol buffer PartitionEncoder for the given schema zip file.- Parameters:
schemaZip- Protocol buffer schema zip file- Returns:
- Protocol buffer PartitionEncoder.
-
protobufPartitionEncoder
public static PartitionEncoder protobufPartitionEncoder(HRN hrn, Settings settings, org.apache.pekko.actor.ActorSystem actorSystem) Returns Protocol buffer PartitionEncoder for the schema from the given catalog HRN.- Parameters:
hrn- Catalog HRN with Protocol buffer schema.actorSystem- Pekko actor system.- Returns:
- Protocol buffer PartitionEncoder.
-
protobufPartitionEncoder
public static PartitionEncoder protobufPartitionEncoder(HRN hrn, org.apache.pekko.actor.ActorSystem actorSystem) Returns Protocol buffer PartitionEncoder for the schema from the given catalog HRN.- Parameters:
hrn- Catalog HRN with Protocol buffer schema.actorSystem- Pekko actor system.- Returns:
- Protocol buffer PartitionEncoder.
-