- java.lang.Object
-
- swim.avro.decoder.AvroDecoder
-
public class AvroDecoder extends Object
-
-
Constructor Summary
Constructors Constructor Description AvroDecoder()
-
Method Summary
-
-
-
Method Detail
-
decodeType
public <T> Decoder<T> decodeType(InputBuffer input, AvroType<T> type)
-
decodePrimitive
public <T> Decoder<T> decodePrimitive(InputBuffer input, AvroPrimitiveType<T> type)
-
decodeComplex
public <T> Decoder<T> decodeComplex(InputBuffer input, AvroComplexType<T> type)
-
decodeNull
public <T> Decoder<T> decodeNull(InputBuffer input, AvroNullType<T> type)
-
decodeBoolean
public <T> Decoder<T> decodeBoolean(InputBuffer input, AvroBooleanType<T> type)
-
decodeVarint
public <T> Decoder<T> decodeVarint(InputBuffer input, AvroVarintType<T> type)
-
decodeFloat
public <T> Decoder<T> decodeFloat(InputBuffer input, AvroFloatType<T> type)
-
decodeDouble
public <T> Decoder<T> decodeDouble(InputBuffer input, AvroDoubleType<T> type)
-
decodeData
public <T> Decoder<T> decodeData(InputBuffer input, AvroDataType<T> type)
-
decodeString
public <T> Decoder<T> decodeString(InputBuffer input, AvroStringType<T> type)
-
decodeRecord
public <T,R> Decoder<T> decodeRecord(InputBuffer input, AvroRecordType<T,R> type)
-
decodeEnum
public <T> Decoder<T> decodeEnum(InputBuffer input, AvroEnumType<T> type)
-
decodeArray
public <I,T> Decoder<T> decodeArray(InputBuffer input, AvroArrayType<I,T> type)
-
decodeMap
public <K,V,T> Decoder<T> decodeMap(InputBuffer input, AvroMapType<K,V,T> type)
-
decodeUnion
public <T> Decoder<T> decodeUnion(InputBuffer input, AvroUnionType<T> type)
-
decodeFixed
public <T> Decoder<T> decodeFixed(InputBuffer input, AvroFixedType<T> type)
-
primitiveDecoder
public <T> Decoder<T> primitiveDecoder(AvroPrimitiveType<T> type)
-
complexDecoder
public <T> Decoder<T> complexDecoder(AvroComplexType<T> type)
-
nullDecoder
public <T> Decoder<T> nullDecoder(AvroNullType<T> type)
-
booleanDecoder
public <T> Decoder<T> booleanDecoder(AvroBooleanType<T> type)
-
varintDecoder
public <T> Decoder<T> varintDecoder(AvroVarintType<T> type)
-
floatDecoder
public <T> Decoder<T> floatDecoder(AvroFloatType<T> type)
-
doubleDecoder
public <T> Decoder<T> doubleDecoder(AvroDoubleType<T> type)
-
dataDecoder
public <T> Decoder<T> dataDecoder(AvroDataType<T> type)
-
stringDecoder
public <T> Decoder<T> stringDecoder(AvroStringType<T> type)
-
recordDecoder
public <T,R> Decoder<T> recordDecoder(AvroRecordType<T,R> type)
-
enumDecoder
public <T> Decoder<T> enumDecoder(AvroEnumType<T> type)
-
arrayDecoder
public <I,T> Decoder<T> arrayDecoder(AvroArrayType<I,T> type)
-
mapDecoder
public <K,V,T> Decoder<T> mapDecoder(AvroMapType<K,V,T> type)
-
unionDecoder
public <T> Decoder<T> unionDecoder(AvroUnionType<T> type)
-
fixedDecoder
public <T> Decoder<T> fixedDecoder(AvroFixedType<T> type)
-
-