toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final activeTasks = this.activeTasks;
final addTime = this.addTime;
final attributes = this.attributes;
final completedTasks = this.completedTasks;
final diskUsed = this.diskUsed;
final excludedInStages = this.excludedInStages;
final executorId = this.executorId;
final executorLogs = this.executorLogs;
final failedTasks = this.failedTasks;
final hostPort = this.hostPort;
final isActive = this.isActive;
final isExcluded = this.isExcluded;
final maxMemory = this.maxMemory;
final maxTasks = this.maxTasks;
final memoryMetrics = this.memoryMetrics;
final memoryUsed = this.memoryUsed;
final peakMemoryMetrics = this.peakMemoryMetrics;
final rddBlocks = this.rddBlocks;
final removeReason = this.removeReason;
final removeTime = this.removeTime;
final resourceProfileId = this.resourceProfileId;
final resources = this.resources;
final totalCores = this.totalCores;
final totalDurationMillis = this.totalDurationMillis;
final totalGcTimeMillis = this.totalGcTimeMillis;
final totalInputBytes = this.totalInputBytes;
final totalShuffleRead = this.totalShuffleRead;
final totalShuffleWrite = this.totalShuffleWrite;
final totalTasks = this.totalTasks;
return {
'activeTasks': ?activeTasks,
'addTime': ?addTime,
'attributes': ?attributes,
'completedTasks': ?completedTasks,
'diskUsed': ?diskUsed,
'excludedInStages': ?excludedInStages,
'executorId': ?executorId,
'executorLogs': ?executorLogs,
'failedTasks': ?failedTasks,
'hostPort': ?hostPort,
'isActive': ?isActive,
'isExcluded': ?isExcluded,
'maxMemory': ?maxMemory,
'maxTasks': ?maxTasks,
'memoryMetrics': ?memoryMetrics,
'memoryUsed': ?memoryUsed,
'peakMemoryMetrics': ?peakMemoryMetrics,
'rddBlocks': ?rddBlocks,
'removeReason': ?removeReason,
'removeTime': ?removeTime,
'resourceProfileId': ?resourceProfileId,
'resources': ?resources,
'totalCores': ?totalCores,
'totalDurationMillis': ?totalDurationMillis,
'totalGcTimeMillis': ?totalGcTimeMillis,
'totalInputBytes': ?totalInputBytes,
'totalShuffleRead': ?totalShuffleRead,
'totalShuffleWrite': ?totalShuffleWrite,
'totalTasks': ?totalTasks,
};
}