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 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)
-
-
-
Method Detail
-
readObject
public <T> T readObject(ShadedInputAdapter input, Class<T> type)
- Specified by:
readObject
in interfaceKryoShim<ShadedInputAdapter,ShadedOutputAdapter>
-
readClassAndObject
public Object readClassAndObject(ShadedInputAdapter input)
- Specified by:
readClassAndObject
in interfaceKryoShim<ShadedInputAdapter,ShadedOutputAdapter>
-
writeObject
public void writeObject(ShadedOutputAdapter output, Object object)
- Specified by:
writeObject
in interfaceKryoShim<ShadedInputAdapter,ShadedOutputAdapter>
-
writeClassAndObject
public void writeClassAndObject(ShadedOutputAdapter output, Object object)
- Specified by:
writeClassAndObject
in interfaceKryoShim<ShadedInputAdapter,ShadedOutputAdapter>
-
readObjectOrNull
public <T> T readObjectOrNull(ShadedInputAdapter input, Class<T> type)
- Specified by:
readObjectOrNull
in interfaceKryoShim<ShadedInputAdapter,ShadedOutputAdapter>
-
writeObjectOrNull
public void writeObjectOrNull(ShadedOutputAdapter output, Object object, Class type)
- Specified by:
writeObjectOrNull
in interfaceKryoShim<ShadedInputAdapter,ShadedOutputAdapter>
-
-