Module ImportFrom alias ImportFrom alias Import alias Import alias ImportFrom alias ClassDef bases NameLoad body Expr Str ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore IfExp CompareIs NameLoad NameLoad ListLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore ListLoad NameLoad NameLoad NameLoad Assign NameStore Dict Num Num Num Num Num Str Str Str Str Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore IfExp CompareIs NameLoad NameLoad Dict NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareNotIn AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If CompareIn AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr orelse Return Call NameLoad AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad Num NameLoad NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr While UnaryOpNot Call AttributeLoad NameLoad attr body If BoolOpOr CompareIs NameLoad NameLoad CompareLt Call NameLoad BinOpSub Call AttributeLoad NameLoad attr NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore IfExp Call NameLoad NameLoad NameLoad NameLoad If Call NameLoad NameLoad body Expr Call NameLoad NameLoad orelse Raise Call NameLoad Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad UnaryOpNot Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call AttributeLoad NameLoad attr body Raise Call NameLoad Str orelse Expr Call AttributeLoad NameLoad attr If CompareIs AttributeLoad NameLoad attr NameLoad body For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Expr Yield NameLoad orelse For NameStore AttributeLoad NameLoad attr body Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call AttributeLoad NameLoad attr body Raise Call NameLoad Str orelse Expr Call AttributeLoad NameLoad attr If CompareIs AttributeLoad NameLoad attr NameLoad body For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad body Expr Yield NameLoad orelse For NameStore AttributeLoad NameLoad attr body Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Return CompareIn AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Return CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Return CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Return CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Return CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Return CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list
N/A __future__ print_function __future__ unicode_literals N/A time N/A warnings tdclient.model Model Schema N/A object N/A N/A Schema of a database table on Treasure Data Service
     Field N/A object N/A __init__ N/A N/A self name type N/A N/A N/A N/A self _name name N/A N/A self _type type N/A name N/A N/A self N/A N/A N/A 
            TODO: add docstring
             N/A N/A self _name N/A property type N/A N/A self N/A N/A N/A 
            TODO: add docstring
             N/A N/A self _type N/A property N/A __init__ N/A N/A self fields N/A None N/A N/A fields N/A N/A fields None N/A fields N/A N/A self _fields fields N/A fields N/A N/A self N/A N/A N/A 
        TODO: add docstring
         N/A N/A self _fields N/A property add_field N/A N/A self name type N/A N/A N/A 
        TODO: add docstring
         N/A N/A N/A N/A self _fields append N/A N/A Schema Field name type N/A N/A Job N/A Model N/A N/A Job on Treasure Data Service
     N/A STATUS_QUEUED queued N/A STATUS_BOOTING booting N/A STATUS_RUNNING running N/A STATUS_SUCCESS success N/A STATUS_ERROR error N/A STATUS_KILLED killed N/A FINISHED_STATUS N/A STATUS_SUCCESS STATUS_ERROR STATUS_KILLED N/A JOB_PRIORITY N/A -2 -1 0 1 2 VERY LOW LOW NORMAL HIGH VERY HIGH __init__ N/A N/A self client job_id type query N/A kwargs N/A N/A N/A N/A N/A super Job self __init__ client N/A N/A self _job_id job_id N/A N/A self _type type N/A N/A self _query query N/A N/A N/A self _feed kwargs N/A _feed N/A N/A self data N/A None N/A N/A data N/A N/A data None N/A data N/A N/A self _url N/A N/A data get url N/A N/A self _status N/A N/A data get status N/A N/A self _debug N/A N/A data get debug N/A N/A self _start_at N/A N/A data get start_at N/A N/A self _end_at N/A N/A data get end_at N/A N/A self _cpu_time N/A N/A data get cpu_time N/A N/A self _result N/A N/A data get result N/A N/A self _result_size N/A N/A data get result_size N/A N/A self _result_url N/A N/A data get result_url N/A N/A self _hive_result_schema N/A N/A data get hive_result_schema N/A N/A self _priority N/A N/A data get priority N/A N/A self _retry_limit N/A N/A data get retry_limit N/A N/A self _org_name N/A N/A data get org_name N/A N/A self _database N/A N/A data get database N/A update N/A N/A self N/A N/A N/A Update all fields of the job
         N/A data N/A N/A N/A N/A self _client api show_job N/A self _job_id N/A N/A N/A self _feed data N/A _update_status N/A N/A self N/A N/A N/A N/A N/A warnings warn _update_status() will be removed from future release. Please use update() instaed.) category DeprecationWarning N/A N/A N/A self update N/A _update_progress N/A N/A self N/A N/A N/A Update `_status` field of the job if it's not finished
         N/A N/A N/A self _status N/A self FINISHED_STATUS N/A N/A N/A self _status N/A N/A N/A self _client job_status N/A self _job_id N/A id N/A N/A self N/A N/A N/A 
        Returns: a string represents the identifier of the job
         N/A N/A self _job_id N/A property job_id N/A N/A self N/A N/A N/A 
        Returns: a string represents the identifier of the job
         N/A N/A self _job_id N/A property type N/A N/A self N/A N/A N/A 
        Returns: a string represents the engine type of the job (e.g. "hive", "presto", etc.)
         N/A N/A self _type N/A property result_size N/A N/A self N/A N/A N/A 
        Returns: the length of job result
         N/A N/A self _result_size N/A property result_url N/A N/A self N/A N/A N/A 
        Returns: a string of URL of the result on Treasure Data Service
         N/A N/A self _result_url N/A property result_schema N/A N/A self N/A N/A N/A 
        Returns: an array of array represents the type of result columns (Hive specific) (e.g. [["_c1", "string"], ["_c2", "bigint"]])
         N/A N/A self _hive_result_schema N/A property priority N/A N/A self N/A N/A N/A 
        Returns: a string represents the priority of the job (e.g. "NORMAL", "HIGH", etc.)
         N/A N/A N/A self _priority N/A self JOB_PRIORITY N/A N/A N/A N/A self JOB_PRIORITY N/A N/A self _priority N/A N/A N/A str N/A self _priority N/A property retry_limit N/A N/A self N/A N/A N/A 
        TODO: add docstring
         N/A N/A self _retry_limit N/A property org_name N/A N/A self N/A N/A N/A 
        Returns: organization name
         N/A N/A self _org_name N/A property database N/A N/A self N/A N/A N/A 
        Returns: a string represents the name of a database that job is running on
         N/A N/A self _database N/A property debug N/A N/A self N/A N/A N/A 
        Returns: a :class:`dict` of debug output (e.g. "cmdout", "stderr")
         N/A N/A self _debug N/A property wait N/A N/A self timeout wait_interval wait_callback callback N/A None 5 None None N/A N/A Sleep until the job has been finished

        Params:
            timeout (int): Timeout in seconds. No timeout by default.
            wait_interval (int): wait interval in second. Default 5 seconds.
            wait_callback (callable): A callable to be called on every tick of wait interval.
         N/A started_at N/A N/A time time N/A N/A N/A N/A self finished N/A N/A N/A N/A timeout None N/A N/A abs N/A N/A N/A time time started_at timeout N/A N/A N/A N/A time sleep wait_interval N/A cb N/A N/A callable wait_callback wait_callback callback N/A N/A callable cb N/A N/A N/A cb self N/A N/A N/A RuntimeError timeout N/A N/A N/A self update N/A kill N/A N/A self N/A N/A N/A Kill the job

        Returns: a string represents the status of killed job ("queued", "running")
         N/A response N/A N/A N/A self _client kill N/A self job_id N/A N/A N/A self update N/A response N/A query N/A N/A self N/A N/A N/A 
        Returns: a string represents the query string of the job
         N/A N/A self _query N/A property status N/A N/A self N/A N/A N/A 
        Returns: a string represents the status of the job ("success", "error", "killed", "queued", "running")
         N/A N/A N/A N/A self _query None N/A N/A N/A self finished N/A N/A N/A N/A self update N/A N/A self _status N/A url N/A N/A self N/A N/A N/A 
        Returns: a string of URL of the job on Treasure Data Service
         N/A N/A self _url N/A property result N/A N/A self N/A N/A N/A 
        Returns: an iterator of rows in result set
         N/A N/A N/A N/A self success N/A N/A N/A ValueError result is not ready N/A N/A N/A N/A self update N/A N/A N/A self _result None N/A N/A row N/A N/A N/A self _client job_result_each N/A self _job_id N/A N/A N/A row N/A N/A row N/A self _result N/A N/A N/A row N/A result_format N/A N/A self fmt N/A N/A N/A 
        Params:
            fmt (str): output format of result set

        Returns: an iterator of rows in result set
         N/A N/A N/A N/A self success N/A N/A N/A ValueError result is not ready N/A N/A N/A N/A self update N/A N/A N/A self _result None N/A N/A row N/A N/A N/A self _client job_result_format_each N/A self _job_id fmt N/A N/A N/A row N/A N/A row N/A self _result N/A N/A N/A row N/A finished N/A N/A self N/A N/A N/A 
        Returns: `True` if the job has been finished in success, error or killed
         N/A N/A N/A self _update_progress N/A N/A N/A self _status N/A self FINISHED_STATUS N/A success N/A N/A self N/A N/A N/A 
        Returns: `True` if the job has been finished in success
         N/A N/A N/A self _update_progress N/A N/A N/A self _status N/A self STATUS_SUCCESS N/A error N/A N/A self N/A N/A N/A 
        Returns: `True` if the job has been finished in error
         N/A N/A N/A self _update_progress N/A N/A N/A self _status N/A self STATUS_ERROR N/A killed N/A N/A self N/A N/A N/A 
        Returns: `True` if the job has been finished in killed
         N/A N/A N/A self _update_progress N/A N/A N/A self _status N/A self STATUS_KILLED N/A queued N/A N/A self N/A N/A N/A 
        Returns: `True` if the job is queued
         N/A N/A N/A self _update_progress N/A N/A N/A self _status N/A self STATUS_QUEUED N/A running N/A N/A self N/A N/A N/A 
        Returns: `True` if the job is running
         N/A N/A N/A self _update_progress N/A N/A N/A self _status N/A self STATUS_RUNNING N/A N/A