Click or drag to resize

FilterableStatementT, TTarget, TResult Class

Abstract class for filterable statements.
Inheritance Hierarchy
SystemObject
  MySqlX.XDevAPI.CommonBaseStatementTResult
    MySqlX.XDevAPI.CommonTargetedBaseStatementTTarget, TResult
      MySqlX.XDevAPI.CommonFilterableStatementT, TTarget, TResult
        More...

Namespace:  MySqlX.XDevAPI.Common
Assembly:  MySql.Data (in MySql.Data.dll) Version: 8.0.22
Syntax
public abstract class FilterableStatement<T, TTarget, TResult> : TargetedBaseStatement<TTarget, TResult>
where T : FilterableStatement<T, TTarget, TResult>
where TTarget : DatabaseObject
where TResult : BaseResult

Type Parameters

T
The filterable statement.
TTarget
The database object.
TResult
The type of result.

The FilterableStatementT, TTarget, TResult type exposes the following members.

Constructors
Properties
Methods
  NameDescription
Public methodBind(Object)
Binds the parameter values in filter expression.
Public methodBind(String)
Binds the parameter values in filter expression.
Public methodBind(DbDoc)
Binds the parameter values in filter expression.
Public methodBind(String, Object)
Binds the parameter values in filter expression.
Public methodClone
Clones the filterable data but Session and Target remain the same.
Protected methodConvertToPreparedStatementT
Converts a statement to prepared statement for a second execution without any change but Bind, Limit, or Offset.
(Inherited from BaseStatementTResult.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExecute
Executes the base statements. This method is intended to be defined by child classes.
(Inherited from BaseStatementTResult.)
Protected methodExecute(FuncT, TResult, T)
Executes the statement.
Public methodExecuteAsync
Executes a statement asynchronously.
(Inherited from BaseStatementTResult.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLimit
Sets the number of items to be returned by the operation.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOffset
Sets the number of items to be skipped before including them into the result.
Protected methodSetChanged
Sets the status as Changed for prepared statement validation.
(Inherited from BaseStatementTResult.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodValidateOpenSession
Validates if the session is open and valid.
(Inherited from BaseStatementTResult.)
Public methodWhere
Enables the setting of Where condition for this operation.
Top
Fields
See Also
Inheritance Hierarchy
SystemObject
  MySqlX.XDevAPI.CommonBaseStatementTResult
    MySqlX.XDevAPI.CommonTargetedBaseStatementTTarget, TResult
      MySqlX.XDevAPI.CommonFilterableStatementT, TTarget, TResult
        MySqlX.XDevAPI.CRUDFindStatement
        MySqlX.XDevAPI.CRUDModifyStatement
        MySqlX.XDevAPI.CRUDRemoveStatement
        MySqlX.XDevAPI.RelationalTableDeleteStatement
        MySqlX.XDevAPI.RelationalTableSelectStatement
        MySqlX.XDevAPI.RelationalTableUpdateStatement