Class: Swa::Athena::QueryExecution
- Inherits:
-
Record
- Object
- Record
- Swa::Athena::QueryExecution
show all
- Defined in:
- lib/swa/athena/query_execution.rb
Instance Method Summary
collapse
Methods inherited from Record
#data, delegate, #initialize, list, list_from_query
Constructor Details
This class inherits a constructor from Swa::Record
Instance Method Details
#id ⇒ Object
17
18
19
|
# File 'lib/swa/athena/query_execution.rb', line 17
def id
aws_record.query_execution_id
end
|
#state ⇒ Object
21
22
23
|
# File 'lib/swa/athena/query_execution.rb', line 21
def state
aws_record.status.state
end
|
#summary ⇒ Object
8
9
10
11
12
13
|
# File 'lib/swa/athena/query_execution.rb', line 8
def summary
[
pad(id, 48),
pad(state, 12)
].join(" ")
end
|