com
.
johnsnowlabs
.
nlp
.
annotators
.
btm
TMNodesWriter
Related Doc:
package btm
class
TMNodesWriter
extends
StorageBatchWriter
[
TrieNode
]
Linear Supertypes
StorageBatchWriter
[
TrieNode
],
StorageWriter
[
TrieNode
],
HasConnection
,
AutoCloseable
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
TMNodesWriter
StorageBatchWriter
StorageWriter
HasConnection
AutoCloseable
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
TMNodesWriter
(
connection:
RocksDBConnection
)
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
(
word:
Int
,
value:
TrieNode
)
:
Unit
def
add
(
word:
String
,
content:
TrieNode
)
:
Unit
Definition Classes
StorageBatchWriter
→
StorageWriter
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
close
()
:
Unit
Definition Classes
StorageBatchWriter
→
StorageWriter
→
HasConnection
→ AutoCloseable
val
connection
:
RocksDBConnection
Attributes
protected
Definition Classes
TMNodesWriter
→
HasConnection
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
flush
(
batch:
WriteBatch
)
:
Unit
Definition Classes
StorageBatchWriter
→
StorageWriter
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getConnection
:
RocksDBConnection
Definition Classes
HasConnection
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
merge
(
word:
String
,
content:
TrieNode
)
:
Unit
Definition Classes
StorageBatchWriter
def
merge
(
batch:
WriteBatch
,
word:
String
,
content:
TrieNode
)
:
Unit
Attributes
protected
Definition Classes
StorageWriter
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
put
(
batch:
WriteBatch
,
word:
String
,
content:
TrieNode
)
:
Unit
Attributes
protected
Definition Classes
StorageWriter
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toBytes
(
content:
TrieNode
)
:
Array
[
Byte
]
Definition Classes
TMNodesWriter
→
StorageWriter
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
writeBufferSize
:
Int
Attributes
protected
Definition Classes
TMNodesWriter
→
StorageWriter
Inherited from
StorageBatchWriter
[
TrieNode
]
Inherited from
StorageWriter
[
TrieNode
]
Inherited from
HasConnection
Inherited from
AutoCloseable
Inherited from
AnyRef
Inherited from
Any
Ungrouped