Cppinecone
A C++ client for the Pinecone vector database
pinecone::domain::create_operation_args< op, Body > Struct Template Reference

Create operations construct themselves using a unique resource name and an operation-dependent body payload. More...

#include <operation.hpp>

Inheritance diagram for pinecone::domain::create_operation_args< op, Body >:
Collaboration diagram for pinecone::domain::create_operation_args< op, Body >:

Public Member Functions

 create_operation_args (net::url_builder const &url_builder, Body body) noexcept
 
auto body () noexcept -> char const *
 
- Public Member Functions inherited from pinecone::domain::arg_base
 arg_base (std::string url)
 
 arg_base (arg_base const &)=default
 
 arg_base (arg_base &&) noexcept=default
 
auto operator= (arg_base const &) -> arg_base &=default
 
auto operator= (arg_base &&) noexcept -> arg_base &=default
 
auto url () const noexcept -> char const *
 

Detailed Description

template<operation_type op, typename Body>
struct pinecone::domain::create_operation_args< op, Body >

Create operations construct themselves using a unique resource name and an operation-dependent body payload.

Template Parameters
opthe operation to specialize as a create operation
Bodythe operation-dependent payload type

Definition at line 120 of file operation.hpp.

Member Function Documentation

◆ body()

template<operation_type op, typename Body >
auto pinecone::domain::create_operation_args< op, Body >::body ( ) -> char const*
inlinenoexcept
Returns
the json-formatted body payload

Definition at line 132 of file operation.hpp.


The documentation for this struct was generated from the following file: