TableStatistics.fromJson constructor

TableStatistics.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory TableStatistics.fromJson(Map<String, dynamic> json) {
  return TableStatistics(
    ddls: json['Ddls'] as int?,
    deletes: json['Deletes'] as int?,
    fullLoadCondtnlChkFailedRows:
        json['FullLoadCondtnlChkFailedRows'] as int?,
    fullLoadEndTime: timeStampFromJson(json['FullLoadEndTime']),
    fullLoadErrorRows: json['FullLoadErrorRows'] as int?,
    fullLoadReloaded: json['FullLoadReloaded'] as bool?,
    fullLoadRows: json['FullLoadRows'] as int?,
    fullLoadStartTime: timeStampFromJson(json['FullLoadStartTime']),
    inserts: json['Inserts'] as int?,
    lastUpdateTime: timeStampFromJson(json['LastUpdateTime']),
    schemaName: json['SchemaName'] as String?,
    tableName: json['TableName'] as String?,
    tableState: json['TableState'] as String?,
    updates: json['Updates'] as int?,
    validationFailedRecords: json['ValidationFailedRecords'] as int?,
    validationPendingRecords: json['ValidationPendingRecords'] as int?,
    validationState: json['ValidationState'] as String?,
    validationStateDetails: json['ValidationStateDetails'] as String?,
    validationSuspendedRecords: json['ValidationSuspendedRecords'] as int?,
  );
}