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
ConstructorsConstructorDescriptionPartitionDescriptorHolderImpl(com.google.protobuf.DescriptorProtos.FileDescriptorSet fileDescriptors, String messageClassName) -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.Equals
canEqual, equalsMethods 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
-
fileDescriptors
public com.google.protobuf.DescriptorProtos.FileDescriptorSet fileDescriptors() -
messageClassName
-
descriptors
public scala.collection.immutable.List<com.google.protobuf.Descriptors.Descriptor> descriptors()- Specified by:
descriptorsin interfacePartitionDescriptorHolder
-
mainDescriptor
public com.google.protobuf.Descriptors.Descriptor mainDescriptor()- Specified by:
mainDescriptorin interfacePartitionDescriptorHolder
-