ProcedureJava class

Inheritance

Constructors

ProcedureJava.new({String? className, required String name, List? positionalParameters, Map<String, dynamic>? namedParameters, Map<String, dynamic>? properties, required String code, Iterable<DBCommand>? dbCommands, CommandLogInfo? logInfo, CommandLogError? logError})
ProcedureJava.fromJson(Map<String, dynamic> json)
factory

Properties

className String?
The entrypoint class name.
finalinherited
code String
The procedure code.
finalinherited
dbCommands Set<DBCommand>
finalinherited
hashCode int
The hash code for this object.
no setterinherited
language String
The language of the procedure code.
finalinherited
logError CommandLogError?
Logs an ERROR message.
getter/setter pairinherited
logInfo CommandLogInfo?
Logs an INFO message.
getter/setter pairinherited
name String
The entrypoint function/method name.
finalinherited
namedParameters Map<String, dynamic>?
The named parameters to be called when execute is invoked.
finalinherited
positionalParameters List?
The positional parameters to be called when execute is invoked.
finalinherited
printFunction CommandLogInfo?
getter/setter pairinherited
properties Map<String, dynamic>?
The properties to use when executing. It's also passed to DBCommand or SQL when executing one of them.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

call<R>({List? positionalParameters, Map<String, dynamic>? namedParameters, CommandLogInfo? logInfo, CommandLogError? logError}) Future<R>
inherited
createRunner(ApolloVM vm) → ApolloRunner
inherited
ensureLoaded() FutureOr<bool>
inherited
execute<R>() FutureOr<R>
inherited
executeDBCommandByID(String id, {Map<String, dynamic>? properties}) FutureOr<bool>
inherited
executeSQLByID(String sqlID, {Map<String, dynamic>? properties}) FutureOr<bool>
inherited
executeSQLsByIDs(List<String> sqlIDs, {Map<String, dynamic>? properties}) Future<bool>
inherited
getDBCommandByID(String id) DBCommand?
Returns the DBCommand with id from dbCommands.
inherited
getDBCommandWithSQL(String sqlID) DBCommand?
Returns the DBCommand with an SQL with sqlID from dbCommands.
inherited
getProperty(String key) → dynamic
inherited
getSQLByID(String sqlID) SQL?
Returns the SQL with sqlID from dbCommands.
inherited
getSQLResult(String sqlID) Map<String, dynamic>?
inherited
getSQLResultColumn(String sqlID, String column) → dynamic
inherited
getSQLResults(String sqlID) List<Map<String, dynamic>>?
inherited
getSQLResultsColumn(String sqlID, String column) List?
inherited
load() Future<bool>
inherited
mapExternalFunctions(ApolloRunner runner, ApolloExternalFunctionMapper externalFunctionMapper) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

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