C# Класс Deveel.Data.Routines.Invoke

The information about the invocation of a routine, including the full name and arguments (as SqlExpression).
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Execute ( ) : InvokeResult
Execute ( IRequest query ) : InvokeResult
Execute ( IRequest query, IVariableResolver resolver ) : InvokeResult
Execute ( IRequest query, IVariableResolver resolver, IGroupResolver group ) : InvokeResult
Invoke ( ObjectName routineName ) : System

Constructs a new Invoke with the given name of the routine and no arguments.

Invoke ( ObjectName routineName, InvokeArgument arguments ) : System

Constructs a new Invoke with the given name of the routine and the arguments.

Invoke ( ObjectName routineName, SqlExpression arguments ) : System
IsAggregate ( IRequest query ) : bool

Checks if the target of the invocation is an aggregate function.

ResolveFunction ( IQuery context ) : IFunction
ResolveProcedure ( IQuery context ) : IProcedure
ResolveRoutine ( IRequest context ) : IRoutine

Resolves the routine target of the invocation within the give context.

If the given context is null this method will try to resolve the routine towards the

ResolveSystemFunction ( ) : IFunction

Resolves this routine invocation to a system function.

ToString ( ) : string

Приватные методы

Метод Описание
FormArguments ( SqlExpression expressions ) : Deveel.Data.Routines.InvokeArgument[]
VerifyNamesIn ( InvokeArgument arguments ) : void

Описание методов

Execute() публичный Метод

public Execute ( ) : InvokeResult
Результат InvokeResult

Execute() публичный Метод

public Execute ( IRequest query ) : InvokeResult
query IRequest
Результат InvokeResult

Execute() публичный Метод

public Execute ( IRequest query, IVariableResolver resolver ) : InvokeResult
query IRequest
resolver IVariableResolver
Результат InvokeResult

Execute() публичный Метод

public Execute ( IRequest query, IVariableResolver resolver, IGroupResolver group ) : InvokeResult
query IRequest
resolver IVariableResolver
group IGroupResolver
Результат InvokeResult

Invoke() публичный Метод

Constructs a new Invoke with the given name of the routine and no arguments.
public Invoke ( ObjectName routineName ) : System
routineName ObjectName The fully qualified name of the routine /// to be invoked.
Результат System

Invoke() публичный Метод

Constructs a new Invoke with the given name of the routine and the arguments.
public Invoke ( ObjectName routineName, InvokeArgument arguments ) : System
routineName ObjectName The fully qualified name of the routine /// to be invoked.
arguments InvokeArgument The arguments to pass to the routine.
Результат System

Invoke() публичный Метод

public Invoke ( ObjectName routineName, SqlExpression arguments ) : System
routineName ObjectName
arguments Deveel.Data.Sql.Expressions.SqlExpression
Результат System

IsAggregate() публичный Метод

Checks if the target of the invocation is an aggregate function.
public IsAggregate ( IRequest query ) : bool
query IRequest The query context used to resolve the routine.
Результат bool

ResolveFunction() публичный Метод

public ResolveFunction ( IQuery context ) : IFunction
context IQuery
Результат IFunction

ResolveProcedure() публичный Метод

public ResolveProcedure ( IQuery context ) : IProcedure
context IQuery
Результат IProcedure

ResolveRoutine() публичный Метод

Resolves the routine target of the invocation within the give context.

If the given context is null this method will try to resolve the routine towards the

/// If the routine could not be resolved for this call. ///
public ResolveRoutine ( IRequest context ) : IRoutine
context IRequest The query context used to resolve the routine.
Результат IRoutine

ResolveSystemFunction() публичный Метод

Resolves this routine invocation to a system function.
public ResolveSystemFunction ( ) : IFunction
Результат IFunction

ToString() публичный Метод

public ToString ( ) : string
Результат string