stm
.
clustering
ClassificationTreeNode
Related Docs:
object ClassificationTreeNode
|
package clustering
case class
ClassificationTreeNode
(
parent:
Option
[
STMPtr
[
ClassificationTreeNode
]]
,
pass:
Option
[
STMPtr
[
ClassificationTreeNode
]] =
None
,
fail:
Option
[
STMPtr
[
ClassificationTreeNode
]] =
None
,
exception:
Option
[
STMPtr
[
ClassificationTreeNode
]] =
None
,
itemBuffer:
Option
[
PageTree
]
,
splitBuffer:
Option
[
PageTree
] =
None
,
splitTask:
Option
[
Task
[
String
]] =
None
,
rule:
Option
[
KryoValue
[
RuleData
]] =
None
)
extends
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
ClassificationTreeNode
Serializable
Serializable
Product
Equals
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
ClassificationTreeNode
(
parent:
Option
[
STMPtr
[
ClassificationTreeNode
]]
,
pass:
Option
[
STMPtr
[
ClassificationTreeNode
]] =
None
,
fail:
Option
[
STMPtr
[
ClassificationTreeNode
]] =
None
,
exception:
Option
[
STMPtr
[
ClassificationTreeNode
]] =
None
,
itemBuffer:
Option
[
PageTree
]
,
splitBuffer:
Option
[
PageTree
] =
None
,
splitTask:
Option
[
Task
[
String
]] =
None
,
rule:
Option
[
KryoValue
[
RuleData
]] =
None
)
Type Members
class
NodeAtomicApi
extends
AtomicApiBase
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
(
value:
Page
,
self:
STMPtr
[
ClassificationTreeNode
]
,
root:
STMPtr
[
ClassificationTreeNode
]
,
strategy:
ClassificationStrategy
,
maxSplitDepth:
Int
=
1
)
(
implicit
ctx:
STMTxnCtx
)
:
Future
[
Int
]
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
atomic
(
priority:
Duration
=
0.seconds
,
maxRetries:
Int
=
20
)
(
implicit
cluster:
Restm
)
:
NodeAtomicApi
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
val
exception
:
Option
[
STMPtr
[
ClassificationTreeNode
]]
val
fail
:
Option
[
STMPtr
[
ClassificationTreeNode
]]
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
find
(
value:
ClassificationTreeItem
)
(
implicit
ctx:
STMTxnCtx
)
:
Future
[
Option
[
STMPtr
[
ClassificationTreeNode
]]]
def
firstNode
(
self:
STMPtr
[
ClassificationTreeNode
]
)
(
implicit
ctx:
STMTxnCtx
)
:
Future
[
STMPtr
[
ClassificationTreeNode
]]
def
getByTreeId
(
cursor:
BigInt
,
self:
STMPtr
[
ClassificationTreeNode
]
)
(
implicit
ctx:
STMTxnCtx
)
:
Future
[
STMPtr
[
ClassificationTreeNode
]]
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getInfo
(
self:
STMPtr
[
ClassificationTreeNode
]
,
root:
STMPtr
[
ClassificationTreeNode
]
)
(
implicit
ctx:
STMTxnCtx
)
:
Future
[
NodeInfo
]
def
getTreeDepth
(
self:
STMPtr
[
ClassificationTreeNode
]
,
root:
STMPtr
[
ClassificationTreeNode
]
)
(
implicit
ctx:
STMTxnCtx
)
:
Future
[
Int
]
def
getTreeId
(
self:
STMPtr
[
ClassificationTreeNode
]
,
root:
STMPtr
[
ClassificationTreeNode
]
)
(
implicit
ctx:
STMTxnCtx
)
:
Future
[
BigInt
]
def
getTreeId_Minus1
(
self:
STMPtr
[
ClassificationTreeNode
]
,
root:
STMPtr
[
ClassificationTreeNode
]
)
(
implicit
ctx:
STMTxnCtx
)
:
Future
[
BigInt
]
def
insert
(
self:
STMPtr
[
ClassificationTreeNode
]
,
root:
STMPtr
[
ClassificationTreeNode
]
,
strategy:
ClassificationStrategy
,
maxSplitDepth:
Int
,
results:
Map
[
Int
,
Page
]
)
(
implicit
ctx:
STMTxnCtx
)
:
Future
[
Int
]
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
val
itemBuffer
:
Option
[
PageTree
]
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
nextBlock
(
cursor:
BigInt
,
self:
STMPtr
[
ClassificationTreeNode
]
,
root:
STMPtr
[
ClassificationTreeNode
]
)
(
implicit
ctx:
STMTxnCtx
)
:
Future
[(
BigInt
,
Stream
[
Page
])]
def
nextNode
(
self:
STMPtr
[
ClassificationTreeNode
]
,
root:
STMPtr
[
ClassificationTreeNode
]
)
(
implicit
ctx:
STMTxnCtx
)
:
Future
[
Option
[
STMPtr
[
ClassificationTreeNode
]]]
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
pageStream
(
self:
STMPtr
[
ClassificationTreeNode
]
,
duration:
Duration
=
30.seconds
)
(
implicit
ctx:
STMTxnCtx
)
:
Stream
[
Page
]
val
parent
:
Option
[
STMPtr
[
ClassificationTreeNode
]]
val
pass
:
Option
[
STMPtr
[
ClassificationTreeNode
]]
def
recursePath
(
self:
STMPtr
[
ClassificationTreeNode
]
,
path:
List
[
Int
]
)
(
implicit
ctx:
STMTxnCtx
)
:
Future
[
STMPtr
[
ClassificationTreeNode
]]
def
route
(
value:
Page
,
self:
STMPtr
[
ClassificationTreeNode
]
,
root:
STMPtr
[
ClassificationTreeNode
]
,
strategy:
ClassificationStrategy
,
maxSplitDepth:
Int
)
(
implicit
ctx:
STMTxnCtx
)
:
Future
[
Int
]
val
rule
:
Option
[
KryoValue
[
RuleData
]]
def
split
(
value:
Page
,
deserializedRule: (
KeyValue
[
String
,
Any
]) ⇒
Boolean
=
getRule
)
:
Map
[
Int
,
Page
]
val
splitBuffer
:
Option
[
PageTree
]
val
splitTask
:
Option
[
Task
[
String
]]
def
stream
(
self:
STMPtr
[
ClassificationTreeNode
]
,
duration:
Duration
=
30.seconds
)
(
implicit
ctx:
STMTxnCtx
)
:
Stream
[
PageRow
]
def
sync
:
SyncApi
def
sync
(
duration:
Duration
)
:
SyncApi
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
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
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
AnyRef
Inherited from
Any
Ungrouped