AggregatorFunction class

SQLite base class for handling aggregate function.

Constructors

AggregatorFunction(AggregateHandler creator(), {int argumentsNumber = 0, int optionalArgument = 0, int? dbArgument, ArgumentConverter argConverter = sql.defaultArgumentConverter, FunctionResultConverter? resultConverter, FunctionResultHandler<PtrContext, dynamic>? resultHandler})
AggregatorFunction

Properties

argConverter → ArgumentConverter
The converter which read the Value and convert them into appropriate dart type.
finalinherited
argumentsNumber int
The total number of argument that dart step function accepted.
finalinherited
creator → AggregateHandler Function()
Return new sql.AggregateHandler object
final
data Map<int, AggregateHandler>?
Store the data based on context id.
getter/setter pair
dbArgument int?
A number of argument that given to database engine.
finalinherited
dbFunctionArgsCount int
Return dbArgument is not null other return argumentsNumber.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
next int
next counter id
getter/setter pair
optionalArgument int
The number of optional positional argument.
finalinherited
resultConverter → FunctionResultConverter?
The converter which convert non-supported data type into once of String, int, double, Uint8List or null.
finalinherited
resultHandler → FunctionResultHandler<PtrContext, dynamic>?
Custom function to write result back to database engine.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

contextValue(PtrContext ctx) TwoResult<int, AggregateHandler>
Return new or exist value D based on the given SQLite context.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited