File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed
server/src/main/java/org/opensearch Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 3333package org .opensearch .common .blobstore ;
3434
3535import org .opensearch .common .Nullable ;
36+ import org .opensearch .common .annotation .PublicApi ;
3637
3738import java .util .ArrayList ;
3839import java .util .Collections ;
4243/**
4344 * The list of paths where a blob can reside. The contents of the paths are dependent upon the implementation of {@link BlobContainer}.
4445 *
45- * @opensearch.internal
46+ * @opensearch.api
4647 */
48+ @ PublicApi (since = "1.0.0" )
4749public class BlobPath implements Iterable <String > {
4850
4951 private static final String SEPARATOR = "/" ;
Original file line number Diff line number Diff line change 88
99package org .opensearch .index .remote ;
1010
11+ import org .opensearch .common .annotation .PublicApi ;
12+
1113import java .util .Set ;
1214
1315import static org .opensearch .index .remote .RemoteStoreDataEnums .DataType .DATA ;
1618/**
1719 * This class contains the different enums related to remote store data categories and types.
1820 *
19- * @opensearch.internal
21+ * @opensearch.api
2022 */
2123public class RemoteStoreDataEnums {
2224
2325 /**
2426 * Categories of the data in Remote store.
2527 */
28+ @ PublicApi (since = "2.14.0" )
2629 public enum DataCategory {
2730 SEGMENTS ("segments" , Set .of (DataType .values ())),
2831 TRANSLOG ("translog" , Set .of (DATA , METADATA ));
@@ -47,6 +50,7 @@ public String getName() {
4750 /**
4851 * Types of data in remote store.
4952 */
53+ @ PublicApi (since = "2.14.0" )
5054 public enum DataType {
5155 DATA ("data" ),
5256 METADATA ("metadata" ),
Original file line number Diff line number Diff line change 88
99package org .opensearch .index .remote ;
1010
11+ import org .opensearch .common .annotation .PublicApi ;
1112import org .opensearch .common .blobstore .BlobPath ;
1213import org .opensearch .index .remote .RemoteStoreDataEnums .DataCategory ;
1314import org .opensearch .index .remote .RemoteStoreDataEnums .DataType ;
2021 *
2122 * @opensearch.internal
2223 */
24+ @ PublicApi (since = "2.14.0" )
2325public enum RemoteStorePathType {
2426
2527 FIXED {
You can’t perform that action at this time.
0 commit comments