C# Class Warewolf.Storage.ExecutionEnvironment

Inheritance: IExecutionEnvironment
Mostra file Open project: Warewolf-ESB/Warewolf Class Usage Examples

Public Methods

Method Description
AddError ( string error ) : void
ApplyUpdate ( string expression, DataASTMutable.WarewolfAtom>.Func clause, int update ) : void
Assign ( string exp, string value, int update ) : void
AssignDataShape ( string p ) : void
AssignUnique ( IEnumerable distinctList, IEnumerable valueList, IEnumerable resList, int update ) : void
AssignWithFrame ( IAssignValue values, int update ) : void
CommitAssign ( ) : void
ConvertToIndex ( string outputVar, int i ) : string
EnvalWhere ( string expression, bool>.Func clause, int update ) : IEnumerable
Eval ( string exp, int update, bool throwsifnotexists = false ) : WarewolfDataEvaluationCommon.WarewolfEvalResult
EvalAsList ( string expression, int update, bool throwsifnotexists = false ) : IEnumerable
EvalAsListOfStrings ( string expression, int update ) : IList
EvalAssignFromNestedLast ( string exp, WarewolfDataEvaluationCommon recsetResult, int update ) : void
EvalAssignFromNestedNumeric ( string exp, WarewolfDataEvaluationCommon recsetResult, int update ) : void
EvalAssignFromNestedStar ( string exp, WarewolfDataEvaluationCommon recsetResult, int update ) : void
EvalDelete ( string exp, int update ) : void
EvalForDataMerge ( string exp, int update ) : IEnumerable
EvalForJson ( string exp ) : WarewolfDataEvaluationCommon.WarewolfEvalResult
EvalRecordSetIndexes ( string recordsetName, int update ) : IList
EvalStrict ( string exp, int update ) : WarewolfDataEvaluationCommon.WarewolfEvalResult
EvalToExpression ( string exp, int update ) : string
ExecutionEnvironment ( ) : System
FetchErrors ( ) : string
GetCount ( string recordSetName ) : int
GetLength ( string recordSetName ) : int
GetPositionColumnExpression ( string recordset ) : string
HasErrors ( ) : bool
HasRecordSet ( string recordsetName ) : bool
IsNothing ( WarewolfDataEvaluationCommon evalInp1 ) : bool
IsRecordSetName ( string a ) : bool
IsRecordsetIdentifier ( string assignVar ) : bool
IsScalar ( string assignVar ) : bool
IsValidRecordSetIndex ( string exp ) : bool
IsValidVariableExpression ( string expression, string &errorMessage, int update ) : bool
SortRecordSet ( string sortField, bool descOrder, int update ) : void
ToStar ( string expression ) : string
WarewolfAtomToString ( DataASTMutable a ) : string
WarewolfAtomToStringErrorIfNull ( DataASTMutable a ) : string
WarewolfAtomToStringNullAsNothing ( DataASTMutable a ) : string
WarewolfEvalResultToString ( WarewolfDataEvaluationCommon result ) : string

Private Methods

Method Description
AssignWithFrameAndList ( string assignValue, WarewolfAtomList item, bool shouldUseLast, int update ) : void

Method Details

AddError() public method

public AddError ( string error ) : void
error string
return void

ApplyUpdate() public method

public ApplyUpdate ( string expression, DataASTMutable.WarewolfAtom>.Func clause, int update ) : void
expression string
clause DataASTMutable.WarewolfAtom>.Func
update int
return void

Assign() public method

public Assign ( string exp, string value, int update ) : void
exp string
value string
update int
return void

AssignDataShape() public method

public AssignDataShape ( string p ) : void
p string
return void

AssignUnique() public method

public AssignUnique ( IEnumerable distinctList, IEnumerable valueList, IEnumerable resList, int update ) : void
distinctList IEnumerable
valueList IEnumerable
resList IEnumerable
update int
return void

AssignWithFrame() public method

public AssignWithFrame ( IAssignValue values, int update ) : void
values IAssignValue
update int
return void

CommitAssign() public method

public CommitAssign ( ) : void
return void

ConvertToIndex() public static method

public static ConvertToIndex ( string outputVar, int i ) : string
outputVar string
i int
return string

EnvalWhere() public method

public EnvalWhere ( string expression, bool>.Func clause, int update ) : IEnumerable
expression string
clause bool>.Func
update int
return IEnumerable

Eval() public method

public Eval ( string exp, int update, bool throwsifnotexists = false ) : WarewolfDataEvaluationCommon.WarewolfEvalResult
exp string
update int
throwsifnotexists bool
return WarewolfDataEvaluationCommon.WarewolfEvalResult

EvalAsList() public method

public EvalAsList ( string expression, int update, bool throwsifnotexists = false ) : IEnumerable
expression string
update int
throwsifnotexists bool
return IEnumerable

EvalAsListOfStrings() public method

public EvalAsListOfStrings ( string expression, int update ) : IList
expression string
update int
return IList

EvalAssignFromNestedLast() public method

public EvalAssignFromNestedLast ( string exp, WarewolfDataEvaluationCommon recsetResult, int update ) : void
exp string
recsetResult WarewolfDataEvaluationCommon
update int
return void

EvalAssignFromNestedNumeric() public method

public EvalAssignFromNestedNumeric ( string exp, WarewolfDataEvaluationCommon recsetResult, int update ) : void
exp string
recsetResult WarewolfDataEvaluationCommon
update int
return void

EvalAssignFromNestedStar() public method

public EvalAssignFromNestedStar ( string exp, WarewolfDataEvaluationCommon recsetResult, int update ) : void
exp string
recsetResult WarewolfDataEvaluationCommon
update int
return void

EvalDelete() public method

public EvalDelete ( string exp, int update ) : void
exp string
update int
return void

EvalForDataMerge() public method

public EvalForDataMerge ( string exp, int update ) : IEnumerable
exp string
update int
return IEnumerable

EvalForJson() public method

public EvalForJson ( string exp ) : WarewolfDataEvaluationCommon.WarewolfEvalResult
exp string
return WarewolfDataEvaluationCommon.WarewolfEvalResult

EvalRecordSetIndexes() public method

public EvalRecordSetIndexes ( string recordsetName, int update ) : IList
recordsetName string
update int
return IList

EvalStrict() public method

public EvalStrict ( string exp, int update ) : WarewolfDataEvaluationCommon.WarewolfEvalResult
exp string
update int
return WarewolfDataEvaluationCommon.WarewolfEvalResult

EvalToExpression() public method

public EvalToExpression ( string exp, int update ) : string
exp string
update int
return string

ExecutionEnvironment() public method

public ExecutionEnvironment ( ) : System
return System

FetchErrors() public method

public FetchErrors ( ) : string
return string

GetCount() public method

public GetCount ( string recordSetName ) : int
recordSetName string
return int

GetLength() public method

public GetLength ( string recordSetName ) : int
recordSetName string
return int

GetPositionColumnExpression() public static method

public static GetPositionColumnExpression ( string recordset ) : string
recordset string
return string

HasErrors() public method

public HasErrors ( ) : bool
return bool

HasRecordSet() public method

public HasRecordSet ( string recordsetName ) : bool
recordsetName string
return bool

IsNothing() public static method

public static IsNothing ( WarewolfDataEvaluationCommon evalInp1 ) : bool
evalInp1 WarewolfDataEvaluationCommon
return bool

IsRecordSetName() public static method

public static IsRecordSetName ( string a ) : bool
a string
return bool

IsRecordsetIdentifier() public static method

public static IsRecordsetIdentifier ( string assignVar ) : bool
assignVar string
return bool

IsScalar() public static method

public static IsScalar ( string assignVar ) : bool
assignVar string
return bool

IsValidRecordSetIndex() public static method

public static IsValidRecordSetIndex ( string exp ) : bool
exp string
return bool

IsValidVariableExpression() public static method

public static IsValidVariableExpression ( string expression, string &errorMessage, int update ) : bool
expression string
errorMessage string
update int
return bool

SortRecordSet() public method

public SortRecordSet ( string sortField, bool descOrder, int update ) : void
sortField string
descOrder bool
update int
return void

ToStar() public method

public ToStar ( string expression ) : string
expression string
return string

WarewolfAtomToString() public static method

public static WarewolfAtomToString ( DataASTMutable a ) : string
a DataASTMutable
return string

WarewolfAtomToStringErrorIfNull() public static method

public static WarewolfAtomToStringErrorIfNull ( DataASTMutable a ) : string
a DataASTMutable
return string

WarewolfAtomToStringNullAsNothing() public static method

public static WarewolfAtomToStringNullAsNothing ( DataASTMutable a ) : string
a DataASTMutable
return string

WarewolfEvalResultToString() public static method

public static WarewolfEvalResultToString ( WarewolfDataEvaluationCommon result ) : string
result WarewolfDataEvaluationCommon
return string