C# Class Deveel.Data.Sql.Query.FromTableDirectSource

An implementation of IFromTableSource that wraps around a ObjectName/ITable object.
The handles case insensitive resolution.
Inheritance: IFromTableSource
Show file Open project: deveel/deveeldb Class Usage Examples

Public Methods

Method Description
FromTableDirectSource ( bool caseInsensitive, ITableQueryInfo tableQuery, string uniqueName, ObjectName givenName, ObjectName rootName ) : System

Constructs the source.

MatchesReference ( string catalog, string schema, string table ) : bool
ResolveColumn ( string catalog, string schema, string table, string column ) : ObjectName
ResolveColumnCount ( string catalog, string schema, string table, string column ) : int

Private Methods

Method Description
StringCompare ( string str1, string str2 ) : bool

Method Details

FromTableDirectSource() public method

Constructs the source.
public FromTableDirectSource ( bool caseInsensitive, ITableQueryInfo tableQuery, string uniqueName, ObjectName givenName, ObjectName rootName ) : System
caseInsensitive bool
tableQuery ITableQueryInfo
uniqueName string
givenName ObjectName
rootName ObjectName
return System

MatchesReference() public method

public MatchesReference ( string catalog, string schema, string table ) : bool
catalog string
schema string
table string
return bool

ResolveColumn() public method

public ResolveColumn ( string catalog, string schema, string table, string column ) : ObjectName
catalog string
schema string
table string
column string
return ObjectName

ResolveColumnCount() public method

public ResolveColumnCount ( string catalog, string schema, string table, string column ) : int
catalog string
schema string
table string
column string
return int