Class PartitionDescriptorHolderImpl

java.lang.Object
com.here.platform.data.client.converters.protobuf.PartitionDescriptorHolderImpl
All Implemented Interfaces:
PartitionDescriptorHolder, Serializable, scala.Equals, scala.Product

public class PartitionDescriptorHolderImpl extends Object implements PartitionDescriptorHolder, scala.Product, Serializable
To create the mainDescriptor, the FileDescriptorSet and messageClassName are required. Since both of these values are serializable, the mainDescriptor can be constructed without needing to download the schema once again from Artifact service.

Note that the mainDescriptor is not serializable (hence @transient)

See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    PartitionDescriptorHolderImpl(com.google.protobuf.DescriptorProtos.FileDescriptorSet fileDescriptors, String messageClassName)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract static R
    apply(T1 v1, T2 v2)
     
    scala.collection.immutable.List<com.google.protobuf.Descriptors.Descriptor>
     
    com.google.protobuf.DescriptorProtos.FileDescriptorSet
     
    com.google.protobuf.Descriptors.Descriptor
     
     
    static String
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface scala.Equals

    canEqual, equals

    Methods inherited from interface scala.Product

    productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
  • Constructor Details

    • PartitionDescriptorHolderImpl

      public PartitionDescriptorHolderImpl(com.google.protobuf.DescriptorProtos.FileDescriptorSet fileDescriptors, String messageClassName)
  • Method Details

    • apply

      public abstract static R apply(T1 v1, T2 v2)
    • toString

      public static String toString()
    • fileDescriptors

      public com.google.protobuf.DescriptorProtos.FileDescriptorSet fileDescriptors()
    • messageClassName

      public String messageClassName()
    • descriptors

      public scala.collection.immutable.List<com.google.protobuf.Descriptors.Descriptor> descriptors()
      Specified by:
      descriptors in interface PartitionDescriptorHolder
    • mainDescriptor

      public com.google.protobuf.Descriptors.Descriptor mainDescriptor()
      Specified by:
      mainDescriptor in interface PartitionDescriptorHolder