Commit f6d6fd3 1 parent 3907ec9 commit f6d6fd3 Copy full SHA for f6d6fd3
File tree 3 files changed +10
-2
lines changed
server/src/main/java/org/opensearch
3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 33
33
package org .opensearch .common .blobstore ;
34
34
35
35
import org .opensearch .common .Nullable ;
36
+ import org .opensearch .common .annotation .PublicApi ;
36
37
37
38
import java .util .ArrayList ;
38
39
import java .util .Collections ;
42
43
/**
43
44
* The list of paths where a blob can reside. The contents of the paths are dependent upon the implementation of {@link BlobContainer}.
44
45
*
45
- * @opensearch.internal
46
+ * @opensearch.api
46
47
*/
48
+ @ PublicApi (since = "1.0.0" )
47
49
public class BlobPath implements Iterable <String > {
48
50
49
51
private static final String SEPARATOR = "/" ;
Original file line number Diff line number Diff line change 8
8
9
9
package org .opensearch .index .remote ;
10
10
11
+ import org .opensearch .common .annotation .PublicApi ;
12
+
11
13
import java .util .Set ;
12
14
13
15
import static org .opensearch .index .remote .RemoteStoreDataEnums .DataType .DATA ;
16
18
/**
17
19
* This class contains the different enums related to remote store data categories and types.
18
20
*
19
- * @opensearch.internal
21
+ * @opensearch.api
20
22
*/
21
23
public class RemoteStoreDataEnums {
22
24
23
25
/**
24
26
* Categories of the data in Remote store.
25
27
*/
28
+ @ PublicApi (since = "2.14.0" )
26
29
public enum DataCategory {
27
30
SEGMENTS ("segments" , Set .of (DataType .values ())),
28
31
TRANSLOG ("translog" , Set .of (DATA , METADATA ));
@@ -47,6 +50,7 @@ public String getName() {
47
50
/**
48
51
* Types of data in remote store.
49
52
*/
53
+ @ PublicApi (since = "2.14.0" )
50
54
public enum DataType {
51
55
DATA ("data" ),
52
56
METADATA ("metadata" ),
Original file line number Diff line number Diff line change 8
8
9
9
package org .opensearch .index .remote ;
10
10
11
+ import org .opensearch .common .annotation .PublicApi ;
11
12
import org .opensearch .common .blobstore .BlobPath ;
12
13
import org .opensearch .index .remote .RemoteStoreDataEnums .DataCategory ;
13
14
import org .opensearch .index .remote .RemoteStoreDataEnums .DataType ;
20
21
*
21
22
* @opensearch.internal
22
23
*/
24
+ @ PublicApi (since = "2.14.0" )
23
25
public enum RemoteStorePathType {
24
26
25
27
FIXED {
You can’t perform that action at this time.
0 commit comments