You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/client/operations/models/CreateTableVersionRequest.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,7 @@ Request to create a new table version entry. This supports `put_if_not_exists` s
16
16
|**manifestSize**|**Long**| Size of the manifest file in bytes |[optional]|
17
17
|**eTag**|**String**| Optional ETag for the manifest file |[optional]|
18
18
|**metadata**|**Map<String, String>**| Optional metadata for the version |[optional]|
19
+
|**namingScheme**|**String**| The naming scheme used for manifest files in the `_versions/` directory. Known values: - `V1`: `_versions/{version}.manifest` - Simple version-based naming - `V2`: `_versions/{inverted_version}.manifest` - Zero-padded, reversed version number (uses `u64::MAX - version`) for O(1) lookup of latest version on object stores V2 is preferred for new tables as it enables efficient latest-version discovery without needing to list all versions. |[optional]|
Copy file name to clipboardExpand all lines: java/lance-namespace-apache-client/docs/CreateTableVersionRequest.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,7 @@ Request to create a new table version entry. This supports `put_if_not_exists` s
16
16
|**manifestSize**|**Long**| Size of the manifest file in bytes |[optional]|
17
17
|**eTag**|**String**| Optional ETag for the manifest file |[optional]|
18
18
|**metadata**|**Map<String, String>**| Optional metadata for the version |[optional]|
19
+
|**namingScheme**|**String**| The naming scheme used for manifest files in the `_versions/` directory. Known values: - `V1`: `_versions/{version}.manifest` - Simple version-based naming - `V2`: `_versions/{inverted_version}.manifest` - Zero-padded, reversed version number (uses `u64::MAX - version`) for O(1) lookup of latest version on object stores V2 is preferred for new tables as it enables efficient latest-version discovery without needing to list all versions. |[optional]|
Copy file name to clipboardExpand all lines: java/lance-namespace-springboot-server/src/main/java/org/lance/namespace/server/springboot/model/CreateTableVersionRequest.java
+36-2Lines changed: 36 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -55,6 +55,8 @@ public class CreateTableVersionRequest {
* `_versions/{inverted_version}.manifest` - Zero-padded, reversed version number (uses `u64::MAX
293
+
* - version`) for O(1) lookup of latest version on object stores V2 is preferred for new tables
294
+
* as it enables efficient latest-version discovery without needing to list all versions.
295
+
*
296
+
* @return namingScheme
297
+
*/
298
+
@Schema(
299
+
name = "naming_scheme",
300
+
example = "V2",
301
+
description =
302
+
"The naming scheme used for manifest files in the `_versions/` directory. Known values: - `V1`: `_versions/{version}.manifest` - Simple version-based naming - `V2`: `_versions/{inverted_version}.manifest` - Zero-padded, reversed version number (uses `u64::MAX - version`) for O(1) lookup of latest version on object stores V2 is preferred for new tables as it enables efficient latest-version discovery without needing to list all versions. ",
303
+
requiredMode = Schema.RequiredMode.NOT_REQUIRED)
304
+
@JsonProperty("naming_scheme")
305
+
publicStringgetNamingScheme() {
306
+
returnnamingScheme;
307
+
}
308
+
309
+
publicvoidsetNamingScheme(StringnamingScheme) {
310
+
this.namingScheme = namingScheme;
311
+
}
312
+
282
313
@Override
283
314
publicbooleanequals(Objecto) {
284
315
if (this == o) {
@@ -295,12 +326,14 @@ public boolean equals(Object o) {
Copy file name to clipboardExpand all lines: python/lance_namespace_urllib3_client/docs/CreateTableVersionRequest.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,7 @@ Name | Type | Description | Notes
14
14
**manifest_size** | **int** | Size of the manifest file in bytes | [optional]
15
15
**e_tag** | **str** | Optional ETag for the manifest file | [optional]
16
16
**metadata** | **Dict[str, str]** | Optional metadata for the version | [optional]
17
+
**naming_scheme** | **str** | The naming scheme used for manifest files in the `_versions/` directory. Known values: - `V1`: `_versions/{version}.manifest` - Simple version-based naming - `V2`: `_versions/{inverted_version}.manifest` - Zero-padded, reversed version number (uses `u64::MAX - version`) for O(1) lookup of latest version on object stores V2 is preferred for new tables as it enables efficient latest-version discovery without needing to list all versions. | [optional]
Copy file name to clipboardExpand all lines: python/lance_namespace_urllib3_client/lance_namespace_urllib3_client/models/create_table_version_request.py
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,8 @@ class CreateTableVersionRequest(BaseModel):
36
36
manifest_size: Optional[Annotated[int, Field(strict=True, ge=0)]] =Field(default=None, description="Size of the manifest file in bytes")
37
37
e_tag: Optional[StrictStr] =Field(default=None, description="Optional ETag for the manifest file")
38
38
metadata: Optional[Dict[str, StrictStr]] =Field(default=None, description="Optional metadata for the version")
naming_scheme: Optional[StrictStr] =Field(default=None, description="The naming scheme used for manifest files in the `_versions/` directory. Known values: - `V1`: `_versions/{version}.manifest` - Simple version-based naming - `V2`: `_versions/{inverted_version}.manifest` - Zero-padded, reversed version number (uses `u64::MAX - version`) for O(1) lookup of latest version on object stores V2 is preferred for new tables as it enables efficient latest-version discovery without needing to list all versions. ")
Copy file name to clipboardExpand all lines: rust/lance-namespace-reqwest-client/docs/CreateTableVersionRequest.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
12
12
**manifest_size** | Option<**i64**> | Size of the manifest file in bytes | [optional]
13
13
**e_tag** | Option<**String**> | Optional ETag for the manifest file | [optional]
14
14
**metadata** | Option<**std::collections::HashMap<String, String>**> | Optional metadata for the version | [optional]
15
+
**naming_scheme** | Option<**String**> | The naming scheme used for manifest files in the `_versions/` directory. Known values: - `V1`: `_versions/{version}.manifest` - Simple version-based naming - `V2`: `_versions/{inverted_version}.manifest` - Zero-padded, reversed version number (uses `u64::MAX - version`) for O(1) lookup of latest version on object stores V2 is preferred for new tables as it enables efficient latest-version discovery without needing to list all versions. | [optional]
15
16
16
17
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
0 commit comments