Class InformixSqlOptimizer
- Namespace
- LinqToDB.Internal.DataProvider.Informix
- Assembly
- linq2db.dll
public class InformixSqlOptimizer : BasicSqlOptimizer, ISqlOptimizer
- Inheritance
-
InformixSqlOptimizer
- Implements
- Inherited Members
- Extension Methods
Constructors
InformixSqlOptimizer(SqlProviderFlags)
public InformixSqlOptimizer(SqlProviderFlags sqlProviderFlags)
Parameters
sqlProviderFlagsSqlProviderFlags
Methods
CreateConvertVisitor(bool)
public override SqlExpressionConvertVisitor CreateConvertVisitor(bool allowModify)
Parameters
allowModifybool
Returns
Finalize(MappingSchema, SqlStatement, DataOptions)
Finalizes query.
public override SqlStatement Finalize(MappingSchema mappingSchema, SqlStatement statement, DataOptions dataOptions)
Parameters
mappingSchemaMappingSchemastatementSqlStatementdataOptionsDataOptions
Returns
- SqlStatement
Query which is ready for optimization.
FinalizeStatement(SqlStatement, EvaluationContext, DataOptions, MappingSchema)
public override SqlStatement FinalizeStatement(SqlStatement statement, EvaluationContext context, DataOptions dataOptions, MappingSchema mappingSchema)
Parameters
statementSqlStatementcontextEvaluationContextdataOptionsDataOptionsmappingSchemaMappingSchema
Returns
FixSetOperationValues(MappingSchema, SqlStatement)
protected override SqlStatement FixSetOperationValues(MappingSchema mappingSchema, SqlStatement statement)
Parameters
mappingSchemaMappingSchemastatementSqlStatement
Returns
IsParameterDependedElement(NullabilityContext, IQueryElement, DataOptions, MappingSchema)
public override bool IsParameterDependedElement(NullabilityContext nullability, IQueryElement element, DataOptions dataOptions, MappingSchema mappingSchema)
Parameters
nullabilityNullabilityContextelementIQueryElementdataOptionsDataOptionsmappingSchemaMappingSchema
Returns
TransformStatement(SqlStatement, DataOptions, MappingSchema)
Used for correcting statement and should return new statement if changes were made.
public override SqlStatement TransformStatement(SqlStatement statement, DataOptions dataOptions, MappingSchema mappingSchema)
Parameters
statementSqlStatementdataOptionsDataOptionsmappingSchemaMappingSchema