org
.
nlp4l
.
framework
.
dao
RunDAO
Related Doc:
package dao
class
RunDAO
extends
HasDatabaseConfigProvider
[
JdbcProfile
]
Linear Supertypes
HasDatabaseConfigProvider
[
JdbcProfile
],
HasDatabaseConfig
[
JdbcProfile
],
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
RunDAO
HasDatabaseConfigProvider
HasDatabaseConfig
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
RunDAO
(
dbConfigProvider:
DatabaseConfigProvider
)
Annotations
@Inject
()
Type Members
class
JobStatusTable
extends
slick.driver.JdbcProfile.API.Table
[
JobStatus
]
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
addRecord
(
jobId:
Int
,
runId:
Int
,
dicAttr:
DictionaryAttribute
,
r:
Record
)
:
Future
[
Int
]
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
createTable
(
jobId:
Int
,
runId:
Int
,
dicAttr:
DictionaryAttribute
)
:
Future
[
Int
]
final
def
db
:
Database
Attributes
protected
Definition Classes
HasDatabaseConfig
final
val
dbConfig
:
DatabaseConfig
[
JdbcProfile
]
Attributes
protected
Definition Classes
HasDatabaseConfigProvider → HasDatabaseConfig
val
dbConfigProvider
:
DatabaseConfigProvider
Attributes
protected
Definition Classes
RunDAO
→ HasDatabaseConfigProvider
def
deleteJobStatusById
(
id:
Int
)
:
Future
[
Int
]
def
deleteJobStatusByJobId
(
jobId:
Int
)
:
Future
[
Int
]
def
deleteJobStatusByJobIdAndRunId
(
jobId:
Int
,
runId:
Int
)
:
Future
[
Int
]
def
deleteRecord
(
jobId:
Int
,
runId:
Int
,
recordId:
Int
)
:
Future
[
Int
]
final
lazy val
driver
:
JdbcProfile
Attributes
protected
Definition Classes
HasDatabaseConfig
def
dropTable
(
jobId:
Int
,
runId:
Int
)
:
Future
[
Int
]
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
fetch
(
tableName:
String
,
job:
Job
,
dic:
DictionaryAttribute
,
sort:
String
,
order:
String
,
offset:
Int
=
0
,
size:
Int
=
10
,
filters:
Map
[
String
,
String
]
)
:
Dictionary
def
fetchAll
(
jobId:
Int
,
runId:
Int
,
sort:
String
=
"id"
,
order:
String
=
"asc"
)
:
Dictionary
def
fetchAllColumn
(
jobId:
Int
,
runId:
Int
)
:
Dictionary
def
fetchAllJobStatus
()
:
Future
[
Seq
[
JobStatus
]]
def
fetchCellValueList
(
jobId:
Int
,
runId:
Int
,
cellname:
String
)
:
List
[
Any
]
def
fetchJobStatus
(
sort:
String
,
order:
String
,
offset:
Int
=
0
,
size:
Int
=
10
)
:
Future
[
Seq
[
JobStatus
]]
def
fetchRecordById
(
jobId:
Int
,
runId:
Int
,
recordId:
Int
)
:
Option
[
Record
]
def
fetchRecordData
(
jobId:
Int
,
runId:
Int
,
recordId:
Int
)
:
Map
[
String
,
Any
]
def
fetchRecordHashcode
(
jobId:
Int
,
runId:
Int
,
recordId:
Int
)
:
Int
def
fetchRunStatus
(
jobId:
Int
,
runId:
Int
)
:
Future
[
Seq
[
JobStatus
]]
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
getJobStatusById
(
id:
Int
)
:
Future
[
JobStatus
]
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
def
initJobStatus
:
Future
[
Unit
]
def
insertData
(
jobId:
Int
,
runId:
Int
,
dicAttr:
DictionaryAttribute
,
dic:
Dictionary
)
:
Int
def
insertJobStatus
(
js:
JobStatus
)
:
Future
[
JobStatus
]
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
val
jobStatus
:
TableQuery
[
JobStatusTable
]
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
nextId
(
jobId:
Int
,
runId:
Int
)
:
Future
[
Int
]
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
quote
(
v:
String
)
:
String
def
selectRunList
(
jobId:
Int
,
lastRunId:
Int
)
:
Seq
[
Int
]
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
totalCount
(
jobId:
Int
,
runId:
Int
)
:
Future
[
Int
]
def
totalCountFilter
(
jobId:
Int
,
runId:
Int
,
filters:
Map
[
String
,
String
]
)
:
Future
[
Int
]
def
updateJobStatus
(
js:
JobStatus
)
:
Future
[
Int
]
def
updateRecord
(
jobId:
Int
,
runId:
Int
,
recordId:
Int
,
dicAttr:
DictionaryAttribute
,
r:
Record
)
:
Future
[
Int
]
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
HasDatabaseConfigProvider
[
JdbcProfile
]
Inherited from
HasDatabaseConfig
[
JdbcProfile
]
Inherited from
AnyRef
Inherited from
Any
Ungrouped