Packages

Low-level driver for ArangoDB

Current section

Files

Jump to
arango lib arangoex job.ex
Raw

lib/arangoex/job.ex

defmodule Arangoex.Job do
@moduledoc "ArangoDB Job methods"
# @doc """
# Returns async job
# GET /_api/job/{job-id}
# """
# @spec job(Endpoint.t) :: Arangoex.ok_error(map)
# def job(endpoint) do
# endpoint
# |> Endpoint.get("")
# end
# @doc """
# Return result of an async job
# PUT /_api/job/{job-id}
# """
# @spec job_result(Endpoint.t) :: Arangoex.ok_error(map)
# def job_result(endpoint) do
# endpoint
# |> Endpoint.get("")
# end
# @doc """
# Cancel async job
# PUT /_api/job/{job-id}/cancel
# """
# @spec job_cancel(Endpoint.t) :: Arangoex.ok_error(map)
# def job_cancel(endpoint) do
# endpoint
# |> Endpoint.get("")
# end
# @doc """
# Deletes async job
# DELETE /_api/job/{type}
# """
# @spec job_delete(Endpoint.t) :: Arangoex.ok_error(map)
# def job_delete(endpoint) do
# endpoint
# |> Endpoint.get("")
# end
# @doc """
# Returns list of async jobs
# GET /_api/job/{type}
# """
# @spec jobs(Endpoint.t) :: Arangoex.ok_error(map)
# def jobs(endpoint) do
# endpoint
# |> Endpoint.get("")
# end
end