Skip to content

Commit

Permalink
Javadoc
Browse files Browse the repository at this point in the history
Signed-off-by: Finn Carroll <[email protected]>
  • Loading branch information
finnegancarroll committed Aug 23, 2024
1 parent 52d7c15 commit 1103fbb
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@

import java.io.IOException;

/**
* Serialization/Deserialization implementations for SearchHit.
*/
public class FetchSearchResultsSerDe implements SerDe.StreamSerializer<FetchSearchResult>, SerDe.StreamDeserializer<FetchSearchResult> {
/**
* TODO NOTE: FetchSearchResult inheritance structure is as follows.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
import static org.opensearch.common.lucene.Lucene.writeExplanation;
import static org.opensearch.search.SearchHit.SINGLE_MAPPING_TYPE;

/**
* Serialization/Deserialization implementations for SearchHit.
*/
public class SearchHitSerDe implements SerDe.StreamSerializer<SearchHit>, SerDe.StreamDeserializer<SearchHit> {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@

import static org.opensearch.search.SearchHits.EMPTY;

/**
* Serialization/Deserialization implementations for SearchHits.
*/
public class SearchHitsSerDe implements SerDe.StreamSerializer<SearchHits>, SerDe.StreamDeserializer<SearchHits> {
SearchHitSerDe searchHitSerDe;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
import org.opensearch.core.xcontent.XContentBuilder;
import org.opensearch.core.xcontent.XContentParser;

/**
* Base class for supported serialization/deserialization implementations.
*/
public class SerDe {

public static class SerializationException extends RuntimeException {
Expand Down

0 comments on commit 1103fbb

Please sign in to comment.