-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Vamsi Manohar <[email protected]>
- Loading branch information
Showing
21 changed files
with
975 additions
and
323 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
spark/src/main/java/org/opensearch/sql/spark/execution/statestore/CopyBuilder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package org.opensearch.sql.spark.execution.statestore; | ||
|
||
public interface CopyBuilder<T> { | ||
T of(T copy, long seqNo, long primaryTerm); | ||
} |
7 changes: 7 additions & 0 deletions
7
spark/src/main/java/org/opensearch/sql/spark/execution/statestore/FromXContent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package org.opensearch.sql.spark.execution.statestore; | ||
|
||
import org.opensearch.core.xcontent.XContentParser; | ||
|
||
public interface FromXContent<T extends StateModel> { | ||
T fromXContent(XContentParser parser, long seqNo, long primaryTerm); | ||
} |
5 changes: 5 additions & 0 deletions
5
spark/src/main/java/org/opensearch/sql/spark/execution/statestore/StateCopyBuilder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package org.opensearch.sql.spark.execution.statestore; | ||
|
||
public interface StateCopyBuilder<T extends StateModel, S> { | ||
T of(T copy, S state, long seqNo, long primaryTerm); | ||
} |
Oops, something went wrong.