NebulaStream  0.6.213
NebulaStream is a data and application management framework for the internet of things
NES::FixedChar Class Referencefinal

FixedChar(n), where n is a positive integer. FixedChar can store strings up to n characters (not bytes) in length. If the string to be stored is shorter than the declared length, values of type FixedChar will be space-padded. More...

#include <FixedChar.hpp>

Collaboration diagram for NES::FixedChar:
[legend]

Public Member Functions

 FixedChar (uint64_t length) noexcept
 Constructs a new Char(n) More...
 
 ~FixedChar () override=default
 
- Public Member Functions inherited from NES::ArrayType
 ArrayType (uint64_t length, DataTypePtr component) noexcept
 Constructs a new ArrayType. More...
 
 ~ArrayType () override=default
 
bool isArray () const final
 Checks if this data type is an ArrayType. More...
 
bool isCharArray () const final
 Checks if this data type is an ArrayType. More...
 
bool equals (DataTypePtr otherDataType) final
 Checks if two data types are equal. More...
 
DataTypePtr join (DataTypePtr otherDataType) final
 Calculates the joined data type between this data type and the other. If they have no possible joined data type, the coined type is Undefined. More...
 
std::string toString () final
 Returns a string representation of the data type. More...
 
- Public Member Functions inherited from NES::DataType
virtual ~DataType ()=default
 
virtual bool isUndefined () const
 Checks if this data type is Undefined. More...
 
virtual bool isBoolean () const
 Checks if this data type is Boolean. More...
 
virtual bool isNumeric () const
 Checks if this data type is Numeric. More...
 
virtual bool isInteger () const
 Checks if this data type is Integer. More...
 
virtual bool isFloat () const
 Checks if this data type is Float. More...
 
virtual bool isChar () const
 Checks if this data type is Char. More...
 
virtual bool isText () const
 Checks if this data type is Char. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from NES::DataType
template<class DataType >
static std::shared_ptr< DataTypeas (DataTypePtr ptr)
 
- Public Attributes inherited from NES::ArrayType
uint64_t const length
 
DataTypePtr const component
 

Detailed Description

FixedChar(n), where n is a positive integer. FixedChar can store strings up to n characters (not bytes) in length. If the string to be stored is shorter than the declared length, values of type FixedChar will be space-padded.

Constructor & Destructor Documentation

◆ FixedChar()

NES::FixedChar::FixedChar ( uint64_t  length)
explicitnoexcept

Constructs a new Char(n)

Parameters
lengthlength of the char

◆ ~FixedChar()

NES::FixedChar::~FixedChar ( )
overridedefault

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