Class ThriftCodecBinder

java.lang.Object
io.airlift.drift.codec.guice.ThriftCodecBinder

public class ThriftCodecBinder extends Object
  • Method Details

    • thriftCodecBinder

      public static ThriftCodecBinder thriftCodecBinder(com.google.inject.Binder binder)
    • bindCustomThriftCodec

      public void bindCustomThriftCodec(ThriftCodec<?> thriftCodec)
    • bindCustomThriftCodec

      public void bindCustomThriftCodec(Class<? extends ThriftCodec<?>> thriftCodecType)
    • bindCustomThriftCodec

      public void bindCustomThriftCodec(com.google.inject.TypeLiteral<? extends ThriftCodec<?>> thriftCodecType)
    • bindCustomThriftCodec

      public void bindCustomThriftCodec(com.google.inject.Key<? extends ThriftCodec<?>> thriftCodecKey)
    • bindThriftCodec

      public void bindThriftCodec(Class<?> type)
    • bindThriftCodec

      public void bindThriftCodec(com.google.inject.TypeLiteral<?> type)
    • bindThriftCodec

      public void bindThriftCodec(com.google.inject.Key<?> key)
    • bindListThriftCodec

      public void bindListThriftCodec(Class<?> type)
    • bindMapThriftCodec

      public void bindMapThriftCodec(Class<?> keyType, Class<?> valueType)