WalType

avokka.arangodb.models.WalType$
See theWalType companion class
object WalType extends IntEnum[WalType], VPackValueEnum[Int, WalType]

Attributes

Companion
class
Graph
Supertypes
trait Sum
trait Mirror
trait VPackValueEnum[Int, WalType]
trait IntEnum[WalType]
trait ValueEnum[Int, WalType]
class Object
trait Matchable
class Any
Show all
Self type
WalType.type

Members list

Type members

Classlikes

case object AbortTransaction extends WalType

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class WalType
class IntEnumEntry
trait ValueEnumEntry[Int]
class Object
trait Matchable
class Any
Show all
Self type
case object ChangeCollection extends WalType

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class WalType
class IntEnumEntry
trait ValueEnumEntry[Int]
class Object
trait Matchable
class Any
Show all
Self type
case object ChangeView extends WalType

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class WalType
class IntEnumEntry
trait ValueEnumEntry[Int]
class Object
trait Matchable
class Any
Show all
Self type
ChangeView.type
case object CommitTransaction extends WalType

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class WalType
class IntEnumEntry
trait ValueEnumEntry[Int]
class Object
trait Matchable
class Any
Show all
Self type
case object CreateCollection extends WalType

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class WalType
class IntEnumEntry
trait ValueEnumEntry[Int]
class Object
trait Matchable
class Any
Show all
Self type
case object CreateDatabase extends WalType

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class WalType
class IntEnumEntry
trait ValueEnumEntry[Int]
class Object
trait Matchable
class Any
Show all
Self type
case object CreateIndex extends WalType

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class WalType
class IntEnumEntry
trait ValueEnumEntry[Int]
class Object
trait Matchable
class Any
Show all
Self type
case object CreateView extends WalType

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class WalType
class IntEnumEntry
trait ValueEnumEntry[Int]
class Object
trait Matchable
class Any
Show all
Self type
CreateView.type
case object DropCollection extends WalType

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class WalType
class IntEnumEntry
trait ValueEnumEntry[Int]
class Object
trait Matchable
class Any
Show all
Self type
case object DropDatabase extends WalType

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class WalType
class IntEnumEntry
trait ValueEnumEntry[Int]
class Object
trait Matchable
class Any
Show all
Self type
case object DropIndex extends WalType

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class WalType
class IntEnumEntry
trait ValueEnumEntry[Int]
class Object
trait Matchable
class Any
Show all
Self type
DropIndex.type
case object DropView extends WalType

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class WalType
class IntEnumEntry
trait ValueEnumEntry[Int]
class Object
trait Matchable
class Any
Show all
Self type
DropView.type
case object InsertReplaceDocument extends WalType

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class WalType
class IntEnumEntry
trait ValueEnumEntry[Int]
class Object
trait Matchable
class Any
Show all
Self type
case object RemoveDocument extends WalType

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class WalType
class IntEnumEntry
trait ValueEnumEntry[Int]
class Object
trait Matchable
class Any
Show all
Self type
case object RenameCollection extends WalType

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class WalType
class IntEnumEntry
trait ValueEnumEntry[Int]
class Object
trait Matchable
class Any
Show all
Self type
case object StartTransaction extends WalType

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class WalType
class IntEnumEntry
trait ValueEnumEntry[Int]
class Object
trait Matchable
class Any
Show all
Self type
case object TruncateCollection extends WalType

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class WalType
class IntEnumEntry
trait ValueEnumEntry[Int]
class Object
trait Matchable
class Any
Show all
Self type

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Inherited methods

inline protected def findValues: IndexedSeq[A]

Returns a Seq of A objects that the macro was able to find.

Returns a Seq of A objects that the macro was able to find.

You will want to use this in some way to implement your values method. In fact, if you aren't using this method...why are you even bothering with this lib?

Attributes

Inherited from:
IntEnumCompat (hidden)
def withValue(i: Int): EntryType

Tries to get an EntryType by the supplied value. The value corresponds to the .value of the case objects implementing EntryType

Tries to get an EntryType by the supplied value. The value corresponds to the .value of the case objects implementing EntryType

Like Enumeration 's withValue, this method will throw if the value does not match any of the values' .value values.

Attributes

Inherited from:
ValueEnum
def withValueEither(i: Int): Either[NoSuchMember[ValueType, ValueEnumEntry[ValueType]], EntryType]

Returns an [[Right[EntryType]] ] for a given value, or a [[Left[NoSuchMember]] ] if the value does not match any of the values' .value values.

Returns an [[Right[EntryType]] ] for a given value, or a [[Left[NoSuchMember]] ] if the value does not match any of the values' .value values.

Attributes

Inherited from:
ValueEnum
def withValueOpt(i: Int): Option[EntryType]

Optionally returns an EntryType for a given value.

Optionally returns an EntryType for a given value.

Attributes

Inherited from:
ValueEnum

Concrete fields

override val values: IndexedSeq[WalType]

The sequence of values for your Enum. You will typically want to implement this in your extending class as a val so that withValue and friends are as efficient as possible.

The sequence of values for your Enum. You will typically want to implement this in your extending class as a val so that withValue and friends are as efficient as possible.

Feel free to implement this however you'd like (including messing around with ordering, etc) if that fits your needs better.

Attributes

Inherited fields

final lazy val valuesToEntriesMap: Map[Int, WalType]

Map of ValueType to EntryType members

Map of ValueType to EntryType members

Attributes

Inherited from:
ValueEnum

Implicits

Inherited implicits

implicit def vpackDecoder(implicit decoder: VPackDecoder[Int]): VPackDecoder[T]

Attributes

Inherited from:
VPackValueEnum
implicit def vpackEncoder(implicit encoder: VPackEncoder[Int]): VPackEncoder[T]

Attributes

Inherited from:
VPackValueEnum