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
*TableApi* | [**deregisterTable**](docs/TableApi.md#deregisterTable) | **POST** /v1/table/{id}/deregister | Deregister a table from its namespace
122
122
*TableApi* | [**describeTable**](docs/TableApi.md#describeTable) | **POST** /v1/table/{id}/describe | Describe a table from the namespace
123
123
*TableApi* | [**dropTable**](docs/TableApi.md#dropTable) | **POST** /v1/table/{id}/drop | Drop a table from its namespace
124
+
*TableApi* | [**listTables**](docs/TableApi.md#listTables) | **POST** /v1/table/{id}/list | List tables
124
125
*TableApi* | [**registerTable**](docs/TableApi.md#registerTable) | **POST** /v1/table/{id}/register | Register a table to a namespace
125
126
*TableApi* | [**tableExists**](docs/TableApi.md#tableExists) | **POST** /v1/table/{id}/exists | Check if a table exists
126
127
*TransactionApi* | [**alterTransaction**](docs/TransactionApi.md#alterTransaction) | **POST** /v1/transaction/{id}/alter | Alter information of a transaction.
description: Result of checking if a namespace exists
612
+
ListTablesResponse:
613
+
content:
614
+
application/json:
615
+
schema:
616
+
$ref: '#/components/schemas/ListTablesResponse'
617
+
description: A list of tables
574
618
DescribeTableResponse:
575
619
content:
576
620
application/json:
@@ -1031,6 +1075,54 @@ components:
1031
1075
- location
1032
1076
- name
1033
1077
- namespace
1078
+
ListTablesRequest:
1079
+
example:
1080
+
parent:
1081
+
- parent
1082
+
- parent
1083
+
pageSize: 0
1084
+
pageToken: pageToken
1085
+
properties:
1086
+
parent:
1087
+
items:
1088
+
type: string
1089
+
type: array
1090
+
pageToken:
1091
+
description: |-
1092
+
An opaque token that allows pagination for list APIs (e.g. ListNamespaces).
1093
+
For an initial client request for a list API, if the server cannot return all items in one response, or if there are more items than the `pageSize` specified in the client request, the server must return a `nextPageToken` in the response indicating there are more results available.
1094
+
After the initial request, the value of `nextPageToken` from each response must be used by the client as the `pageToken` parameter value for the next request.
1095
+
Clients must interpret either `null`, missing value or empty string value of `nextPageToken` from a server response as the end of the listing results.
1096
+
type: string
1097
+
nullable: true
1098
+
pageSize:
1099
+
description: An inclusive upper bound of the number of results that a client
1100
+
will receive.
1101
+
type: integer
1102
+
nullable: true
1103
+
ListTablesResponse:
1104
+
example:
1105
+
tables:
1106
+
- cart
1107
+
- cart
1108
+
nextPageToken: nextPageToken
1109
+
properties:
1110
+
tables:
1111
+
items:
1112
+
example: cart
1113
+
type: string
1114
+
type: array
1115
+
uniqueItems: true
1116
+
nextPageToken:
1117
+
description: |-
1118
+
An opaque token that allows pagination for list APIs (e.g. ListNamespaces).
1119
+
For an initial client request for a list API, if the server cannot return all items in one response, or if there are more items than the `pageSize` specified in the client request, the server must return a `nextPageToken` in the response indicating there are more results available.
1120
+
After the initial request, the value of `nextPageToken` from each response must be used by the client as the `pageToken` parameter value for the next request.
1121
+
Clients must interpret either `null`, missing value or empty string value of `nextPageToken` from a server response as the end of the listing results.
|**pageToken**|**String**| An opaque token that allows pagination for list APIs (e.g. ListNamespaces). For an initial client request for a list API, if the server cannot return all items in one response, or if there are more items than the `pageSize` specified in the client request, the server must return a `nextPageToken` in the response indicating there are more results available. After the initial request, the value of `nextPageToken` from each response must be used by the client as the `pageToken` parameter value for the next request. Clients must interpret either `null`, missing value or empty string value of `nextPageToken` from a server response as the end of the listing results. |[optional]|
12
+
|**pageSize**|**Integer**| An inclusive upper bound of the number of results that a client will receive. |[optional]|
|**nextPageToken**|**String**| An opaque token that allows pagination for list APIs (e.g. ListNamespaces). For an initial client request for a list API, if the server cannot return all items in one response, or if there are more items than the `pageSize` specified in the client request, the server must return a `nextPageToken` in the response indicating there are more results available. After the initial request, the value of `nextPageToken` from each response must be used by the client as the `pageToken` parameter value for the next request. Clients must interpret either `null`, missing value or empty string value of `nextPageToken` from a server response as the end of the listing results. |[optional]|
Copy file name to clipboardExpand all lines: java/lance-namespace-apache-client/docs/TableApi.md
+77Lines changed: 77 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@ All URIs are relative to *http://localhost:2333*
7
7
|[**deregisterTable**](TableApi.md#deregisterTable)|**POST** /v1/table/{id}/deregister | Deregister a table from its namespace |
8
8
|[**describeTable**](TableApi.md#describeTable)|**POST** /v1/table/{id}/describe | Describe a table from the namespace |
9
9
|[**dropTable**](TableApi.md#dropTable)|**POST** /v1/table/{id}/drop | Drop a table from its namespace |
10
+
|[**listTables**](TableApi.md#listTables)|**POST** /v1/table/{id}/list | List tables |
10
11
|[**registerTable**](TableApi.md#registerTable)|**POST** /v1/table/{id}/register | Register a table to a namespace |
11
12
|[**tableExists**](TableApi.md#tableExists)|**POST** /v1/table/{id}/exists | Check if a table exists |
12
13
@@ -240,6 +241,82 @@ No authorization required
240
241
|**5XX**| A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
String id ="id_example"; // String | `string identifier` of an object in a namespace, following the Lance Namespace spec. When the value is equal to the delimiter, it represents the root namespace. For example, `v1/namespace/./list` performs a `ListNamespace` on the root namespace.
String delimiter ="delimiter_example"; // String | An optional delimiter of the `string identifier`, following the Lance Namespace spec. When not specified, the `.` delimiter must be used.
271
+
try {
272
+
ListTablesResponse result = apiInstance.listTables(id, listTablesRequest, delimiter);
273
+
System.out.println(result);
274
+
} catch (ApiException e) {
275
+
System.err.println("Exception when calling TableApi#listTables");
|**id**|**String**|`string identifier` of an object in a namespace, following the Lance Namespace spec. When the value is equal to the delimiter, it represents the root namespace. For example, `v1/namespace/./list` performs a `ListNamespace` on the root namespace. ||
|**delimiter**|**String**| An optional delimiter of the `string identifier`, following the Lance Namespace spec. When not specified, the `.` delimiter must be used. |[optional]|
293
+
294
+
### Return type
295
+
296
+
[**ListTablesResponse**](ListTablesResponse.md)
297
+
298
+
### Authorization
299
+
300
+
No authorization required
301
+
302
+
### HTTP request headers
303
+
304
+
-**Content-Type**: application/json
305
+
-**Accept**: application/json
306
+
307
+
308
+
### HTTP response details
309
+
| Status code | Description | Response headers |
310
+
|-------------|-------------|------------------|
311
+
|**200**| A list of tables | - |
312
+
|**400**| Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
313
+
|**401**| Unauthorized. The request lacks valid authentication credentials for the operation. | - |
314
+
|**403**| Forbidden. Authenticated user does not have the necessary permissions. | - |
315
+
|**406**| Not Acceptable / Unsupported Operation. The server does not support this operation. | - |
316
+
|**503**| The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
317
+
|**5XX**| A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
0 commit comments