public class ShadedKryoAdapter extends Object implements KryoShim<ShadedInputAdapter,ShadedOutputAdapter>
| Constructor and Description |
|---|
ShadedKryoAdapter(Kryo shadedKryo) |
| Modifier and Type | Method and Description |
|---|---|
Object |
readClassAndObject(ShadedInputAdapter input) |
<T> T |
readObject(ShadedInputAdapter input,
Class<T> type) |
<T> T |
readObjectOrNull(ShadedInputAdapter input,
Class<T> type) |
void |
writeClassAndObject(ShadedOutputAdapter output,
Object object) |
void |
writeObject(ShadedOutputAdapter output,
Object object) |
void |
writeObjectOrNull(ShadedOutputAdapter output,
Object object,
Class type) |
public <T> T readObject(ShadedInputAdapter input, Class<T> type)
readObject in interface KryoShim<ShadedInputAdapter,ShadedOutputAdapter>public Object readClassAndObject(ShadedInputAdapter input)
readClassAndObject in interface KryoShim<ShadedInputAdapter,ShadedOutputAdapter>public void writeObject(ShadedOutputAdapter output, Object object)
writeObject in interface KryoShim<ShadedInputAdapter,ShadedOutputAdapter>public void writeClassAndObject(ShadedOutputAdapter output, Object object)
writeClassAndObject in interface KryoShim<ShadedInputAdapter,ShadedOutputAdapter>public <T> T readObjectOrNull(ShadedInputAdapter input, Class<T> type)
readObjectOrNull in interface KryoShim<ShadedInputAdapter,ShadedOutputAdapter>public void writeObjectOrNull(ShadedOutputAdapter output, Object object, Class type)
writeObjectOrNull in interface KryoShim<ShadedInputAdapter,ShadedOutputAdapter>Copyright © 2013–2018 Apache Software Foundation. All rights reserved.