Kùzu C++ API
Loading...
Searching...
No Matches
kuzu::processor::FlatTuple Class Reference

Stores a vector of Values. More...

#include <flat_tuple.h>

Public Member Functions

void addValue (std::unique_ptr< common::Value > value)
 
KUZU_API uint32_t len () const
 
KUZU_API common::ValuegetValue (uint32_t idx) const
 
KUZU_API std::string toString ()
 
KUZU_API std::string toString (const std::vector< uint32_t > &colsWidth, const std::string &delimiter="|", uint32_t maxWidth=-1)
 

Detailed Description

Stores a vector of Values.

Member Function Documentation

◆ addValue()

void kuzu::processor::FlatTuple::addValue ( std::unique_ptr< common::Value > value)

◆ getValue()

KUZU_API common::Value * kuzu::processor::FlatTuple::getValue ( uint32_t idx) const
Parameters
idxvalue index to get.
Returns
the value stored at idx.

◆ len()

KUZU_API uint32_t kuzu::processor::FlatTuple::len ( ) const
Returns
number of values in the FlatTuple.

◆ toString() [1/2]

KUZU_API std::string kuzu::processor::FlatTuple::toString ( )

◆ toString() [2/2]

KUZU_API std::string kuzu::processor::FlatTuple::toString ( const std::vector< uint32_t > & colsWidth,
const std::string & delimiter = "|",
uint32_t maxWidth = -1 )
Parameters
colsWidthThe length of each column
delimiterThe delimiter to separate each value.
maxWidthThe maximum length of each column. Only the first maxWidth number of characters of each column will be displayed.
Returns
all values in string format.

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