C# Class Deveel.Data.TableContainerBase

A base implementation of the ITableContainer interface to provide utility methods to resolve objects that have a standard name.
Inheritance: ITableContainer
Show file Open project: deveel/deveeldb

Public Methods

Method Description
ContainsTable ( ObjectName name ) : bool
FindByName ( ObjectName name ) : int
GetTable ( int offset ) : ITable
GetTableInfo ( int offset ) : TableInfo
GetTableName ( int offset ) : ObjectName
GetTableType ( int offset ) : string

Protected Methods

Method Description
TableContainerBase ( ITransaction transaction, ObjectName tableName ) : System

Initializes a new instance of the TableContainerBase class wrapping it within the given transaction and using the given name of the table that contains the objects to resolve.

Method Details

ContainsTable() public method

public ContainsTable ( ObjectName name ) : bool
name ObjectName
return bool

FindByName() public method

public FindByName ( ObjectName name ) : int
name ObjectName
return int

GetTable() public abstract method

public abstract GetTable ( int offset ) : ITable
offset int
return ITable

GetTableInfo() public abstract method

public abstract GetTableInfo ( int offset ) : TableInfo
offset int
return TableInfo

GetTableName() public method

public GetTableName ( int offset ) : ObjectName
offset int
return ObjectName

GetTableType() public abstract method

public abstract GetTableType ( int offset ) : string
offset int
return string

TableContainerBase() protected method

Initializes a new instance of the TableContainerBase class wrapping it within the given transaction and using the given name of the table that contains the objects to resolve.
transaction
protected TableContainerBase ( ITransaction transaction, ObjectName tableName ) : System
transaction ITransaction The transaction that accesses the objects.
tableName ObjectName The name of the table that contains the objects to resolve.
return System