/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the athena-2017-05-18.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Athena.Model
{
///
/// Timeline statistics such as query queue time, planning time, execution time, service
/// processing time, and total execution time.
///
public partial class QueryRuntimeStatisticsTimeline
{
private long? _engineExecutionTimeInMillis;
private long? _queryPlanningTimeInMillis;
private long? _queryQueueTimeInMillis;
private long? _serviceProcessingTimeInMillis;
private long? _totalExecutionTimeInMillis;
///
/// Gets and sets the property EngineExecutionTimeInMillis.
///
/// The number of milliseconds that the query took to execute.
///
///
public long EngineExecutionTimeInMillis
{
get { return this._engineExecutionTimeInMillis.GetValueOrDefault(); }
set { this._engineExecutionTimeInMillis = value; }
}
// Check to see if EngineExecutionTimeInMillis property is set
internal bool IsSetEngineExecutionTimeInMillis()
{
return this._engineExecutionTimeInMillis.HasValue;
}
///
/// Gets and sets the property QueryPlanningTimeInMillis.
///
/// The number of milliseconds that Athena took to plan the query processing flow. This
/// includes the time spent retrieving table partitions from the data source. Note that
/// because the query engine performs the query planning, query planning time is a subset
/// of engine processing time.
///
///
public long QueryPlanningTimeInMillis
{
get { return this._queryPlanningTimeInMillis.GetValueOrDefault(); }
set { this._queryPlanningTimeInMillis = value; }
}
// Check to see if QueryPlanningTimeInMillis property is set
internal bool IsSetQueryPlanningTimeInMillis()
{
return this._queryPlanningTimeInMillis.HasValue;
}
///
/// Gets and sets the property QueryQueueTimeInMillis.
///
/// The number of milliseconds that the query was in your query queue waiting for resources.
/// Note that if transient errors occur, Athena might automatically add the query back
/// to the queue.
///
///
public long QueryQueueTimeInMillis
{
get { return this._queryQueueTimeInMillis.GetValueOrDefault(); }
set { this._queryQueueTimeInMillis = value; }
}
// Check to see if QueryQueueTimeInMillis property is set
internal bool IsSetQueryQueueTimeInMillis()
{
return this._queryQueueTimeInMillis.HasValue;
}
///
/// Gets and sets the property ServiceProcessingTimeInMillis.
///
/// The number of milliseconds that Athena took to finalize and publish the query results
/// after the query engine finished running the query.
///
///
public long ServiceProcessingTimeInMillis
{
get { return this._serviceProcessingTimeInMillis.GetValueOrDefault(); }
set { this._serviceProcessingTimeInMillis = value; }
}
// Check to see if ServiceProcessingTimeInMillis property is set
internal bool IsSetServiceProcessingTimeInMillis()
{
return this._serviceProcessingTimeInMillis.HasValue;
}
///
/// Gets and sets the property TotalExecutionTimeInMillis.
///
/// The number of milliseconds that Athena took to run the query.
///
///
public long TotalExecutionTimeInMillis
{
get { return this._totalExecutionTimeInMillis.GetValueOrDefault(); }
set { this._totalExecutionTimeInMillis = value; }
}
// Check to see if TotalExecutionTimeInMillis property is set
internal bool IsSetTotalExecutionTimeInMillis()
{
return this._totalExecutionTimeInMillis.HasValue;
}
}
}