Class: Dag::Client
- Inherits:
-
Object
- Object
- Dag::Client
- Defined in:
- lib/dag/client.rb,
lib/dag/client/api.rb,
lib/dag/client/job.rb,
lib/dag/client/table.rb,
lib/dag/client/cluster.rb,
lib/dag/client/storage.rb,
lib/dag/client/version.rb,
lib/dag/client/database.rb,
lib/dag/client/exception.rb,
lib/dag/client/job_validation.rb,
lib/dag/client/cluster_validation.rb
Defined Under Namespace
Modules: Cluster, ClusterValidation, Database, Job, JobValidation, Storage, Table Classes: API, APIFailure, APIOptionInvalid, ClusterNotOpen, ClusterRebooted, DatabaseNotFound, JobTypeInvalid, ParameterInvalid, StatusInvalid, TableAlreadyExists, TableNotFound
Constant Summary collapse
- VERSION =
"1.0.2"
Constants included from ClusterValidation
ClusterValidation::VALID_WHERE_KEYS
Instance Attribute Summary collapse
-
#api ⇒ Object
readonly
Returns the value of attribute api.
Attributes included from Cluster
Instance Method Summary collapse
- #analysis_api ⇒ Object
- #apikey ⇒ Object
-
#initialize(apikey, secret, options = {}) ⇒ Client
constructor
A new instance of Client.
- #storage_api ⇒ Object
Methods included from Storage
#buckets, #create_bucket, #delete_bucket, #delete_object, #import, #objects
Methods included from Job
#job, #job_cancel, #job_download_urls, #job_log, #jobs, #query
Methods included from Cluster
Methods included from ClusterValidation
#cluster_norm?, #cluster_norm_or_ptfailed?, #cluster_restart_status?, #cluster_status, #valid_cluster_info_list_status?, #valid_cluster_status?, #validate_cluster, #validate_cluster_param_keys
Methods included from Database
#create_database, #create_table, #database, #databases, #split_table, #table
Constructor Details
Instance Attribute Details
#api ⇒ Object (readonly)
Returns the value of attribute api.
17 18 19 |
# File 'lib/dag/client.rb', line 17 def api @api end |
Instance Method Details
#analysis_api ⇒ Object
23 24 25 |
# File 'lib/dag/client.rb', line 23 def analysis_api @api.analysis_api end |
#apikey ⇒ Object
19 20 21 |
# File 'lib/dag/client.rb', line 19 def apikey @api.apikey end |
#storage_api ⇒ Object
27 28 29 |
# File 'lib/dag/client.rb', line 27 def storage_api @api.storage_api end |