me
.
archdev
.
foundationdb
.
interpreters
DatabaseInterpreter
Related Doc:
package interpreters
object
DatabaseInterpreter
extends
QueryAlgebra
[
DatabaseContext
] with
GetInterpreter
with
SelectInterpreter
with
MutationInterpreter
with
TransactionInterpreter
with
UtilsInterpreter
Linear Supertypes
UtilsInterpreter
,
TransactionInterpreter
,
MutationInterpreter
,
SelectInterpreter
,
GetInterpreter
,
QueryAlgebra
[
DatabaseContext
],
UtilsAlgebra
[
DatabaseContext
],
TransactionAlgebra
[
DatabaseContext
],
MutationAlgebra
[
DatabaseContext
],
SelectAlgebra
[
DatabaseContext
],
GetAlgebra
[
DatabaseContext
],
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
DatabaseInterpreter
UtilsInterpreter
TransactionInterpreter
MutationInterpreter
SelectInterpreter
GetInterpreter
QueryAlgebra
UtilsAlgebra
TransactionAlgebra
MutationAlgebra
SelectAlgebra
GetAlgebra
AnyRef
Any
Hide All
Show All
Visibility
Public
All
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
def
addReadConflictKey
[
K
]
(
key:
K
)
(
implicit
arg0:
Tupler
[
K
]
,
subspace:
Subspace
=
Subspace()
)
:
DatabaseContext
[
Unit
]
Definition Classes
TransactionInterpreter
→
TransactionAlgebra
def
addReadConflictRange
[
K
]
(
range: (
K
,
K
)
)
(
implicit
arg0:
Tupler
[
K
]
,
subspace:
Subspace
=
Subspace()
)
:
DatabaseContext
[
Unit
]
Definition Classes
TransactionInterpreter
→
TransactionAlgebra
def
addWriteConflictKey
[
K
]
(
key:
K
)
(
implicit
arg0:
Tupler
[
K
]
,
subspace:
Subspace
=
Subspace()
)
:
DatabaseContext
[
Unit
]
Definition Classes
TransactionInterpreter
→
TransactionAlgebra
def
addWriteConflictRange
[
K
]
(
range: (
K
,
K
)
)
(
implicit
arg0:
Tupler
[
K
]
,
subspace:
Subspace
=
Subspace()
)
:
DatabaseContext
[
Unit
]
Definition Classes
TransactionInterpreter
→
TransactionAlgebra
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
cancel
()
:
DatabaseContext
[
Unit
]
Definition Classes
TransactionInterpreter
→
TransactionAlgebra
def
clear
[
K
]
(
key:
K
)
(
implicit
arg0:
Tupler
[
K
]
,
subspace:
Subspace
)
:
DatabaseContext
[
Unit
]
Definition Classes
MutationInterpreter
→
MutationAlgebra
def
clearRange
[
K
]
(
range: (
K
,
K
)
)
(
implicit
arg0:
Tupler
[
K
]
,
subspace:
Subspace
)
:
DatabaseContext
[
Unit
]
Definition Classes
MutationInterpreter
→
MutationAlgebra
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
close
()
:
DatabaseContext
[
Unit
]
Definition Classes
TransactionInterpreter
→
TransactionAlgebra
def
commit
()
:
DatabaseContext
[
Unit
]
Definition Classes
TransactionInterpreter
→
TransactionAlgebra
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
findKey
[
K
]
(
selector:
KeySelector
)
(
implicit
arg0:
Tupler
[
K
]
,
s:
Subspace
)
:
DatabaseContext
[
Option
[
K
]]
Definition Classes
SelectInterpreter
→
SelectAlgebra
def
get
[
K
,
V
]
(
key:
K
)
(
implicit
arg0:
Tupler
[
K
]
,
arg1:
Tupler
[
V
]
,
subspace:
Subspace
)
:
DatabaseContext
[
Option
[
V
]]
Definition Classes
GetInterpreter
→
GetAlgebra
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getCommittedVersion
()
:
DatabaseContext
[
Long
]
Definition Classes
UtilsInterpreter
→
UtilsAlgebra
def
getRange
[
K
,
V
]
(
range: (
K
,
K
)
)
(
implicit
arg0:
Tupler
[
K
]
,
arg1:
Tupler
[
V
]
,
s:
Subspace
)
:
DatabaseContext
[
Seq
[
KeyValue
[
K
,
V
]]]
Definition Classes
GetInterpreter
→
GetAlgebra
def
getRangeStream
[
K
,
V
]
(
range: (
K
,
K
)
,
limit:
Int
,
reverse:
Boolean
,
streamingMode:
StreamingMode
)
(
implicit
arg0:
Tupler
[
K
]
,
arg1:
Tupler
[
V
]
,
s:
Subspace
)
:
DatabaseContext
[
Iterator
[
KeyValue
[
K
,
V
]]]
Definition Classes
GetInterpreter
→
GetAlgebra
def
getRangeWithLimit
[
K
,
V
]
(
range: (
K
,
K
)
,
limit:
Int
)
(
implicit
arg0:
Tupler
[
K
]
,
arg1:
Tupler
[
V
]
,
s:
Subspace
)
:
DatabaseContext
[
Seq
[
KeyValue
[
K
,
V
]]]
Definition Classes
GetInterpreter
→
GetAlgebra
def
getRangeWithLimitReversed
[
K
,
V
]
(
range: (
K
,
K
)
,
limit:
Int
)
(
implicit
arg0:
Tupler
[
K
]
,
arg1:
Tupler
[
V
]
,
s:
Subspace
)
:
DatabaseContext
[
Seq
[
KeyValue
[
K
,
V
]]]
Definition Classes
GetInterpreter
→
GetAlgebra
def
getReadVersion
()
:
DatabaseContext
[
Long
]
Definition Classes
UtilsInterpreter
→
UtilsAlgebra
def
getVersionstamp
()
:
DatabaseContext
[
Long
]
Definition Classes
TransactionInterpreter
→
TransactionAlgebra
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
mutate
[
K
,
P
]
(
mutationType:
MutationType
,
key:
K
,
param:
P
)
(
implicit
arg0:
Tupler
[
K
]
,
arg1:
Tupler
[
P
]
,
subspace:
Subspace
=
Subspace()
)
:
DatabaseContext
[
Unit
]
Definition Classes
MutationInterpreter
→
MutationAlgebra
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
onError
(
e:
Throwable
)
:
DatabaseContext
[
Transaction
]
Definition Classes
TransactionInterpreter
→
TransactionAlgebra
def
raw
[
V
]
(
f: (
Transaction
) ⇒
CompletableFuture
[
V
]
)
:
DatabaseContext
[
V
]
Definition Classes
UtilsInterpreter
→
UtilsAlgebra
def
selectKey
[
K
]
(
selector:
KeySelector
)
(
implicit
arg0:
Tupler
[
K
]
,
s:
Subspace
)
:
DatabaseContext
[
Option
[
SelectedKey
[
K
]]]
Definition Classes
SelectInterpreter
→
SelectAlgebra
def
selectRange
[
K
,
V
]
(
range: (
KeySelector
,
KeySelector
)
)
(
implicit
arg0:
Tupler
[
K
]
,
arg1:
Tupler
[
V
]
,
subspace:
Subspace
)
:
DatabaseContext
[
Seq
[
SubspaceKeyValue
[
K
,
V
]]]
Definition Classes
SelectInterpreter
→
SelectAlgebra
def
selectRangeStream
[
K
,
V
]
(
range: (
KeySelector
,
KeySelector
)
,
limit:
Int
,
reverse:
Boolean
,
streamingMode:
StreamingMode
)
(
implicit
arg0:
Tupler
[
K
]
,
arg1:
Tupler
[
V
]
,
subspace:
Subspace
)
:
DatabaseContext
[
Iterator
[
SubspaceKeyValue
[
K
,
V
]]]
Definition Classes
SelectInterpreter
→
SelectAlgebra
def
selectRangeWithLimit
[
K
,
V
]
(
range: (
KeySelector
,
KeySelector
)
,
limit:
Int
)
(
implicit
arg0:
Tupler
[
K
]
,
arg1:
Tupler
[
V
]
,
subspace:
Subspace
)
:
DatabaseContext
[
Seq
[
SubspaceKeyValue
[
K
,
V
]]]
Definition Classes
SelectInterpreter
→
SelectAlgebra
def
selectRangeWithLimitReversed
[
K
,
V
]
(
range: (
KeySelector
,
KeySelector
)
,
limit:
Int
)
(
implicit
arg0:
Tupler
[
K
]
,
arg1:
Tupler
[
V
]
,
subspace:
Subspace
)
:
DatabaseContext
[
Seq
[
SubspaceKeyValue
[
K
,
V
]]]
Definition Classes
SelectInterpreter
→
SelectAlgebra
def
set
[
K
,
V
]
(
key:
K
,
value:
V
)
(
implicit
arg0:
Tupler
[
K
]
,
arg1:
Tupler
[
V
]
,
subspace:
Subspace
)
:
DatabaseContext
[
Unit
]
Definition Classes
MutationInterpreter
→
MutationAlgebra
def
setReadVersion
(
version:
Long
)
:
DatabaseContext
[
Unit
]
Definition Classes
UtilsInterpreter
→
UtilsAlgebra
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
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
(
...
)
def
watch
[
K
]
(
key:
K
)
(
implicit
arg0:
Tupler
[
K
]
,
subspace:
Subspace
=
Subspace()
)
:
DatabaseContext
[
Unit
]
Definition Classes
GetInterpreter
→
GetAlgebra
Inherited from
UtilsInterpreter
Inherited from
TransactionInterpreter
Inherited from
MutationInterpreter
Inherited from
SelectInterpreter
Inherited from
GetInterpreter
Inherited from
QueryAlgebra
[
DatabaseContext
]
Inherited from
UtilsAlgebra
[
DatabaseContext
]
Inherited from
TransactionAlgebra
[
DatabaseContext
]
Inherited from
MutationAlgebra
[
DatabaseContext
]
Inherited from
SelectAlgebra
[
DatabaseContext
]
Inherited from
GetAlgebra
[
DatabaseContext
]
Inherited from
AnyRef
Inherited from
Any
Ungrouped