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
*NamespaceApi* | [**getNamespace**](docs/NamespaceApi.md#getNamespace) | **GET** /v1/namespaces/{ns} | Get information about a namespace
120
120
*NamespaceApi* | [**listNamespaces**](docs/NamespaceApi.md#listNamespaces) | **GET** /v1/namespaces | List all namespaces in the catalog.
121
121
*NamespaceApi* | [**namespaceExists**](docs/NamespaceApi.md#namespaceExists) | **HEAD** /v1/namespaces/{ns} | Check if a namespace exists
122
+
*TableApi* | [**getTable**](docs/TableApi.md#getTable) | **GET** /v1/namespaces/{ns}/tables/{table} | Get a table from the catalog
122
123
*TableApi* | [**registerTable**](docs/TableApi.md#registerTable) | **POST** /v1/namespaces/{ns}/register | Register a new table in the given namespace. A table represents a lance dataset. In Lance catalog, a table must be hosted in a namespace.
Copy file name to clipboardExpand all lines: java/lance-catalog-apache-client/docs/TableApi.md
+75Lines changed: 75 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,10 +4,85 @@ All URIs are relative to *http://localhost:2333*
4
4
5
5
| Method | HTTP request | Description |
6
6
|------------- | ------------- | -------------|
7
+
|[**getTable**](TableApi.md#getTable)|**GET** /v1/namespaces/{ns}/tables/{table} | Get a table from the catalog |
7
8
|[**registerTable**](TableApi.md#registerTable)|**POST** /v1/namespaces/{ns}/register | Register a new table in the given namespace. A table represents a lance dataset. In Lance catalog, a table must be hosted in a namespace. |
8
9
9
10
10
11
12
+
## getTable
13
+
14
+
> GetTableResponse getTable(ns, table)
15
+
16
+
Get a table from the catalog
17
+
18
+
Get a table's detailed information under a specified namespace from the catalog.
|**200**| Table properties result when loading a table | - |
78
+
|**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. | - |
79
+
|**401**| Unauthorized. The request lacks valid authentication credentials for the operation. | - |
80
+
|**403**| Forbidden. Authenticated user does not have the necessary permissions. | - |
81
+
|**404**| A server-side problem that means can not find the specified resource. | - |
82
+
|**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. | - |
83
+
|**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