C# Class Deveel.Data.Routines.Invoke

The information about the invocation of a routine, including the full name and arguments (as SqlExpression).
Mostrar archivo Open project: deveel/deveeldb Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
FormArguments ( SqlExpression expressions ) : Deveel.Data.Routines.InvokeArgument[]
VerifyNamesIn ( InvokeArgument arguments ) : void

Method Details

Execute() public method

public Execute ( ) : InvokeResult
return InvokeResult

Execute() public method

public Execute ( IRequest query ) : InvokeResult
query IRequest
return InvokeResult

Execute() public method

public Execute ( IRequest query, IVariableResolver resolver ) : InvokeResult
query IRequest
resolver IVariableResolver
return InvokeResult

Execute() public method

public Execute ( IRequest query, IVariableResolver resolver, IGroupResolver group ) : InvokeResult
query IRequest
resolver IVariableResolver
group IGroupResolver
return InvokeResult

Invoke() public method

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.
return System

Invoke() public method

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.
return System

Invoke() public method

public Invoke ( ObjectName routineName, SqlExpression arguments ) : System
routineName ObjectName
arguments Deveel.Data.Sql.Expressions.SqlExpression
return System

IsAggregate() public method

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.
return bool

ResolveFunction() public method

public ResolveFunction ( IQuery context ) : IFunction
context IQuery
return IFunction

ResolveProcedure() public method

public ResolveProcedure ( IQuery context ) : IProcedure
context IQuery
return IProcedure

ResolveRoutine() public method

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.
return IRoutine

ResolveSystemFunction() public method

Resolves this routine invocation to a system function.
public ResolveSystemFunction ( ) : IFunction
return IFunction

ToString() public method

public ToString ( ) : string
return string