stm
.
clustering
.
ClassificationTree
AtomicApi
Related Doc:
package ClassificationTree
class
AtomicApi
extends
AtomicApiBase
Linear Supertypes
AtomicApiBase
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
AtomicApi
AtomicApiBase
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
AtomicApi
(
priority:
Duration
=
0.seconds
,
maxRetries:
Int
=
20
)
(
implicit
cluster:
Restm
)
Type Members
class
SyncApi
extends
SyncApiBase
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
add
(
label:
String
,
value:
ClassificationTreeItem
)
:
Future
[
Unit
]
def
addAll
(
label:
String
,
value:
List
[
ClassificationTreeItem
]
)
:
Future
[
Unit
]
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
atomic
[
T
]
(
f: (
STMTxnCtx
) ⇒
Future
[
T
]
)
:
Future
[
T
]
Definition Classes
AtomicApiBase
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
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]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getClusterByTreeId
(
value:
String
)
:
Future
[
STMPtr
[
ClassificationTreeNode
]]
def
getClusterCount
(
ptr:
STMPtr
[
ClassificationTreeNode
]
)
:
Future
[
Map
[
String
,
Int
]]
def
getClusterId
(
value:
ClassificationTreeItem
)
:
Future
[
STMPtr
[
ClassificationTreeNode
]]
def
getClusterPath
(
value:
STMPtr
[
ClassificationTreeNode
]
)
:
Future
[
NodeInfo
]
def
getClusterStrategy
:
Future
[
ClassificationStrategy
]
def
getRoot
()
:
Future
[
STMPtr
[
ClassificationTreeNode
]]
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
setClusterStrategy
(
value:
ClassificationStrategy
)
:
Future
[
Unit
]
def
splitCluster
(
node:
STMPtr
[
ClassificationTreeNode
]
,
root:
STMPtr
[
ClassificationTreeNode
]
,
strategy:
ClassificationStrategy
)
:
Future
[
Task
[
Int
]]
def
splitTree
(
strategy:
ClassificationStrategy
)
:
Future
[
Task
[
Int
]]
def
stream
()
:
Future
[
Stream
[
LabeledItem
]]
def
sync
:
SyncApi
def
sync
(
duration:
Duration
)
:
SyncApi
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
(
...
)
Inherited from
AtomicApiBase
Inherited from
AnyRef
Inherited from
Any
Ungrouped