I
- this interface's complementary InputShimO
- this interface's complementary OutputShimpublic interface KryoShim<I extends InputShim,O extends OutputShim>
Kryo
-like abstraction. See that class for method documentation.Modifier and Type | Method and Description |
---|---|
Object |
readClassAndObject(I input) |
<T> T |
readObject(I input,
Class<T> type) |
<T> T |
readObjectOrNull(I input,
Class<T> type) |
void |
writeClassAndObject(O output,
Object object) |
void |
writeObject(O output,
Object object) |
void |
writeObjectOrNull(O output,
Object object,
Class type) |
Copyright © 2013–2020 Apache Software Foundation. All rights reserved.