Skip to content

Commit

Permalink
Javadocs
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 59d9765 commit 9fde4b0
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

/**
* Serialization/Deserialization implementations for SearchHit.
* @opensearch.internal
*/
public class FetchSearchResultsSerDe implements SerDe.StreamSerializer<FetchSearchResult>, SerDe.StreamDeserializer<FetchSearchResult> {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

/**
* Serialization/Deserialization implementations for SearchHits.
* @opensearch.internal
*/
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 @@ -15,9 +15,14 @@

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

/**
* Serialization/Deserialization exception.
* @opensearch.internal
*/
public static class SerializationException extends RuntimeException {
public SerializationException(String message) {
super(message);
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/*
* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*/

/** Serialization/Deserialization implementations for the fetch package. */
package org.opensearch.search.fetch.serde;

0 comments on commit 9fde4b0

Please sign in to comment.