Operations made available by the Pinecone API. More...
#include "pinecone/domain/method.hpp"
Go to the source code of this file.
Enumerations | |
enum class | pinecone::domain::operation_type { actions_whoami , index_create , index_configure , index_list , index_describe , index_delete , collection_create , collection_list , collection_describe , collection_delete , vector_upsert , vector_update , vector_query , vector_fetch , vector_describe_index_stats , vector_delete } |
All operation types exposed by the Pinecone REST API. More... | |
enum class | pinecone::domain::api_type { controller , service } |
The API types supported by the Pinecone REST API. More... | |
Functions | |
constexpr auto | pinecone::domain::op_api_type (operation_type op) -> api_type |
Returns the API type of an operation. More... | |
constexpr auto | pinecone::domain::op_url_fragment (operation_type op) -> char const * |
Returns the URL specialization for an operation. More... | |
constexpr auto | pinecone::domain::op_method (operation_type op) -> method |
Returns the HTTP method for an operation. More... | |
Operations made available by the Pinecone API.
Definition in file operation_type.hpp.
|
strong |
The API types supported by the Pinecone REST API.
The Pinecone API is structured as two basic APIs:
Each operation_type
is associated with one of these two APIs.
Definition at line 54 of file operation_type.hpp.
|
strong |
All operation types exposed by the Pinecone REST API.
Operation types can be understood within three general categories:
Definition at line 21 of file operation_type.hpp.
|
constexpr |
Returns the API type of an operation.
op | the operation to query |
Definition at line 65 of file operation_type.hpp.
Referenced by pinecone::domain::build_url(), and pinecone::domain::op_api_type().
|
constexpr |
Returns the HTTP method for an operation.
op | the operation to query |
Definition at line 134 of file operation_type.hpp.
Referenced by pinecone::domain::op_method().
|
constexpr |
Returns the URL specialization for an operation.
op | the operation to query |
Definition at line 95 of file operation_type.hpp.
Referenced by pinecone::domain::op_url_fragment().