Id

com.outr.arango.Id
See theId companion object
case class Id[D](value: String, collection: String) extends Ordered[Id[D]]

Id represents the _key, _id, and _rev for a document

Type parameters

D

the document type

Value parameters

collection

the collection name this id belongs to

value

the unique identity

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Ordered[Id[D]]
trait Comparable[Id[D]]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def compare(that: Id[D]): Int

Attributes

Definition Classes
Ordered
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any

Inherited methods

def <(that: Id[D]): Boolean

Attributes

Inherited from:
Ordered
def <=(that: Id[D]): Boolean

Attributes

Inherited from:
Ordered
def >(that: Id[D]): Boolean

Attributes

Inherited from:
Ordered
def >=(that: Id[D]): Boolean

Attributes

Inherited from:
Ordered
def compareTo(that: Id[D]): Int

Attributes

Inherited from:
Ordered
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

lazy val _id: String

Id represents the concatenation of collection name and key.

Id represents the concatenation of collection name and key.

For example: "myusers/3456789"

Attributes

See also
lazy val _key: String

Key represents the unique identifier within a collection.

Key represents the unique identifier within a collection.

Attributes

See also