public final class CoderProviders
extends java.lang.Object
CoderProviders.| Modifier and Type | Method and Description | 
|---|---|
| static CoderProvider | forCoder(TypeDescriptor<?> type,
        Coder<?> coder)Creates a  CoderProviderthat always returns the given coder for the specified type. | 
| static CoderProvider | fromStaticMethods(java.lang.Class<?> rawType,
                 java.lang.Class<?> coderClazz)Creates a  CoderProviderfrom a class'sstatic <T> Coder<T> of(TypeDescriptor<T>,
 List<Coder<?>>) method. | 
public static CoderProvider fromStaticMethods(java.lang.Class<?> rawType, java.lang.Class<?> coderClazz)
CoderProvider from a class's static <T> Coder<T> of(TypeDescriptor<T>,
 List<Coder<?>>) method.public static CoderProvider forCoder(TypeDescriptor<?> type, Coder<?> coder)
CoderProvider that always returns the given coder for the specified type.