- B64 - Static variable in class net.morimekta.providence.serializer.pretty.Token
-
- BaseSerializerProvider - Class in net.morimekta.providence.serializer
-
Default serializer provider for core serializers.
- BaseSerializerProvider(String) - Constructor for class net.morimekta.providence.serializer.BaseSerializerProvider
-
Get provider with the given default media type.
- BaseTypeRegistry - Class in net.morimekta.providence.util
-
Registry for declared types referenced in a flat space program context.
- BaseTypeRegistry() - Constructor for class net.morimekta.providence.util.BaseTypeRegistry
-
- BINARY - Static variable in class net.morimekta.providence.descriptor.PPrimitive
-
- BinaryFormatUtils - Class in net.morimekta.providence.serializer.binary
-
Utilities helping with reading and writing binary format (protocol)
messages.
- BinaryFormatUtils() - Constructor for class net.morimekta.providence.serializer.binary.BinaryFormatUtils
-
- BinaryFormatUtils.FieldInfo - Class in net.morimekta.providence.serializer.binary
-
Field info data holder with convenience methods.
- binaryProtocol() - Method in class net.morimekta.providence.serializer.BinarySerializer
-
- binaryProtocol() - Method in class net.morimekta.providence.serializer.FastBinarySerializer
-
- binaryProtocol() - Method in class net.morimekta.providence.serializer.JsonSerializer
-
- binaryProtocol() - Method in class net.morimekta.providence.serializer.PrettySerializer
-
- binaryProtocol() - Method in class net.morimekta.providence.serializer.Serializer
-
- BinaryReader - Interface in net.morimekta.providence.serializer.binary
-
Interface for message builders that can read binary directly from
an big endian binary reader.
- BinarySerializer - Class in net.morimekta.providence.serializer
-
Compact binary serializer.
- BinarySerializer() - Constructor for class net.morimekta.providence.serializer.BinarySerializer
-
Construct a serializer instance.
- BinarySerializer(boolean) - Constructor for class net.morimekta.providence.serializer.BinarySerializer
-
Construct a serializer instance.
- BinarySerializer(boolean, boolean) - Constructor for class net.morimekta.providence.serializer.BinarySerializer
-
Construct a serializer instance.
- BinaryType - Class in net.morimekta.providence.serializer.binary
-
Helper class for having binary type ID constants and getting
the right binary type ID for a value type.
- BinaryWriter - Interface in net.morimekta.providence.serializer.binary
-
Interface for messages that can directly be written to binary.
- BOOL - Static variable in class net.morimekta.providence.descriptor.PPrimitive
-
- BOOL - Static variable in class net.morimekta.providence.serializer.binary.BinaryType
-
- build() - Method in interface net.morimekta.providence.descriptor.PList.Builder
-
- build() - Method in class net.morimekta.providence.descriptor.PList.DefaultBuilder
-
- build() - Method in interface net.morimekta.providence.descriptor.PMap.Builder
-
- build() - Method in class net.morimekta.providence.descriptor.PMap.DefaultBuilder
-
- build() - Method in class net.morimekta.providence.descriptor.PMap.SortedBuilder
-
- build() - Method in interface net.morimekta.providence.descriptor.PSet.Builder
-
- build() - Method in class net.morimekta.providence.descriptor.PSet.DefaultBuilder
-
- build() - Method in class net.morimekta.providence.descriptor.PSet.SortedBuilder
-
- build() - Method in class net.morimekta.providence.PApplicationException._Builder
-
- build() - Method in class net.morimekta.providence.PApplicationExceptionType._Builder
-
- build() - Method in interface net.morimekta.providence.PBuilder
-
Build the instance value.
- build() - Method in class net.morimekta.providence.PServiceCallType._Builder
-
- build() - Method in class net.morimekta.providence.util.Any._Builder
-
- build() - Method in class net.morimekta.providence.util.Empty._Builder
-
- builder() - Method in class net.morimekta.providence.descriptor.PContainer
-
Get an instance builder for the container.
- builder() - Method in class net.morimekta.providence.descriptor.PDeclaredDescriptor
-
Get the builder for the given declared type.
- builder() - Method in class net.morimekta.providence.descriptor.PEnumDescriptor
-
- builder() - Method in class net.morimekta.providence.descriptor.PList
-
- builder() - Method in class net.morimekta.providence.descriptor.PMap
-
- builder() - Method in class net.morimekta.providence.descriptor.PMessageDescriptor
-
- builder() - Method in class net.morimekta.providence.descriptor.PSet
-
- builder() - Static method in exception net.morimekta.providence.PApplicationException
-
Make a pservice.PApplicationException
builder.
- builder() - Static method in class net.morimekta.providence.util.Any
-
Make a putil.Any
builder.
- builder() - Static method in class net.morimekta.providence.util.Empty
-
Make a putil.Empty
builder.
- BYTE - Static variable in class net.morimekta.providence.descriptor.PPrimitive
-
- BYTE - Static variable in class net.morimekta.providence.serializer.binary.BinaryType
-
- failure(Token, String, Object...) - Method in class net.morimekta.providence.serializer.pretty.Tokenizer
-
- failure(int, int, int, String, Object...) - Method in class net.morimekta.providence.serializer.pretty.Tokenizer
-
- failure(String, Object...) - Method in class net.morimekta.providence.serializer.pretty.Tokenizer
-
- FastBinarySerializer - Class in net.morimekta.providence.serializer
-
Compact binary serializer.
- FastBinarySerializer() - Constructor for class net.morimekta.providence.serializer.FastBinarySerializer
-
Construct a serializer instance.
- FastBinarySerializer(boolean) - Constructor for class net.morimekta.providence.serializer.FastBinarySerializer
-
Construct a serializer instance.
- fieldForId(int) - Method in class net.morimekta.providence.descriptor.PMessageDescriptor
-
- fieldForId(int) - Static method in enum net.morimekta.providence.PApplicationException._Field
-
- fieldForId(int) - Static method in enum net.morimekta.providence.util.Any._Field
-
- fieldForId(int) - Static method in enum net.morimekta.providence.util.Empty._Field
-
- fieldForName(String) - Method in class net.morimekta.providence.descriptor.PMessageDescriptor
-
- fieldForName(String) - Static method in enum net.morimekta.providence.PApplicationException._Field
-
- fieldForName(String) - Static method in enum net.morimekta.providence.util.Any._Field
-
- fieldForName(String) - Static method in enum net.morimekta.providence.util.Empty._Field
-
- FieldInfo(int, byte) - Constructor for class net.morimekta.providence.serializer.binary.BinaryFormatUtils.FieldInfo
-
Create a field info instance.
- fieldIsValueType - Variable in enum net.morimekta.providence.descriptor.PRequirement
-
- file(File, Serializer, PMessageDescriptor<Message, Field>) - Static method in class net.morimekta.providence.streams.MessageStreams
-
Read a file containing entries of a given type.
- FileMessageReader - Class in net.morimekta.providence.mio
-
A message reader that reads from a single file until the end.
- FileMessageReader(File, Serializer) - Constructor for class net.morimekta.providence.mio.FileMessageReader
-
Create the file message reader.
- FileMessageWriter - Class in net.morimekta.providence.mio
-
A message writer that writes to a single file until the end.
- FileMessageWriter(File, Serializer) - Constructor for class net.morimekta.providence.mio.FileMessageWriter
-
- FileMessageWriter(File, Serializer, boolean) - Constructor for class net.morimekta.providence.mio.FileMessageWriter
-
- fillInStackTrace() - Method in exception net.morimekta.providence.PApplicationException
-
- finalTypename(String, String) - Method in class net.morimekta.providence.util.BaseTypeRegistry
-
Get the final typename of the given identifier within the context.
- findById(int) - Method in class net.morimekta.providence.descriptor.PEnumDescriptor
-
- findById(int) - Static method in enum net.morimekta.providence.PApplicationException._Field
-
- findById(int) - Static method in enum net.morimekta.providence.PApplicationExceptionType
-
Find a value based in its ID
- findById(Integer) - Static method in enum net.morimekta.providence.PApplicationExceptionType
-
Find a value based in its ID
- findById(int) - Static method in enum net.morimekta.providence.PServiceCallType
-
Find a value based in its ID
- findById(Integer) - Static method in enum net.morimekta.providence.PServiceCallType
-
Find a value based in its ID
- findById(int) - Static method in enum net.morimekta.providence.util.Any._Field
-
- findById(int) - Static method in enum net.morimekta.providence.util.Empty._Field
-
- findByName(String) - Method in class net.morimekta.providence.descriptor.PEnumDescriptor
-
- findByName(String) - Static method in class net.morimekta.providence.descriptor.PPrimitive
-
Find primitive by name.
- findByName(String) - Static method in enum net.morimekta.providence.PApplicationException._Field
-
- findByName(String) - Static method in enum net.morimekta.providence.PApplicationExceptionType
-
Find a value based in its name
- findByName(String) - Static method in enum net.morimekta.providence.PServiceCallType
-
Find a value based in its name
- findByName(String) - Static method in enum net.morimekta.providence.util.Any._Field
-
- findByName(String) - Static method in enum net.morimekta.providence.util.Empty._Field
-
- findFieldById(int) - Method in class net.morimekta.providence.descriptor.PMessageDescriptor
-
- findFieldByName(String) - Method in class net.morimekta.providence.descriptor.PMessageDescriptor
-
- format(Message) - Method in class net.morimekta.providence.util.LogFormatter
-
Format message to a string.
- formatTo(OutputStream, Message) - Method in class net.morimekta.providence.util.LogFormatter
-
Format message and write to the output stream.
- forName(String) - Static method in enum net.morimekta.providence.util.ThriftContainer
-
- forTag(String) - Static method in enum net.morimekta.providence.util.ThriftAnnotation
-
- forType(PType) - Static method in class net.morimekta.providence.serializer.binary.BinaryType
-
Get the binary type for the given value type.
- fromJsonResource(String, PMessageDescriptor<Message, Field>) - Static method in class net.morimekta.providence.util.ProvidenceHelper
-
- fromResource(String, PMessageDescriptor<Message, Field>, Serializer) - Static method in class net.morimekta.providence.util.ProvidenceHelper
-
- get() - Method in class net.morimekta.providence.descriptor.PDefaultValueProvider
-
- get() - Method in interface net.morimekta.providence.descriptor.PValueProvider
-
- get(int) - Method in exception net.morimekta.providence.PApplicationException
-
- get(int) - Method in interface net.morimekta.providence.PMessage
-
- get(Field) - Method in interface net.morimekta.providence.PMessage
-
- get(int) - Method in class net.morimekta.providence.util.Any
-
- get(int) - Method in class net.morimekta.providence.util.Empty
-
- getBuilderSupplier() - Method in class net.morimekta.providence.descriptor.PEnumDescriptor
-
- getBuilderSupplier() - Method in class net.morimekta.providence.descriptor.PMessageDescriptor
-
Get the actual builder builderSupplier instance.
- getCallType() - Method in exception net.morimekta.providence.serializer.SerializerException
-
- getCause() - Method in exception net.morimekta.providence.serializer.JsonSerializerException
-
- getComparator() - Method in class net.morimekta.providence.streams.MessageSpliterator
-
Messages are comparable.
- getConstantValue(String, String) - Method in class net.morimekta.providence.util.SimpleTypeRegistry
-
- getConstantValue(String, String) - Method in interface net.morimekta.providence.util.TypeRegistry
-
This is to check to find a constant given the const name and program context.
- getData() - Method in class net.morimekta.providence.util.Any._Builder
-
The actual content binary data.
- getData() - Method in class net.morimekta.providence.util.Any
-
The actual content binary data.
- getDeclaredType(String, String) - Method in class net.morimekta.providence.util.SimpleTypeRegistry
-
- getDeclaredType(String, String) - Method in interface net.morimekta.providence.util.TypeRegistry
-
Get the declared type with the given name and program context.
- getDeclaredType(String) - Method in interface net.morimekta.providence.util.TypeRegistry
-
Get a declared type by its qualified type name.
- getDefault() - Method in class net.morimekta.providence.serializer.BaseSerializerProvider
-
- getDefault() - Method in interface net.morimekta.providence.serializer.SerializerProvider
-
- getDefaultValue() - Method in class net.morimekta.providence.descriptor.PDeclaredDescriptor
-
- getDefaultValue() - Method in interface net.morimekta.providence.descriptor.PDescriptor
-
- getDefaultValue() - Method in interface net.morimekta.providence.descriptor.PField
-
- getDefaultValue() - Method in class net.morimekta.providence.descriptor.PList
-
- getDefaultValue() - Method in class net.morimekta.providence.descriptor.PMap
-
- getDefaultValue() - Method in class net.morimekta.providence.descriptor.PPrimitive
-
- getDefaultValue() - Method in class net.morimekta.providence.descriptor.PSet
-
- getDefaultValue() - Method in enum net.morimekta.providence.PApplicationException._Field
-
- getDefaultValue() - Method in enum net.morimekta.providence.util.Any._Field
-
- getDefaultValue() - Method in enum net.morimekta.providence.util.Empty._Field
-
- getDescriptor() - Method in interface net.morimekta.providence.descriptor.PField
-
- getDescriptor() - Method in enum net.morimekta.providence.PApplicationException._Field
-
- getDescriptor() - Method in interface net.morimekta.providence.PProcessor
-
Get the descriptor for the given service.
- getDescriptor() - Method in enum net.morimekta.providence.util.Any._Field
-
- getDescriptor() - Method in enum net.morimekta.providence.util.Empty._Field
-
- getEnumType(String) - Method in interface net.morimekta.providence.util.TypeRegistry
-
These extra casts needs to be there, otherwise we'd get this error:
incompatible types: inference variable T has incompatible upper bounds
net.morimekta.providence.descriptor.PDeclaredDescriptor<net.morimekta.providence.descriptor.PEnumDescriptor>,
net.morimekta.providence.descriptor.PEnumDescriptor
TODO: Figure out a way to fix the generic cast.
- getExactSizeIfKnown() - Method in class net.morimekta.providence.streams.MessageSpliterator
-
We mostly never know the number of messages in a message stream
until the last message has been read.
- getExceptionType() - Method in exception net.morimekta.providence.serializer.SerializerException
-
- getExtendsService() - Method in class net.morimekta.providence.descriptor.PService
-
Get the service that this service extends.
- getField(String) - Method in class net.morimekta.providence.descriptor.PMessageDescriptor
-
- getField(int) - Method in class net.morimekta.providence.descriptor.PMessageDescriptor
-
- getFields() - Method in class net.morimekta.providence.descriptor.PMessageDescriptor
-
- getFile() - Method in exception net.morimekta.providence.serializer.pretty.TokenizerException
-
- getFilesToDelete(List<String>, String) - Method in class net.morimekta.providence.mio.rolling.KeepLastNCleanupPolicy
-
- getFilesToDelete(List<String>, String) - Method in class net.morimekta.providence.mio.rolling.TimeBasedCleanupPolicy
-
- getFilesToDelete(List<String>, String) - Method in interface net.morimekta.providence.mio.RollingFileMessageWriter.CleanupPolicy
-
Get a list of files that needs to be deleted because of the cleanup policy.
- getFormatter(String, TimeUnit) - Static method in class net.morimekta.providence.mio.rolling.TimeBasedRollingPolicy
-
- getId() - Method in interface net.morimekta.providence.descriptor.PField
-
- getId() - Method in class net.morimekta.providence.PApplicationException._Builder
-
The application exception type.
- getId() - Method in enum net.morimekta.providence.PApplicationException._Field
-
- getId() - Method in exception net.morimekta.providence.PApplicationException
-
The application exception type.
- getId() - Method in interface net.morimekta.providence.PEnumValue
-
Method for getting the ID of the value that is a bit more accurate
when reading code than Numeric.asInteger()
- getId() - Method in class net.morimekta.providence.serializer.binary.BinaryFormatUtils.FieldInfo
-
- getId() - Method in enum net.morimekta.providence.util.Any._Field
-
- getId() - Method in enum net.morimekta.providence.util.Empty._Field
-
- getLastToken() - Method in class net.morimekta.providence.serializer.pretty.Tokenizer
-
- getLen() - Method in exception net.morimekta.providence.serializer.JsonSerializerException
-
- getLength() - Method in exception net.morimekta.providence.serializer.pretty.TokenizerException
-
- getLine() - Method in exception net.morimekta.providence.serializer.JsonSerializerException
-
- getLine() - Method in exception net.morimekta.providence.serializer.pretty.TokenizerException
-
- getLineNo() - Method in exception net.morimekta.providence.serializer.JsonSerializerException
-
- getLineNo() - Method in class net.morimekta.providence.serializer.pretty.Token
-
- getLineNo() - Method in exception net.morimekta.providence.serializer.pretty.TokenizerException
-
- getLinePos() - Method in exception net.morimekta.providence.serializer.JsonSerializerException
-
- getLinePos() - Method in class net.morimekta.providence.serializer.pretty.Token
-
- getLinePos() - Method in exception net.morimekta.providence.serializer.pretty.TokenizerException
-
- getMediaType() - Method in class net.morimekta.providence.util.Any._Builder
-
The media type used for encoding.
- getMediaType() - Method in class net.morimekta.providence.util.Any
-
The media type used for encoding.
- getMessage() - Method in class net.morimekta.providence.PApplicationException._Builder
-
Exception message.
- getMessage() - Method in exception net.morimekta.providence.PApplicationException
-
Exception message.
- getMessage() - Method in class net.morimekta.providence.PServiceCall
-
The message sent or received.
- getMessageType(String) - Method in interface net.morimekta.providence.util.TypeRegistry
-
These extra casts needs to be there, otherwise we'd get this error:
incompatible types: inference variable T has incompatible upper bounds
net.morimekta.providence.descriptor.PDeclaredDescriptor<net.morimekta.providence.descriptor.PEnumDescriptor>,
net.morimekta.providence.descriptor.PEnumDescriptor
TODO: Figure out a way to fix the generic cast.
- getMethod(String) - Method in class net.morimekta.providence.descriptor.PService
-
Get the method definition for the given method name.
- getMethod() - Method in class net.morimekta.providence.PServiceCall
-
The name of the method called.
- getMethodName() - Method in exception net.morimekta.providence.serializer.SerializerException
-
- getMethods() - Method in class net.morimekta.providence.descriptor.PService
-
Get the collection of methods for the service, including all inherited
services.
- getName() - Method in class net.morimekta.providence.descriptor.PDeclaredDescriptor
-
- getName() - Method in interface net.morimekta.providence.descriptor.PDescriptor
-
The name of the type is the Identifier string from the IDL.
- getName() - Method in interface net.morimekta.providence.descriptor.PField
-
- getName() - Method in class net.morimekta.providence.descriptor.PList
-
- getName() - Method in class net.morimekta.providence.descriptor.PMap
-
- getName() - Method in class net.morimekta.providence.descriptor.PPrimitive
-
- getName() - Method in class net.morimekta.providence.descriptor.PService
-
- getName() - Method in interface net.morimekta.providence.descriptor.PServiceMethod
-
- getName() - Method in class net.morimekta.providence.descriptor.PSet
-
- getName() - Method in enum net.morimekta.providence.PApplicationException._Field
-
- getName() - Method in interface net.morimekta.providence.PEnumValue
-
Method for getting the name of the value that is a bit more accurate
when reading code than Stringable.asString()
- getName() - Method in enum net.morimekta.providence.util.Any._Field
-
- getName() - Method in enum net.morimekta.providence.util.Empty._Field
-
- getNextSequenceId() - Method in class net.morimekta.providence.PClient
-
Get the next available sequence ID.
- getOffset() - Method in class net.morimekta.providence.serializer.pretty.Token
-
- getProgramName() - Method in class net.morimekta.providence.descriptor.PContainer
-
- getProgramName() - Method in class net.morimekta.providence.descriptor.PDeclaredDescriptor
-
- getProgramName() - Method in interface net.morimekta.providence.descriptor.PDescriptor
-
The package name is derived form the .thrift file name that is parsed or
if read from serialized format is explicit.
- getProgramName() - Method in class net.morimekta.providence.descriptor.PPrimitive
-
- getProgramName() - Method in class net.morimekta.providence.descriptor.PService
-
- getProvider(String, String, Map<String, String>) - Method in class net.morimekta.providence.util.BaseTypeRegistry
-
- getProvider(String, String, Map<String, String>) - Method in interface net.morimekta.providence.util.TypeRegistry
-
Given a type name and a package context, fetches the type provider for
the given type.
- getQualifiedName(String) - Method in class net.morimekta.providence.descriptor.PDeclaredDescriptor
-
- getQualifiedName(String) - Method in interface net.morimekta.providence.descriptor.PDescriptor
-
This will return the qualified name of the type given the program context.
- getQualifiedName() - Method in interface net.morimekta.providence.descriptor.PDescriptor
-
This will return the globally qualified name of the type given the program context.
- getQualifiedName(String) - Method in class net.morimekta.providence.descriptor.PList
-
- getQualifiedName(String) - Method in class net.morimekta.providence.descriptor.PMap
-
- getQualifiedName(String) - Method in class net.morimekta.providence.descriptor.PPrimitive
-
- getQualifiedName(String) - Method in class net.morimekta.providence.descriptor.PService
-
- getQualifiedName() - Method in class net.morimekta.providence.descriptor.PService
-
- getQualifiedName(String) - Method in class net.morimekta.providence.descriptor.PSet
-
- getRequestType() - Method in interface net.morimekta.providence.descriptor.PServiceMethod
-
- getRequirement() - Method in interface net.morimekta.providence.descriptor.PField
-
- getRequirement() - Method in enum net.morimekta.providence.PApplicationException._Field
-
- getRequirement() - Method in enum net.morimekta.providence.util.Any._Field
-
- getRequirement() - Method in enum net.morimekta.providence.util.Empty._Field
-
- getResponseType() - Method in interface net.morimekta.providence.descriptor.PServiceMethod
-
- getSequence() - Method in class net.morimekta.providence.PServiceCall
-
The sequence number of the call.
- getSequenceNo() - Method in exception net.morimekta.providence.serializer.SerializerException
-
- getSerializer(String) - Method in class net.morimekta.providence.serializer.BaseSerializerProvider
-
- getSerializer(String) - Method in interface net.morimekta.providence.serializer.SerializerProvider
-
Get serializer for the given media type
- getService() - Method in interface net.morimekta.providence.descriptor.PServiceProvider
-
- getService(String, String) - Method in class net.morimekta.providence.util.SimpleTypeRegistry
-
- getService(String, String) - Method in interface net.morimekta.providence.util.TypeRegistry
-
Get a service definition from the name and program context.
- getService(String) - Method in interface net.morimekta.providence.util.TypeRegistry
-
Get a service definition from it's qualified service name.
- getServiceProvider(String, String) - Method in class net.morimekta.providence.util.BaseTypeRegistry
-
- getServiceProvider(String, String) - Method in interface net.morimekta.providence.util.TypeRegistry
-
Given a service name and program context, fetches the service provider
for the given service.
- getTargetModifications(M, M) - Static method in class net.morimekta.providence.util.ProvidenceHelper
-
- getText() - Method in class net.morimekta.providence.util.Any._Builder
-
Optional string encoded content for non-binary media types.
- getText() - Method in class net.morimekta.providence.util.Any
-
Optional string encoded content for non-binary media types.
- getType() - Method in interface net.morimekta.providence.descriptor.PDescriptor
-
- getType() - Method in class net.morimekta.providence.descriptor.PEnumDescriptor
-
- getType() - Method in interface net.morimekta.providence.descriptor.PField
-
- getType() - Method in class net.morimekta.providence.descriptor.PList
-
- getType() - Method in class net.morimekta.providence.descriptor.PMap
-
- getType() - Method in class net.morimekta.providence.descriptor.PMessageDescriptor
-
- getType() - Method in class net.morimekta.providence.descriptor.PPrimitive
-
- getType() - Method in class net.morimekta.providence.descriptor.PSet
-
- getType() - Method in class net.morimekta.providence.PServiceCall
-
The type of service call.
- getType() - Method in class net.morimekta.providence.serializer.binary.BinaryFormatUtils.FieldInfo
-
- getType() - Method in class net.morimekta.providence.util.Any._Builder
-
The thrift / providence program + message type name.
- getType() - Method in class net.morimekta.providence.util.Any
-
The thrift / providence program + message type name.
- getValue() - Method in interface net.morimekta.providence.PEnumValue
-
- getValues() - Method in class net.morimekta.providence.descriptor.PEnumDescriptor
-
- getVariant() - Method in class net.morimekta.providence.descriptor.PExceptionDescriptor
-
- getVariant() - Method in class net.morimekta.providence.descriptor.PMessageDescriptor
-
- getVariant() - Method in class net.morimekta.providence.descriptor.PStructDescriptor
-
- getVariant() - Method in class net.morimekta.providence.descriptor.PUnionDescriptor
-
- I16 - Static variable in class net.morimekta.providence.descriptor.PPrimitive
-
- I16 - Static variable in class net.morimekta.providence.serializer.binary.BinaryType
-
- I32 - Static variable in class net.morimekta.providence.descriptor.PPrimitive
-
- I32 - Static variable in class net.morimekta.providence.serializer.binary.BinaryType
-
- I64 - Static variable in class net.morimekta.providence.descriptor.PPrimitive
-
- I64 - Static variable in class net.morimekta.providence.serializer.binary.BinaryType
-
- initCause(Throwable) - Method in class net.morimekta.providence.PApplicationException._Builder
-
Initializes the cause of the pservice.PApplicationException
- initCause(Throwable) - Method in exception net.morimekta.providence.PApplicationException
-
- initCause(Throwable) - Method in exception net.morimekta.providence.serializer.JsonSerializerException
-
- initCause(Throwable) - Method in exception net.morimekta.providence.serializer.pretty.TokenizerException
-
- IOMessageReader - Class in net.morimekta.providence.mio
-
A reader helper class for matching a serializer with an input stream.
- IOMessageReader(InputStream, Serializer) - Constructor for class net.morimekta.providence.mio.IOMessageReader
-
- IOMessageWriter - Class in net.morimekta.providence.mio
-
A writer helper class for matching a serializer with an output stream.
- IOMessageWriter(OutputStream, Serializer) - Constructor for class net.morimekta.providence.mio.IOMessageWriter
-
- isDoubleQualifiedIdentifier() - Method in class net.morimekta.providence.serializer.pretty.Token
-
- isIdentifier() - Method in class net.morimekta.providence.serializer.pretty.Token
-
- isInteger() - Method in class net.morimekta.providence.serializer.pretty.Token
-
- isJsonCompactible() - Method in interface net.morimekta.providence.serializer.json.JsonCompactibleDescriptor
-
- isModified(int) - Method in class net.morimekta.providence.PApplicationException._Builder
-
- isModified(int) - Method in class net.morimekta.providence.PMessageBuilder
-
Checks if a specific field is modified on the builder.
- isModified(F) - Method in class net.morimekta.providence.PMessageBuilder
-
Checks if a specific field is modified on the builder.
- isModified(int) - Method in class net.morimekta.providence.util.Any._Builder
-
- isModified(int) - Method in class net.morimekta.providence.util.Empty._Builder
-
- isModifiedData() - Method in class net.morimekta.providence.util.Any._Builder
-
Checks if the data
field has been modified since the
builder was created.
- isModifiedId() - Method in class net.morimekta.providence.PApplicationException._Builder
-
Checks if the id
field has been modified since the
builder was created.
- isModifiedMediaType() - Method in class net.morimekta.providence.util.Any._Builder
-
Checks if the media_type
field has been modified since the
builder was created.
- isModifiedMessage() - Method in class net.morimekta.providence.PApplicationException._Builder
-
Checks if the message
field has been modified since the
builder was created.
- isModifiedText() - Method in class net.morimekta.providence.util.Any._Builder
-
Checks if the text
field has been modified since the
builder was created.
- isModifiedType() - Method in class net.morimekta.providence.util.Any._Builder
-
Checks if the type
field has been modified since the
builder was created.
- isNativePrimitive() - Method in class net.morimekta.providence.descriptor.PPrimitive
-
- isOneway() - Method in interface net.morimekta.providence.descriptor.PServiceMethod
-
- isQualifiedIdentifier() - Method in class net.morimekta.providence.serializer.pretty.Token
-
- isReal() - Method in class net.morimekta.providence.serializer.pretty.Token
-
- isReferenceIdentifier() - Method in class net.morimekta.providence.serializer.pretty.Token
-
- isRequestCallType(PServiceCallType) - Method in class net.morimekta.providence.serializer.Serializer
-
Utility method to check if a service call is a request type.
- isSet(int) - Method in class net.morimekta.providence.PApplicationException._Builder
-
- isSet(int) - Method in class net.morimekta.providence.PMessageBuilder
-
Checks if a specific field is set on the builder.
- isSet(F) - Method in class net.morimekta.providence.PMessageBuilder
-
Checks if a specific field is set on the builder.
- isSet(int) - Method in class net.morimekta.providence.util.Any._Builder
-
- isSet(int) - Method in class net.morimekta.providence.util.Empty._Builder
-
- isSetData() - Method in class net.morimekta.providence.util.Any._Builder
-
Checks for presence of the data
field.
- isSetId() - Method in class net.morimekta.providence.PApplicationException._Builder
-
Checks for presence of the id
field.
- isSetMediaType() - Method in class net.morimekta.providence.util.Any._Builder
-
Checks for presence of the media_type
field.
- isSetMessage() - Method in class net.morimekta.providence.PApplicationException._Builder
-
Checks for presence of the message
field.
- isSetText() - Method in class net.morimekta.providence.util.Any._Builder
-
Checks for presence of the text
field.
- isSetType() - Method in class net.morimekta.providence.util.Any._Builder
-
Checks for presence of the type
field.
- isSimple() - Method in class net.morimekta.providence.descriptor.PMessageDescriptor
-
- isStringLiteral() - Method in class net.morimekta.providence.serializer.pretty.Token
-
- isSymbol(char) - Method in class net.morimekta.providence.serializer.pretty.Token
-
- itemDescriptor() - Method in class net.morimekta.providence.descriptor.PContainer
-
- PApplicationException - Exception in net.morimekta.providence
-
Base exception thrown on non-declared exceptions on a service call, and
other server-side service call issues.
- PApplicationException(String, PApplicationExceptionType) - Constructor for exception net.morimekta.providence.PApplicationException
-
- PApplicationException._Builder - Class in net.morimekta.providence
-
Base exception thrown on non-declared exceptions on a service call, and
other server-side service call issues.
- PApplicationException._Field - Enum in net.morimekta.providence
-
- PApplicationExceptionType - Enum in net.morimekta.providence
-
General type of exception on the application level.
- PApplicationExceptionType._Builder - Class in net.morimekta.providence
-
- parseDebugString(String, PMessageDescriptor<Message, Field>) - Static method in class net.morimekta.providence.util.ProvidenceHelper
-
Parses a pretty formatted string, and makes exceptions unchecked.
- path(Path, Serializer, PMessageDescriptor<Message, Field>) - Static method in class net.morimekta.providence.streams.MessageStreams
-
Read a file containing entries of a given type.
- PBuilder<T> - Interface in net.morimekta.providence
-
Base class for all builders.
- PClient - Class in net.morimekta.providence
-
Base class for handling a call request from a synchronous client.
- PClient() - Constructor for class net.morimekta.providence.PClient
-
Create a base client.
- PContainer<Container> - Class in net.morimekta.providence.descriptor
-
Generic descriptor for a container type.
- PContainer(PDescriptorProvider) - Constructor for class net.morimekta.providence.descriptor.PContainer
-
- PContainerProvider<Container,Descriptor extends PContainer<Container>> - Class in net.morimekta.providence.descriptor
-
Provider for a container type.
- PContainerProvider(Descriptor) - Constructor for class net.morimekta.providence.descriptor.PContainerProvider
-
- PDeclaredDescriptor<T> - Class in net.morimekta.providence.descriptor
-
Descriptor for a declared type.
- PDeclaredDescriptor(String, String) - Constructor for class net.morimekta.providence.descriptor.PDeclaredDescriptor
-
- PDefaultValueProvider<V> - Class in net.morimekta.providence.descriptor
-
Provider for default value.
- PDefaultValueProvider(V) - Constructor for class net.morimekta.providence.descriptor.PDefaultValueProvider
-
- PDescriptor - Interface in net.morimekta.providence.descriptor
-
Descriptor interface for value type V.
- PDescriptorProvider - Interface in net.morimekta.providence.descriptor
-
Base descriptor provider interface.
- peek() - Method in class net.morimekta.providence.serializer.pretty.Tokenizer
-
Return the next token or throw an exception.
- peek(String) - Method in class net.morimekta.providence.serializer.pretty.Tokenizer
-
Return the next token or throw an exception.
- PEnumBuilder<T> - Class in net.morimekta.providence
-
A builder-helper for getting a correct enum entity from value or name.
- PEnumBuilder() - Constructor for class net.morimekta.providence.PEnumBuilder
-
- PEnumDescriptor<T extends PEnumValue<T>> - Class in net.morimekta.providence.descriptor
-
The definition of a thrift enum.
- PEnumDescriptor(String, String, Supplier<PEnumBuilder<T>>) - Constructor for class net.morimekta.providence.descriptor.PEnumDescriptor
-
- PEnumDescriptorProvider<E extends PEnumValue<E>> - Class in net.morimekta.providence.descriptor
-
Provider for enum type descriptor.
- PEnumDescriptorProvider(PEnumDescriptor<E>) - Constructor for class net.morimekta.providence.descriptor.PEnumDescriptorProvider
-
- PEnumValue<T> - Interface in net.morimekta.providence
-
Base interface for enum values.
- PException - Interface in net.morimekta.providence
-
Base class for exception type struct classes to access exception methods
that may be hidden by actual fields.
- PExceptionDescriptor<Exception extends PMessage<Exception,Field>,Field extends PField> - Class in net.morimekta.providence.descriptor
-
The definition of a thrift exception.
- PExceptionDescriptor(String, String, Supplier<PMessageBuilder<Exception, Field>>, boolean) - Constructor for class net.morimekta.providence.descriptor.PExceptionDescriptor
-
- PExceptionDescriptorProvider<Exception extends PMessage<Exception,Field>,Field extends PField> - Class in net.morimekta.providence.descriptor
-
Provider for exception descriptor.
- PExceptionDescriptorProvider() - Constructor for class net.morimekta.providence.descriptor.PExceptionDescriptorProvider
-
- PField - Interface in net.morimekta.providence.descriptor
-
Field descriptor.
- PList<Item> - Class in net.morimekta.providence.descriptor
-
Descriptor for a list with item type.
- PList(PDescriptorProvider, Supplier<PList.Builder<Item>>) - Constructor for class net.morimekta.providence.descriptor.PList
-
- PList.Builder<I> - Interface in net.morimekta.providence.descriptor
-
Container builder used in serialization.
- PList.DefaultBuilder<I> - Class in net.morimekta.providence.descriptor
-
Default builder returning an ImmutableList.
- PMap<Key,Value> - Class in net.morimekta.providence.descriptor
-
Descriptor for a map with key and item type.
- PMap(PDescriptorProvider, PDescriptorProvider, Supplier<PMap.Builder<Key, Value>>) - Constructor for class net.morimekta.providence.descriptor.PMap
-
- PMap.Builder<K,V> - Interface in net.morimekta.providence.descriptor
-
Container builder to be used in serialization.
- PMap.DefaultBuilder<K,V> - Class in net.morimekta.providence.descriptor
-
Default map builder returning an ImmutableMap.
- PMap.OrderedBuilder<K,V> - Class in net.morimekta.providence.descriptor
-
Ordered map builder returning an ImmutableMap.
- PMap.SortedBuilder<K extends Comparable,V> - Class in net.morimekta.providence.descriptor
-
Sorted map builder returning an ImmutableSortedMap.
- PMessage<Message extends PMessage<Message,Field>,Field extends PField> - Interface in net.morimekta.providence
-
Base class for all messages.
- PMessageBuilder<T extends PMessage<T,F>,F extends PField> - Class in net.morimekta.providence
-
Base class for message builders.
- PMessageBuilder() - Constructor for class net.morimekta.providence.PMessageBuilder
-
- PMessageDescriptor<T extends PMessage<T,F>,F extends PField> - Class in net.morimekta.providence.descriptor
-
Descriptor base class for all messages.
- PMessageDescriptor(String, String, Supplier<PMessageBuilder<T, F>>, boolean) - Constructor for class net.morimekta.providence.descriptor.PMessageDescriptor
-
- PMessageDescriptorProvider<V extends PMessage<V,F>,F extends PField> - Class in net.morimekta.providence.descriptor
-
Provides message descriptors.
- PMessageDescriptorProvider() - Constructor for class net.morimekta.providence.descriptor.PMessageDescriptorProvider
-
- PMessageVariant - Enum in net.morimekta.providence
-
The definition of a thrift structure.
- PPrimitive - Class in net.morimekta.providence.descriptor
-
Descriptors for primitive types.
- PPrimitiveProvider - Class in net.morimekta.providence.descriptor
-
Provider of a primitive descriptor.
- PPrimitiveProvider(PPrimitive) - Constructor for class net.morimekta.providence.descriptor.PPrimitiveProvider
-
- PProcessor - Interface in net.morimekta.providence
-
Service processor is an extension to the service call handler that can
provide it's own service definition.
- PRequirement - Enum in net.morimekta.providence.descriptor
-
Field requirement designation.
- presenceRequired - Variable in enum net.morimekta.providence.descriptor.PRequirement
-
- presentFields() - Method in class net.morimekta.providence.PMessageBuilder
-
Get a Collection of F with fields set on the builder.
- pretty() - Method in class net.morimekta.providence.serializer.JsonSerializer
-
- PrettySerializer - Class in net.morimekta.providence.serializer
-
Pretty printer that can print message content for easily reading and
debugging.
- PrettySerializer() - Constructor for class net.morimekta.providence.serializer.PrettySerializer
-
- PrettySerializer(boolean) - Constructor for class net.morimekta.providence.serializer.PrettySerializer
-
- ProvidenceHelper - Class in net.morimekta.providence.util
-
Convenience methods for handling providence messages.
- provider(PDescriptorProvider) - Static method in class net.morimekta.providence.descriptor.PList
-
- provider(PDescriptorProvider, Supplier<PList.Builder<I>>) - Static method in class net.morimekta.providence.descriptor.PList
-
- provider(PDescriptorProvider, PDescriptorProvider) - Static method in class net.morimekta.providence.descriptor.PMap
-
- provider() - Method in class net.morimekta.providence.descriptor.PPrimitive
-
Get the descriptor provider for the primitive.
- provider(PDescriptorProvider) - Static method in class net.morimekta.providence.descriptor.PSet
-
- provider() - Static method in exception net.morimekta.providence.PApplicationException
-
- provider() - Static method in enum net.morimekta.providence.PApplicationExceptionType
-
- provider() - Static method in enum net.morimekta.providence.PServiceCallType
-
- provider() - Static method in class net.morimekta.providence.util.Any
-
- provider() - Static method in class net.morimekta.providence.util.Empty
-
- PService - Class in net.morimekta.providence.descriptor
-
Descriptor for a complete service.
- PService(String, String, PServiceProvider, Collection<? extends PServiceMethod>) - Constructor for class net.morimekta.providence.descriptor.PService
-
- PService(String, String, PServiceProvider, PServiceMethod[]) - Constructor for class net.morimekta.providence.descriptor.PService
-
- PServiceCall<Message extends PMessage<Message,Field>,Field extends PField> - Class in net.morimekta.providence
-
Enclosed call to a service method.
- PServiceCall(String, PServiceCallType, int, Message) - Constructor for class net.morimekta.providence.PServiceCall
-
- PServiceCallHandler - Interface in net.morimekta.providence
-
Interface for handling a call request from a synchronous client.
- PServiceCallType - Enum in net.morimekta.providence
-
The service call type is a base distinction of what the message means, and
lets the server or client select the proper message to be serialized or
deserialized from the service method descriptor.
- PServiceCallType._Builder - Class in net.morimekta.providence
-
- PServiceMethod - Interface in net.morimekta.providence.descriptor
-
Descriptor for a single service method.
- PServiceProvider - Interface in net.morimekta.providence.descriptor
-
Provide a service descriptor
- PSet<Item> - Class in net.morimekta.providence.descriptor
-
Descriptor for a set with item type.
- PSet(PDescriptorProvider, Supplier<PSet.Builder<Item>>) - Constructor for class net.morimekta.providence.descriptor.PSet
-
- PSet.Builder<I> - Interface in net.morimekta.providence.descriptor
-
Container builder used in serialization.
- PSet.DefaultBuilder<I> - Class in net.morimekta.providence.descriptor
-
Default builder returning an ImmutableSet.
- PSet.OrderedBuilder<I> - Class in net.morimekta.providence.descriptor
-
Default builder returning an ImmutableSet.
- PSet.SortedBuilder<I extends Comparable<I>> - Class in net.morimekta.providence.descriptor
-
Default builder returning an ImmutableSortedSet.
- PStructDescriptor<T extends PMessage<T,F>,F extends PField> - Class in net.morimekta.providence.descriptor
-
The definition of a thrift structure.
- PStructDescriptor(String, String, Supplier<PMessageBuilder<T, F>>, boolean) - Constructor for class net.morimekta.providence.descriptor.PStructDescriptor
-
- PStructDescriptorProvider<V extends PMessage<V,F>,F extends PField> - Class in net.morimekta.providence.descriptor
-
Provider of struct descriptors.
- PStructDescriptorProvider() - Constructor for class net.morimekta.providence.descriptor.PStructDescriptorProvider
-
- PType - Enum in net.morimekta.providence
-
Value type enum.
- PUnion<Union extends PUnion<Union,Field>,Field extends PField> - Interface in net.morimekta.providence
-
Base class for all unions.
- PUnionDescriptor<T extends PMessage<T,F>,F extends PField> - Class in net.morimekta.providence.descriptor
-
The definition of a thrift union.
- PUnionDescriptor(String, String, Supplier<PMessageBuilder<T, F>>, boolean) - Constructor for class net.morimekta.providence.descriptor.PUnionDescriptor
-
- PUnionDescriptorProvider<V extends PMessage<V,F>,F extends PField> - Class in net.morimekta.providence.descriptor
-
Provider of union descriptor.
- PUnionDescriptorProvider() - Constructor for class net.morimekta.providence.descriptor.PUnionDescriptorProvider
-
- put(K, V) - Method in interface net.morimekta.providence.descriptor.PMap.Builder
-
- put(K, V) - Method in class net.morimekta.providence.descriptor.PMap.DefaultBuilder
-
- put(K, V) - Method in class net.morimekta.providence.descriptor.PMap.SortedBuilder
-
- putAll(Map<K, V>) - Method in interface net.morimekta.providence.descriptor.PMap.Builder
-
- putAll(Map<K, V>) - Method in class net.morimekta.providence.descriptor.PMap.DefaultBuilder
-
- putAll(Map<K, V>) - Method in class net.morimekta.providence.descriptor.PMap.SortedBuilder
-
- PValue<T> - Interface in net.morimekta.providence
-
A specific value of a described type.
- PValueProvider<V> - Interface in net.morimekta.providence.descriptor
-
Simple provider of values.
- read(PMessageDescriptor<Message, Field>) - Method in class net.morimekta.providence.mio.FileMessageReader
-
- read(PService) - Method in class net.morimekta.providence.mio.FileMessageReader
-
- read(PMessageDescriptor<Message, Field>) - Method in class net.morimekta.providence.mio.IOMessageReader
-
- read(PService) - Method in class net.morimekta.providence.mio.IOMessageReader
-
- read(PMessageDescriptor<Message, Field>) - Method in interface net.morimekta.providence.mio.MessageReader
-
Read a message from the stream.
- read(PService) - Method in interface net.morimekta.providence.mio.MessageReader
-
Read a service call from the stream.
- readBinary(BigEndianBinaryReader, boolean) - Method in class net.morimekta.providence.PApplicationException._Builder
-
- readBinary(BigEndianBinaryReader, boolean) - Method in interface net.morimekta.providence.serializer.binary.BinaryReader
-
Read the binary content into the current builder.
- readBinary(char) - Method in class net.morimekta.providence.serializer.pretty.Tokenizer
-
Read the 'content' of encoded binary.
- readBinary(BigEndianBinaryReader, boolean) - Method in class net.morimekta.providence.util.Any._Builder
-
- readBinary(BigEndianBinaryReader, boolean) - Method in class net.morimekta.providence.util.Empty._Builder
-
- readFieldValue(BigEndianBinaryReader, BinaryFormatUtils.FieldInfo, PDescriptor, boolean) - Static method in class net.morimekta.providence.serializer.binary.BinaryFormatUtils
-
Read a field value from stream.
- readMessage(BigEndianBinaryReader, PMessageDescriptor<Message, Field>, boolean) - Static method in class net.morimekta.providence.serializer.binary.BinaryFormatUtils
-
Read message from reader.
- register(Serializer, String...) - Method in class net.morimekta.providence.serializer.BaseSerializerProvider
-
Register the serializer with a given set of media types.
- register(PService) - Method in class net.morimekta.providence.util.SimpleTypeRegistry
-
- register(PDeclaredDescriptor<T>) - Method in class net.morimekta.providence.util.SimpleTypeRegistry
-
- register(PService) - Method in interface net.morimekta.providence.util.WritableTypeRegistry
-
Services are not handled as "declared types", so they need to be registered
separately.
- register(PDeclaredDescriptor<T>) - Method in interface net.morimekta.providence.util.WritableTypeRegistry
-
Register a declared type.
- registerConstant(String, String, Object) - Method in class net.morimekta.providence.util.SimpleTypeRegistry
-
- registerConstant(String, String, Object) - Method in interface net.morimekta.providence.util.WritableTypeRegistry
-
Register a constant value.
- registerRecursively(PService) - Method in class net.morimekta.providence.util.BaseTypeRegistry
-
- registerRecursively(PDeclaredDescriptor<T>) - Method in class net.morimekta.providence.util.BaseTypeRegistry
-
- registerRecursively(PService) - Method in interface net.morimekta.providence.util.WritableTypeRegistry
-
Register the service recursively.
- registerRecursively(PDeclaredDescriptor<T>) - Method in interface net.morimekta.providence.util.WritableTypeRegistry
-
Register a declared type recursively.
- registerTypedef(String, String, String) - Method in class net.morimekta.providence.util.BaseTypeRegistry
-
- registerTypedef(String, String, String) - Method in interface net.morimekta.providence.util.WritableTypeRegistry
-
Registers a typedef definition.
- resource(String, Serializer, PMessageDescriptor<Message, Field>) - Static method in class net.morimekta.providence.streams.MessageStreams
-
Read a file containing entries of a given type.
- RollingFileMessageWriter - Class in net.morimekta.providence.mio
-
A simple rolling file message writer in the same manner that logging
often does, e.g. the 'RollingFileAppender' from lockback.
- RollingFileMessageWriter(File, Serializer, String, RollingFileMessageWriter.RollingPolicy) - Constructor for class net.morimekta.providence.mio.RollingFileMessageWriter
-
Create a rolling file message writer without a cleanup policy.
- RollingFileMessageWriter(File, Serializer, String, RollingFileMessageWriter.RollingPolicy, RollingFileMessageWriter.CleanupPolicy) - Constructor for class net.morimekta.providence.mio.RollingFileMessageWriter
-
Create a rolling file message writer.
- RollingFileMessageWriter.CleanupPolicy - Interface in net.morimekta.providence.mio
-
Interface for cleanup policy implementations.
- RollingFileMessageWriter.CurrentFileUpdater - Interface in net.morimekta.providence.mio
-
Interface for calling back to the rolling file message writen when a file roll
is supposed to happen.
- RollingFileMessageWriter.RollingPolicy - Interface in net.morimekta.providence.mio
-
Interface for rolling policy implementations.
- separator() - Method in class net.morimekta.providence.mio.FileMessageWriter
-
- separator() - Method in class net.morimekta.providence.mio.IOMessageWriter
-
- separator() - Method in interface net.morimekta.providence.mio.MessageWriter
-
Write an entry separator to the writer.
- separator() - Method in class net.morimekta.providence.mio.QueuedMessageWriter
-
- separator() - Method in class net.morimekta.providence.mio.RollingFileMessageWriter
-
- serialize(OutputStream, Message) - Method in class net.morimekta.providence.serializer.BinarySerializer
-
- serialize(OutputStream, PServiceCall<Message, Field>) - Method in class net.morimekta.providence.serializer.BinarySerializer
-
- serialize(OutputStream, Message) - Method in class net.morimekta.providence.serializer.FastBinarySerializer
-
- serialize(OutputStream, PServiceCall<Message, Field>) - Method in class net.morimekta.providence.serializer.FastBinarySerializer
-
- serialize(PrintWriter, T) - Method in class net.morimekta.providence.serializer.JsonSerializer
-
- serialize(OutputStream, T) - Method in class net.morimekta.providence.serializer.JsonSerializer
-
- serialize(OutputStream, PServiceCall<T, F>) - Method in class net.morimekta.providence.serializer.JsonSerializer
-
- serialize(OutputStream, Message) - Method in class net.morimekta.providence.serializer.PrettySerializer
-
- serialize(OutputStream, PServiceCall<Message, Field>) - Method in class net.morimekta.providence.serializer.PrettySerializer
-
- serialize(OutputStream, Message) - Method in class net.morimekta.providence.serializer.Serializer
-
Serialize a message.
- serialize(OutputStream, PServiceCall<Message, Field>) - Method in class net.morimekta.providence.serializer.Serializer
-
Serialize a service call.
- Serializer - Class in net.morimekta.providence.serializer
-
Thrift serializers are stateless injectable implementation classes that
transforms messages to binary stream (serializes), or binary stream to
messages (deserializes).
- Serializer() - Constructor for class net.morimekta.providence.serializer.Serializer
-
- SerializerException - Exception in net.morimekta.providence.serializer
-
Exception on serialization or deserialization.
- SerializerException(String, Object...) - Constructor for exception net.morimekta.providence.serializer.SerializerException
-
- SerializerException(Throwable, String, Object...) - Constructor for exception net.morimekta.providence.serializer.SerializerException
-
- SerializerException(SerializerException) - Constructor for exception net.morimekta.providence.serializer.SerializerException
-
- SerializerProvider - Interface in net.morimekta.providence.serializer
-
Provider of serializers based on a string media type.
- ServiceCallInstrumentation - Interface in net.morimekta.providence.util
-
Interface handling the instrumentation of service calls.
- set(int, Object) - Method in class net.morimekta.providence.PApplicationException._Builder
-
- set(int, Object) - Method in class net.morimekta.providence.PMessageBuilder
-
Set the provided field value.
- set(F, Object) - Method in class net.morimekta.providence.PMessageBuilder
-
Set the provided field value.
- SET - Static variable in class net.morimekta.providence.serializer.binary.BinaryType
-
- set(int, Object) - Method in class net.morimekta.providence.util.Any._Builder
-
- set(int, Object) - Method in class net.morimekta.providence.util.Empty._Builder
-
- setById(int) - Method in class net.morimekta.providence.PApplicationExceptionType._Builder
-
- setById(int) - Method in class net.morimekta.providence.PEnumBuilder
-
Set the enum entity from integer value as it was defined in the thrift
IDL.
- setById(int) - Method in class net.morimekta.providence.PServiceCallType._Builder
-
- setByName(String) - Method in class net.morimekta.providence.PApplicationExceptionType._Builder
-
- setByName(String) - Method in class net.morimekta.providence.PEnumBuilder
-
Set the enum entity from name as it was written in the thrift IDL.
- setByName(String) - Method in class net.morimekta.providence.PServiceCallType._Builder
-
- setCallType(PServiceCallType) - Method in exception net.morimekta.providence.serializer.SerializerException
-
- setData(Binary) - Method in class net.morimekta.providence.util.Any._Builder
-
Set the data
field value.
- setExceptionType(PApplicationExceptionType) - Method in exception net.morimekta.providence.serializer.SerializerException
-
- setFile(String) - Method in exception net.morimekta.providence.serializer.pretty.TokenizerException
-
- setId(PApplicationExceptionType) - Method in class net.morimekta.providence.PApplicationException._Builder
-
Set the id
field value.
- setLength(int) - Method in exception net.morimekta.providence.serializer.pretty.TokenizerException
-
- setLine(String) - Method in exception net.morimekta.providence.serializer.pretty.TokenizerException
-
- setLineNo(int) - Method in exception net.morimekta.providence.serializer.pretty.TokenizerException
-
- setLinePos(int) - Method in exception net.morimekta.providence.serializer.pretty.TokenizerException
-
- setMediaType(String) - Method in class net.morimekta.providence.util.Any._Builder
-
Set the media_type
field value.
- setMessage(String) - Method in class net.morimekta.providence.PApplicationException._Builder
-
Set the message
field value.
- setMethodName(String) - Method in exception net.morimekta.providence.serializer.SerializerException
-
- setSequenceNo(int) - Method in exception net.morimekta.providence.serializer.SerializerException
-
- setText(String) - Method in class net.morimekta.providence.util.Any._Builder
-
Set the text
field value.
- setType(String) - Method in class net.morimekta.providence.util.Any._Builder
-
Set the type
field value.
- SimpleTypeRegistry - Class in net.morimekta.providence.util
-
Registry for declared types referenced in a flat space program context.
- SimpleTypeRegistry() - Constructor for class net.morimekta.providence.util.SimpleTypeRegistry
-
- size() - Method in class net.morimekta.providence.mio.QueuedMessageWriter
-
- SizeBasedRollingPolicy - Class in net.morimekta.providence.mio.rolling
-
A rolling policy that moves over to a new file whenever the current
file reaches a threshold size.
- SizeBasedRollingPolicy(File, long, String) - Constructor for class net.morimekta.providence.mio.rolling.SizeBasedRollingPolicy
-
- sleep(long) - Method in class net.morimekta.providence.mio.QueuedMessageWriter
-
- SortedBuilder() - Constructor for class net.morimekta.providence.descriptor.PMap.SortedBuilder
-
- SortedBuilder() - Constructor for class net.morimekta.providence.descriptor.PSet.SortedBuilder
-
- sortedProvider(PDescriptorProvider, PDescriptorProvider) - Static method in class net.morimekta.providence.descriptor.PMap
-
- sortedProvider(PDescriptorProvider) - Static method in class net.morimekta.providence.descriptor.PSet
-
- STOP - Static variable in class net.morimekta.providence.serializer.binary.BinaryType
-
- stream(InputStream, Serializer, PMessageDescriptor<Message, Field>) - Static method in class net.morimekta.providence.streams.MessageStreams
-
Read a input stream containing entries of a given type.
- strEquals(String) - Method in class net.morimekta.providence.serializer.pretty.Token
-
- STRING - Static variable in class net.morimekta.providence.descriptor.PPrimitive
-
- STRING - Static variable in class net.morimekta.providence.serializer.binary.BinaryType
-
- string() - Method in class net.morimekta.providence.serializer.PrettySerializer
-
Make a PrettySerializer that generates content similar to the PMessage toString methods.
- STRUCT - Static variable in class net.morimekta.providence.serializer.binary.BinaryType
-
- tag - Variable in enum net.morimekta.providence.util.ThriftAnnotation
-
- ThriftAnnotation - Enum in net.morimekta.providence.util
-
Enum containing known "general" thrift annotations.
- ThriftContainer - Enum in net.morimekta.providence.util
-
Enum containing the values of the container = "..."
- TimeBasedCleanupPolicy - Class in net.morimekta.providence.mio.rolling
-
A cleanup policy that removes files older than a certain date.
- TimeBasedCleanupPolicy(int, TimeUnit, String) - Constructor for class net.morimekta.providence.mio.rolling.TimeBasedCleanupPolicy
-
Create a time based cleanup policy using the system clock for parsing timestampts.
- TimeBasedCleanupPolicy(int, TimeUnit, String, Clock) - Constructor for class net.morimekta.providence.mio.rolling.TimeBasedCleanupPolicy
-
Create a time based cleanup policy.
- TimeBasedRollingPolicy - Class in net.morimekta.providence.mio.rolling
-
A rolling policy that writes messages into files for certain time
periods based on a date based file pattern and a time resolution.
- TimeBasedRollingPolicy(TimeUnit, String) - Constructor for class net.morimekta.providence.mio.rolling.TimeBasedRollingPolicy
-
- TimeBasedRollingPolicy(int, TimeUnit, String) - Constructor for class net.morimekta.providence.mio.rolling.TimeBasedRollingPolicy
-
- TimeBasedRollingPolicy(TimeUnit, String, Clock) - Constructor for class net.morimekta.providence.mio.rolling.TimeBasedRollingPolicy
-
- TimeBasedRollingPolicy(int, TimeUnit, String, Clock) - Constructor for class net.morimekta.providence.mio.rolling.TimeBasedRollingPolicy
-
- toFile(File, Serializer) - Static method in class net.morimekta.providence.streams.MessageCollectors
-
write stream of messages to file.
- Token - Class in net.morimekta.providence.serializer.pretty
-
Pretty token.
- Token(char[], int, int, int, int) - Constructor for class net.morimekta.providence.serializer.pretty.Token
-
- Tokenizer - Class in net.morimekta.providence.serializer.pretty
-
Simple tokenizer for the pretty serializer that strips away comments based
on the "#" (shell) comment character.
- Tokenizer(InputStream) - Constructor for class net.morimekta.providence.serializer.pretty.Tokenizer
-
Create a JSON tokenizer that reads from the input steam.
- Tokenizer(InputStream, int) - Constructor for class net.morimekta.providence.serializer.pretty.Tokenizer
-
Create a JSON tokenizer that reads from the input steam.
- Tokenizer(Reader, int, boolean) - Constructor for class net.morimekta.providence.serializer.pretty.Tokenizer
-
Create a tokenizer that will read everything from the input stream and
handle it as a single multi-line buffer.
- Tokenizer.TokenValidator - Interface in net.morimekta.providence.serializer.pretty
-
- TokenizerException - Exception in net.morimekta.providence.serializer.pretty
-
Exception when totalizing fails to make token or read the expected content.
- TokenizerException(TokenizerException, File) - Constructor for exception net.morimekta.providence.serializer.pretty.TokenizerException
-
- TokenizerException(String, Object...) - Constructor for exception net.morimekta.providence.serializer.pretty.TokenizerException
-
- TokenizerException(Throwable, String, Object...) - Constructor for exception net.morimekta.providence.serializer.pretty.TokenizerException
-
- TokenizerException(Token, String, Object...) - Constructor for exception net.morimekta.providence.serializer.pretty.TokenizerException
-
- toPath(Path, Serializer) - Static method in class net.morimekta.providence.streams.MessageCollectors
-
Write stream of messages to file described by path.
- toStream(OutputStream, Serializer) - Static method in class net.morimekta.providence.streams.MessageCollectors
-
Serialize stream of messages into stream.
- toStream(OutputStream, Serializer, boolean) - Static method in class net.morimekta.providence.streams.MessageCollectors
-
Serialize stream of messages into stream.
- toString() - Method in class net.morimekta.providence.descriptor.PContainer
-
- toString() - Method in class net.morimekta.providence.descriptor.PDeclaredDescriptor
-
- toString() - Method in class net.morimekta.providence.descriptor.PEnumDescriptor
-
- toString() - Method in class net.morimekta.providence.descriptor.PPrimitive
-
- toString() - Method in enum net.morimekta.providence.PApplicationException._Field
-
- toString() - Method in exception net.morimekta.providence.PApplicationException
-
- toString() - Method in enum net.morimekta.providence.PMessageVariant
-
- toString() - Method in class net.morimekta.providence.PServiceCall
-
- toString() - Method in enum net.morimekta.providence.PType
-
- toString() - Method in class net.morimekta.providence.serializer.binary.BinaryFormatUtils.FieldInfo
-
- toString() - Method in exception net.morimekta.providence.serializer.JsonSerializerException
-
- toString() - Method in class net.morimekta.providence.serializer.pretty.Token
-
- toString() - Method in exception net.morimekta.providence.serializer.pretty.TokenizerException
-
- toString() - Method in class net.morimekta.providence.serializer.Serializer
-
- toString() - Method in exception net.morimekta.providence.serializer.SerializerException
-
- toString() - Method in enum net.morimekta.providence.util.Any._Field
-
- toString() - Method in class net.morimekta.providence.util.Any
-
- toString() - Method in enum net.morimekta.providence.util.Empty._Field
-
- toString() - Method in class net.morimekta.providence.util.Empty
-
- tryAdvance(Consumer<? super Message>) - Method in class net.morimekta.providence.streams.MessageSpliterator
-
- trySplit() - Method in class net.morimekta.providence.streams.MessageSpliterator
-
Normally we cannot split the stream.
- TypeRegistry - Interface in net.morimekta.providence.util
-
Basic type registry used in managing content.
- valid() - Method in class net.morimekta.providence.PApplicationException._Builder
-
- valid() - Method in class net.morimekta.providence.PApplicationExceptionType._Builder
-
- valid() - Method in class net.morimekta.providence.PEnumBuilder
-
Check if the enum builder has been given a valid value.
- valid() - Method in class net.morimekta.providence.PMessageBuilder
-
Checks if the current set data is enough to make a valid struct.
- valid() - Method in class net.morimekta.providence.PServiceCallType._Builder
-
- valid() - Method in class net.morimekta.providence.util.Any._Builder
-
- valid() - Method in class net.morimekta.providence.util.Empty._Builder
-
- validate() - Method in class net.morimekta.providence.PApplicationException._Builder
-
- validate() - Method in class net.morimekta.providence.PMessageBuilder
-
Checks if the current set data is enough to make a valid struct.
- validate(Token) - Method in interface net.morimekta.providence.serializer.pretty.Tokenizer.TokenValidator
-
- validate() - Method in class net.morimekta.providence.util.Any._Builder
-
- validate() - Method in class net.morimekta.providence.util.Empty._Builder
-
- valueForId(int) - Method in class net.morimekta.providence.descriptor.PEnumDescriptor
-
- valueForId(int) - Static method in enum net.morimekta.providence.PApplicationExceptionType
-
Get a value based in its ID
- valueForId(int) - Static method in enum net.morimekta.providence.PServiceCallType
-
Get a value based in its ID
- valueForName(String) - Method in class net.morimekta.providence.descriptor.PEnumDescriptor
-
- valueForName(String) - Static method in enum net.morimekta.providence.PApplicationExceptionType
-
Get a value based in its name
- valueForName(String) - Static method in enum net.morimekta.providence.PServiceCallType
-
Get a value based in its name
- valueOf(String) - Static method in enum net.morimekta.providence.descriptor.PRequirement
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.morimekta.providence.PApplicationException._Field
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.morimekta.providence.PApplicationExceptionType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.morimekta.providence.PMessageVariant
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.morimekta.providence.PServiceCallType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.morimekta.providence.PType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.morimekta.providence.util.Any._Field
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.morimekta.providence.util.Empty._Field
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.morimekta.providence.util.ThriftAnnotation
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.morimekta.providence.util.ThriftContainer
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum net.morimekta.providence.descriptor.PRequirement
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.morimekta.providence.PApplicationException._Field
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.morimekta.providence.PApplicationExceptionType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.morimekta.providence.PMessageVariant
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.morimekta.providence.PServiceCallType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.morimekta.providence.PType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.morimekta.providence.util.Any._Field
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.morimekta.providence.util.Empty._Field
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.morimekta.providence.util.ThriftAnnotation
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.morimekta.providence.util.ThriftContainer
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- VOID - Static variable in class net.morimekta.providence.descriptor.PPrimitive
-
- VOID - Static variable in class net.morimekta.providence.serializer.binary.BinaryType
-