TaskStatus(TTaskStatus status) { stats = new Stats(status.stats); dataErrors = LogMessage.fromThrift(status.data_errors); warnings = LogMessage.fromThrift(status.warnings); } }
GetSchemaResult(TGetSchemaResult result) { schema = new Schema(result.schema); warnings = LogMessage.fromThrift(result.warnings); } }
public PlanRequestResult(TPlanRequestResult result) { tasks = Task.fromThrift(result.tasks); schema = new Schema(result.schema); requestId = new UniqueId(result.request_id); hosts = NetworkAddress.fromThrift(result.hosts); warnings = LogMessage.fromThrift(result.warnings); } }