Represents a Table object to be created on SAP HANA.

Value

A new Table object.

Public fields

name

character
Table name.

spec

list of tuples
Table specification.

data

list of tuples
Data stored in the table.

Methods


Method new()

Create a Table object.

Usage

Table$new(name, spec = NULL)

Arguments

name

character
Name of the new Table object.

spec

list of tuples, optional
The specification of the Table.


Method WithData()

Create a Table object with data.

Usage

Table$WithData(initialData)

Arguments

initialData

list of tuples
The data to be inserted into the table (by row).

Returns

A new Table object with Data.


Method like()

Create a table with the same specification of another DataFrame.

Usage

Table$like(table.name, df)

Arguments

table.name

character
Name of the table to be created.

df

DataFrame
DataFrame for table specification extraction.

Returns

A Table object
A new Table object with the specification of a given DataFrame.


Method clone()

The objects of this class are cloneable with this method.

Usage

Table$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.