gstlearn  1.0.0
CCC
Deleting one or several Columns

Functions

void Db::deleteColumn (const String &name)
 
void Db::deleteColumnByUID (int iuid_del)
 
void Db::deleteColumnByColIdx (int icol_del)
 
void Db::deleteColumns (const VectorString &names)
 
void Db::deleteColumnsByLocator (const ELoc &locatorType)
 
void Db::deleteColumnsByUID (const VectorInt &iuids)
 
void Db::deleteColumnsByColIdx (const VectorInt &icols)
 

Detailed Description

These Columns are defined by their names, column number of user-identification rank

Parameters
nameName of the variable to be deleted
namesVector of variable names to be deleted
icol_delColumn number of the variable to be deleted
icolsVector of Column ranks for the variables to be deleted
iuid_delUser-identification rank for the variable to be deleted
iuidsVector of user-identification ranks for variables to be deleted
locatorTypeLocator of the variables to be deleted

Function Documentation

◆ deleteColumn()

void Db::deleteColumn ( const String name)

Delete one Column specified by its name

◆ deleteColumnByColIdx()

void Db::deleteColumnByColIdx ( int  icol_del)

Delete a variablesspecified by its column number (0 based)

◆ deleteColumnByUID()

void Db::deleteColumnByUID ( int  iuid_del)

Delete a variable specified by its user-identification rank

◆ deleteColumns()

void Db::deleteColumns ( const VectorString names)

Delete a set of variables specified by their names

◆ deleteColumnsByColIdx()

void Db::deleteColumnsByColIdx ( const VectorInt icols)

Delete a set of variables specified by their column ranks (0 based)

◆ deleteColumnsByLocator()

void Db::deleteColumnsByLocator ( const ELoc &  locatorType)

Delete a set of variables specified by their locator type

◆ deleteColumnsByUID()

void Db::deleteColumnsByUID ( const VectorInt iuids)

Delete a set of variables specified by their user-identification ranks (0 based)