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