C# Class Deveel.Data.Sql.Tables.UserContextTable

A wrapper around a table that fires triggers on table events.
Inheritance: BaseDataTable, IMutableTable
Show file Open project: deveel/deveeldb Class Usage Examples

Private Properties

Property Type Description
OnTableEvent void

Public Methods

Method Description
AddRow ( Deveel.Data.Sql.Tables.Row row ) : RowId
GetEnumerator ( ) : IEnumerator
GetValue ( long rowNumber, int columnOffset ) : Field
IMutableTable ( ) : void
Lock ( ) : void
Release ( ) : void
RemoveRow ( RowId rowId ) : bool
UpdateRow ( Deveel.Data.Sql.Tables.Row row ) : void
UserContextTable ( IRequest request, ITable table ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void
GetColumnIndex ( int columnOffset ) : ColumnIndex
ResolveRows ( int column, IEnumerable rowSet, ITable ancestor ) : IEnumerable
SetupIndexes ( Type indexType ) : void

Private Methods

Method Description
OnTableEvent ( TriggerEventTime eventTime, TriggerEventType eventType, RowId rowId, Deveel.Data.Sql.Tables.Row row ) : void

Method Details

AddRow() public method

public AddRow ( Deveel.Data.Sql.Tables.Row row ) : RowId
row Deveel.Data.Sql.Tables.Row
return RowId

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GetColumnIndex() protected method

protected GetColumnIndex ( int columnOffset ) : ColumnIndex
columnOffset int
return ColumnIndex

GetEnumerator() public method

public GetEnumerator ( ) : IEnumerator
return IEnumerator

GetValue() public method

public GetValue ( long rowNumber, int columnOffset ) : Field
rowNumber long
columnOffset int
return Field

IMutableTable() public method

public IMutableTable ( ) : void
return void

Lock() public method

public Lock ( ) : void
return void

Release() public method

public Release ( ) : void
return void

RemoveRow() public method

public RemoveRow ( RowId rowId ) : bool
rowId RowId
return bool

ResolveRows() protected method

protected ResolveRows ( int column, IEnumerable rowSet, ITable ancestor ) : IEnumerable
column int
rowSet IEnumerable
ancestor ITable
return IEnumerable

SetupIndexes() protected method

protected SetupIndexes ( Type indexType ) : void
indexType System.Type
return void

UpdateRow() public method

public UpdateRow ( Deveel.Data.Sql.Tables.Row row ) : void
row Deveel.Data.Sql.Tables.Row
return void

UserContextTable() public method

public UserContextTable ( IRequest request, ITable table ) : System
request IRequest
table ITable
return System