public class FastPathDataType extends java.lang.Object implements AMQPType<Data>, FastPathDescribedTypeConstructor<Data>
Constructor and Description |
---|
FastPathDataType(EncoderImpl encoder) |
Modifier and Type | Method and Description |
---|---|
boolean |
encodesJavaPrimitive() |
java.util.Collection<? extends TypeEncoding<Data>> |
getAllEncodings() |
TypeEncoding<Data> |
getCanonicalEncoding() |
DecoderImpl |
getDecoder() |
EncoderImpl |
getEncoder() |
TypeEncoding<Data> |
getEncoding(Data val) |
java.lang.Class<Data> |
getTypeClass() |
Data |
readValue() |
static void |
register(Decoder decoder,
EncoderImpl encoder) |
void |
skipValue() |
void |
write(Data data) |
public FastPathDataType(EncoderImpl encoder)
public EncoderImpl getEncoder()
public DecoderImpl getDecoder()
public boolean encodesJavaPrimitive()
encodesJavaPrimitive
in interface TypeConstructor<Data>
public java.lang.Class<Data> getTypeClass()
getTypeClass
in interface AMQPType<Data>
getTypeClass
in interface TypeConstructor<Data>
public TypeEncoding<Data> getEncoding(Data val)
getEncoding
in interface AMQPType<Data>
public TypeEncoding<Data> getCanonicalEncoding()
getCanonicalEncoding
in interface AMQPType<Data>
public java.util.Collection<? extends TypeEncoding<Data>> getAllEncodings()
getAllEncodings
in interface AMQPType<Data>
public Data readValue()
readValue
in interface TypeConstructor<Data>
public void skipValue()
skipValue
in interface TypeConstructor<Data>
public static void register(Decoder decoder, EncoderImpl encoder)