Package io.activej.aggregation
Class PrimaryKeyCodec
java.lang.Object
io.activej.aggregation.PrimaryKeyCodec
- All Implemented Interfaces:
com.dslplatform.json.JsonReader.ReadObject<PrimaryKey>,com.dslplatform.json.JsonWriter.WriteObject<PrimaryKey>,JsonCodec<PrimaryKey>,io.activej.common.initializer.WithInitializer<PrimaryKeyCodec>
public class PrimaryKeyCodec
extends Object
implements JsonCodec<PrimaryKey>, io.activej.common.initializer.WithInitializer<PrimaryKeyCodec>
-
Method Summary
Modifier and TypeMethodDescriptionstatic PrimaryKeyCodeccreate(AggregationStructure structure) read(com.dslplatform.json.JsonReader reader) voidwrite(com.dslplatform.json.JsonWriter writer, PrimaryKey value) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.activej.common.initializer.WithInitializer
withInitializer
-
Method Details
-
create
-
read
- Specified by:
readin interfacecom.dslplatform.json.JsonReader.ReadObject<PrimaryKey>- Throws:
IOException
-
write
- Specified by:
writein interfacecom.dslplatform.json.JsonWriter.WriteObject<PrimaryKey>
-