case class MapIO[K, V, F <: PureFunction[K, V, java.Return.Map[V]]](_asScala: Map[K, V, _, ThrowableIO]) extends Product with Serializable
IOMap database API.
For documentation check - http://swaydb.io/tag/
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- MapIO
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new MapIO(_asScala: Map[K, V, _, ThrowableIO])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val _asScala: Map[K, V, _, ThrowableIO]
- def after(key: K): MapIO[K, V, F]
- def applyFunction(from: K, to: K, function: F): IO[Throwable, Done]
- def applyFunction(key: K, function: F): IO[Throwable, Done]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def before(key: K): MapIO[K, V, F]
- def clear(): IO[Throwable, Done]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def close(): IO[Throwable, Unit]
- def commit[P <: Prepare.Map[K, V, F]](prepare: Iterator[P]): IO[Throwable, Done]
- def commit[P <: Prepare.Map[K, V, F]](prepare: StreamIO[P]): IO[Throwable, Done]
- def commit[P <: Prepare.Map[K, V, F]](prepare: List[P]): IO[Throwable, Done]
- def contains(key: K): IO[Throwable, Boolean]
- def delete(): IO[Throwable, Unit]
- def drop(count: Integer): StreamIO[KeyVal[K, V]]
- def dropWhile(function: Predicate[KeyVal[K, V]]): StreamIO[KeyVal[K, V]]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- implicit val exceptionHandler: Throwable.type
- def expiration(key: K): IO[Throwable, Optional[Deadline]]
- def expire(keys: Iterator[Pair[K, Duration]]): IO[Throwable, Done]
- def expire(keys: StreamIO[Pair[K, Duration]]): IO[Throwable, Done]
- def expire(keys: List[Pair[K, Duration]]): IO[Throwable, Done]
- def expire(from: K, to: K, after: Duration): IO[Throwable, Done]
- def expire(key: K, after: Duration): IO[Throwable, Done]
- def filter(function: Predicate[KeyVal[K, V]]): StreamIO[KeyVal[K, V]]
- def filterNot(function: Predicate[KeyVal[K, V]]): StreamIO[KeyVal[K, V]]
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def flatMap[B](function: JavaFunction[KeyVal[K, V], StreamIO[B]]): StreamIO[B]
- def foldLeft[B](initial: B)(function: BiFunction[B, KeyVal[K, V], B]): IO[Throwable, B]
- def forEach(function: Consumer[KeyVal[K, V]]): StreamIO[Unit]
- def from(key: K): MapIO[K, V, F]
- def fromOrAfter(key: K): MapIO[K, V, F]
- def fromOrBefore(key: K): MapIO[K, V, F]
- def get(key: K): IO[Throwable, Optional[V]]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getKey(key: K): IO[Throwable, Optional[K]]
- def getKeyValue(key: K): IO[Throwable, Optional[KeyVal[K, V]]]
- def headOptional: IO[Throwable, Optional[KeyVal[K, V]]]
- def isEmpty: IO[Throwable, Boolean]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def keySize(key: K): Integer
- def keys: SetIO[K, VoidS[K]]
- def lastOptional: IO[Throwable, Optional[KeyVal[K, V]]]
- def level0Meter: LevelZeroMeter
- def levelMeter(levelNumber: Integer): Optional[LevelMeter]
- def map[B](function: JavaFunction[KeyVal[K, V], B]): StreamIO[B]
- def mightContain(key: K): IO[Throwable, Boolean]
- def mightContainFunction(functionId: K): IO[Throwable, Boolean]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nonEmpty: IO[Throwable, Boolean]
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def put(keyValues: Iterator[KeyVal[K, V]]): IO[Throwable, Done]
- def put(keyValues: StreamIO[KeyVal[K, V]]): IO[Throwable, Done]
- def put(keyValues: List[KeyVal[K, V]]): IO[Throwable, Done]
- def put(key: K, value: V, expireAfter: Duration): IO[Throwable, Done]
- def put(key: K, value: V): IO[Throwable, Done]
- def registerFunction(function: F): IO[Throwable, Done]
- def remove(keys: Iterator[K]): IO[Throwable, Done]
- def remove(keys: StreamIO[K]): IO[Throwable, Done]
- def remove(keys: List[K]): IO[Throwable, Done]
- def remove(from: K, to: K): IO[Throwable, Done]
- def remove(key: K): IO[Throwable, Done]
- def reverse: MapIO[K, V, F]
- def size: IO[Throwable, Integer]
- def sizeOfBloomFilterEntries: IO[Throwable, Integer]
- def sizeOfSegments: Long
- def stream: StreamIO[KeyVal[K, V]]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def take(count: Integer): StreamIO[KeyVal[K, V]]
- def takeWhile(function: Predicate[KeyVal[K, V]]): StreamIO[KeyVal[K, V]]
- def timeLeft(key: K): IO[Throwable, Optional[Duration]]
-
def
toString(): String
- Definition Classes
- MapIO → AnyRef → Any
- def update(keyValues: Iterator[KeyVal[K, V]]): IO[Throwable, Done]
- def update(keyValues: StreamIO[KeyVal[K, V]]): IO[Throwable, Done]
- def update(keyValues: List[KeyVal[K, V]]): IO[Throwable, Done]
- def update(from: K, to: K, value: V): IO[Throwable, Done]
- def update(key: K, value: V): IO[Throwable, Done]
- def valueSize(value: V): Integer
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()