Class RoutingTypeJsonAdapter
java.lang.Object
com.google.gson.TypeAdapter<RoutingType>
org.hibernate.search.backend.elasticsearch.lowlevel.index.mapping.impl.RoutingTypeJsonAdapter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionread(com.google.gson.stream.JsonReader in) voidwrite(com.google.gson.stream.JsonWriter out, RoutingType value) Methods inherited from class com.google.gson.TypeAdapter
fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree
-
Constructor Details
-
RoutingTypeJsonAdapter
public RoutingTypeJsonAdapter()
-
-
Method Details
-
write
- Specified by:
writein classcom.google.gson.TypeAdapter<RoutingType>- Throws:
IOException
-
read
- Specified by:
readin classcom.google.gson.TypeAdapter<RoutingType>- Throws:
IOException
-