- 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(AvroType<T> type, InputBuffer input)
-
decodePrimitive
public <T> Decoder<T> decodePrimitive(AvroPrimitiveType<T> type, InputBuffer input)
-
decodeComplex
public <T> Decoder<T> decodeComplex(AvroComplexType<T> type, InputBuffer input)
-
decodeNull
public <T> Decoder<T> decodeNull(AvroNullType<T> type, InputBuffer input)
-
decodeBoolean
public <T> Decoder<T> decodeBoolean(AvroBooleanType<T> type, InputBuffer input)
-
decodeVarint
public <T> Decoder<T> decodeVarint(AvroVarintType<T> type, InputBuffer input)
-
decodeFloat
public <T> Decoder<T> decodeFloat(AvroFloatType<T> type, InputBuffer input)
-
decodeDouble
public <T> Decoder<T> decodeDouble(AvroDoubleType<T> type, InputBuffer input)
-
decodeData
public <T> Decoder<T> decodeData(AvroDataType<T> type, InputBuffer input)
-
decodeString
public <T> Decoder<T> decodeString(AvroStringType<T> type, InputBuffer input)
-
decodeRecord
public <T,R> Decoder<T> decodeRecord(AvroRecordType<T,R> type, InputBuffer input)
-
decodeEnum
public <T> Decoder<T> decodeEnum(AvroEnumType<T> type, InputBuffer input)
-
decodeArray
public <I,T> Decoder<T> decodeArray(AvroArrayType<I,T> type, InputBuffer input)
-
decodeMap
public <K,V,T> Decoder<T> decodeMap(AvroMapType<K,V,T> type, InputBuffer input)
-
decodeUnion
public <T> Decoder<T> decodeUnion(AvroUnionType<T> type, InputBuffer input)
-
decodeFixed
public <T> Decoder<T> decodeFixed(AvroFixedType<T> type, InputBuffer input)
-
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)
-
-