C# 클래스 Deveel.Data.Sql.Statements.SqlStatement

Represents the foundation class of SQL statements to be executed.

A SQL Statement encapsulates the properties that are required to form a SqlPreparedStatement that can be serialized and executed.

It is prevented to a SqlStatement to be immediately executed for enforcing SqlPreparedStatement to be cached and executed in later moments, optimizing performances and re-usability.

파일 보기 프로젝트 열기: deveel/deveeldb 1 사용 예제들

공개 메소드들

메소드 설명
Parse ( IContext context, SqlQuery query ) : IEnumerable
Parse ( IContext context, string sqlSource ) : IEnumerable

Parses a given string into one of more statements.

Parse ( string sqlSource ) : IEnumerable

Parses a given string into one of more statements.

ToString ( ) : string

보호된 메소드들

메소드 설명
AppendTo ( SqlStringBuilder builder ) : void
ConfigureSecurity ( ExecutionContext context ) : void
ExecuteStatement ( ExecutionContext context ) : void
GetData ( SerializationInfo info ) : void
ISerializable ( SerializationInfo info, StreamingContext context ) : void
ISqlFormattable ( SqlStringBuilder builder ) : void
OnAfterExecute ( ExecutionContext context ) : void
OnBeforeExecute ( ExecutionContext context ) : void
PrepareExpressions ( IExpressionPreparer preparer ) : SqlStatement
PrepareStatement ( IRequest context ) : SqlStatement
RevokeAccess ( ObjectName resource, DbObjectType resourceType ) : void
SqlStatement ( ) : System
SqlStatement ( SerializationInfo info, StreamingContext context ) : System

비공개 메소드들

메소드 설명
Execute ( ExecutionContext context ) : void
IPreparable ( IExpressionPreparer preparer ) : object
Prepare ( IExpressionPreparer preparer ) : SqlStatement
Prepare ( IRequest request ) : SqlStatement
Prepare ( IRequest context, IExpressionPreparer preparer ) : SqlStatement
SetSource ( SqlQuery query ) : void

메소드 상세

AppendTo() 보호된 메소드

protected AppendTo ( SqlStringBuilder builder ) : void
builder SqlStringBuilder
리턴 void

ConfigureSecurity() 보호된 메소드

protected ConfigureSecurity ( ExecutionContext context ) : void
context ExecutionContext
리턴 void

ExecuteStatement() 보호된 메소드

protected ExecuteStatement ( ExecutionContext context ) : void
context ExecutionContext
리턴 void

GetData() 보호된 메소드

protected GetData ( SerializationInfo info ) : void
info SerializationInfo
리턴 void

ISerializable() 보호된 메소드

protected ISerializable ( SerializationInfo info, StreamingContext context ) : void
info SerializationInfo
context StreamingContext
리턴 void

ISqlFormattable() 보호된 메소드

protected ISqlFormattable ( SqlStringBuilder builder ) : void
builder SqlStringBuilder
리턴 void

OnAfterExecute() 보호된 메소드

protected OnAfterExecute ( ExecutionContext context ) : void
context ExecutionContext
리턴 void

OnBeforeExecute() 보호된 메소드

protected OnBeforeExecute ( ExecutionContext context ) : void
context ExecutionContext
리턴 void

Parse() 공개 정적인 메소드

public static Parse ( IContext context, SqlQuery query ) : IEnumerable
context IContext
query SqlQuery
리턴 IEnumerable

Parse() 공개 정적인 메소드

Parses a given string into one of more statements.
/// Thrown if the input string is of an invalid format and cannot form /// into a valid statement. ///
public static Parse ( IContext context, string sqlSource ) : IEnumerable
context IContext
sqlSource string The input string to be parsed.
리턴 IEnumerable

Parse() 공개 정적인 메소드

Parses a given string into one of more statements.
/// Thrown if the input string is of an invalid format and cannot form /// into a valid statement. ///
public static Parse ( string sqlSource ) : IEnumerable
sqlSource string The input string to be parsed.
리턴 IEnumerable

PrepareExpressions() 보호된 메소드

protected PrepareExpressions ( IExpressionPreparer preparer ) : SqlStatement
preparer IExpressionPreparer
리턴 SqlStatement

PrepareStatement() 보호된 메소드

protected PrepareStatement ( IRequest context ) : SqlStatement
context IRequest
리턴 SqlStatement

RevokeAccess() 보호된 메소드

protected RevokeAccess ( ObjectName resource, DbObjectType resourceType ) : void
resource ObjectName
resourceType DbObjectType
리턴 void

SqlStatement() 보호된 메소드

protected SqlStatement ( ) : System
리턴 System

SqlStatement() 보호된 메소드

protected SqlStatement ( SerializationInfo info, StreamingContext context ) : System
info SerializationInfo
context StreamingContext
리턴 System

ToString() 공개 메소드

public ToString ( ) : string
리턴 string