Class ShadedKryoAdapter
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.structure.io.gryo.kryoshim.shaded.ShadedKryoAdapter
-
- All Implemented Interfaces:
KryoShim<ShadedInputAdapter,ShadedOutputAdapter>
public class ShadedKryoAdapter extends Object implements KryoShim<ShadedInputAdapter,ShadedOutputAdapter>
-
-
Constructor Summary
Constructors Constructor Description ShadedKryoAdapter(org.apache.tinkerpop.shaded.kryo.Kryo shadedKryo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectreadClassAndObject(ShadedInputAdapter input)<T> TreadObject(ShadedInputAdapter input, Class<T> type)<T> TreadObjectOrNull(ShadedInputAdapter input, Class<T> type)voidwriteClassAndObject(ShadedOutputAdapter output, Object object)voidwriteObject(ShadedOutputAdapter output, Object object)voidwriteObjectOrNull(ShadedOutputAdapter output, Object object, Class type)
-
-
-
Method Detail
-
readObject
public <T> T readObject(ShadedInputAdapter input, Class<T> type)
- Specified by:
readObjectin interfaceKryoShim<ShadedInputAdapter,ShadedOutputAdapter>
-
readClassAndObject
public Object readClassAndObject(ShadedInputAdapter input)
- Specified by:
readClassAndObjectin interfaceKryoShim<ShadedInputAdapter,ShadedOutputAdapter>
-
writeObject
public void writeObject(ShadedOutputAdapter output, Object object)
- Specified by:
writeObjectin interfaceKryoShim<ShadedInputAdapter,ShadedOutputAdapter>
-
writeClassAndObject
public void writeClassAndObject(ShadedOutputAdapter output, Object object)
- Specified by:
writeClassAndObjectin interfaceKryoShim<ShadedInputAdapter,ShadedOutputAdapter>
-
readObjectOrNull
public <T> T readObjectOrNull(ShadedInputAdapter input, Class<T> type)
- Specified by:
readObjectOrNullin interfaceKryoShim<ShadedInputAdapter,ShadedOutputAdapter>
-
writeObjectOrNull
public void writeObjectOrNull(ShadedOutputAdapter output, Object object, Class type)
- Specified by:
writeObjectOrNullin interfaceKryoShim<ShadedInputAdapter,ShadedOutputAdapter>
-
-