Uses of Interface
net.morimekta.providence.descriptor.PDescriptor
-
Packages that use PDescriptor Package Description net.morimekta.providence net.morimekta.providence.descriptor net.morimekta.providence.serializer.binary net.morimekta.providence.util -
-
Uses of PDescriptor in net.morimekta.providence
Methods in net.morimekta.providence that return PDescriptor Modifier and Type Method Description PDescriptorPValue. descriptor()PDescriptorPApplicationException._Field. getDescriptor() -
Uses of PDescriptor in net.morimekta.providence.descriptor
Classes in net.morimekta.providence.descriptor that implement PDescriptor Modifier and Type Class Description classPContainer<Container>Generic descriptor for a container type.classPDeclaredDescriptor<T>Descriptor for a declared type.classPEnumDescriptor<T extends PEnumValue<T>>The definition of a thrift enum.classPExceptionDescriptor<Exception extends PMessage<Exception>>The definition of a thrift exception.classPInterfaceDescriptor<T extends PMessage<T>>The definition of a providence interface.classPList<Item>Descriptor for a list with item type.classPMap<Key,Value>Descriptor for a map with key and item type.classPMessageDescriptor<T extends PMessage<T>>Descriptor base class for all messages.classPPrimitiveDescriptors for primitive types.classPSet<Item>Descriptor for a set with item type.classPStructDescriptor<T extends PMessage<T>>The definition of a thrift structure.classPUnionDescriptor<T extends PMessage<T>>The definition of a thrift union.Methods in net.morimekta.providence.descriptor that return PDescriptor Modifier and Type Method Description PDescriptorPDescriptorProvider. descriptor()PDescriptorPField. getDescriptor()PDescriptorPContainer. itemDescriptor()PDescriptorPMap. keyDescriptor() -
Uses of PDescriptor in net.morimekta.providence.serializer.binary
Methods in net.morimekta.providence.serializer.binary with parameters of type PDescriptor Modifier and Type Method Description static <T> TBinaryFormatUtils. readFieldValue(net.morimekta.util.io.BigEndianBinaryReader in, BinaryFormatUtils.FieldInfo fieldInfo, PDescriptor fieldType, boolean strict)Read a field value from stream. -
Uses of PDescriptor in net.morimekta.providence.util
Methods in net.morimekta.providence.util with parameters of type PDescriptor Modifier and Type Method Description static java.util.Optional<java.lang.Object>MessageUtil. coerce(PDescriptor valueType, java.lang.Object value)Coerce value to match the given type descriptor.static java.util.Optional<java.lang.Object>MessageUtil. coerceStrict(PDescriptor valueType, java.lang.Object value)Coerce value to match the given type descriptor using struct type checking.
-