net
.
fwbrasil
.
activate
.
storage
.
relational
.
async
AsyncSQLStorage
trait
AsyncSQLStorage
[
C <:
Connection
]
extends
RelationalStorage
[
Future
[
C
]]
Linear Supertypes
RelationalStorage
[
Future
[
C
]],
MarshalStorage
[
Future
[
C
]],
Storage
[
Future
[
C
]],
Logging
,
Logging
,
AnyRef
,
Any
Known Subclasses
AsyncMySQLStorage
,
AsyncMySQLStorageFromFactory
,
AsyncPostgreSQLStorage
,
AsyncPostgreSQLStorageFromFactory
Ordering
Alphabetic
By inheritance
Inherited
AsyncSQLStorage
RelationalStorage
MarshalStorage
Storage
Logging
Logging
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Abstract Value Members
abstract
val
dialect
:
SqlIdiom
abstract
val
objectFactory
:
ObjectFactory
[
C
]
Concrete 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
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
await
[
R
]
(
future:
Future
[
R
]
)
:
R
Attributes
protected
def
blockingFuture
[
T
]
(
f: ⇒
T
)
(
implicit
ctx:
ExecutionContext
)
:
Future
[
T
]
Attributes
protected
Definition Classes
Storage
def
charset
:
Charset
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
debug
(
msg: ⇒
Any
,
t: ⇒
Throwable
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
debug
(
msg: ⇒
Any
)
:
Unit
Attributes
protected
Definition Classes
Logging
val
defaultTimeout
:
Duration
def
directAccess
:
Future
[
C
]
Definition Classes
AsyncSQLStorage
→ Storage
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
error
(
msg: ⇒
Any
,
t: ⇒
Throwable
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
error
(
msg: ⇒
Any
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
execute
(
jdbcStatement:
QlStatement
,
connection:
Connection
,
isDdl:
Boolean
)
:
Future
[
Unit
]
def
executeStatements
(
reads:
Map
[
Class
[
BaseEntity
],
List
[(
ReferenceStorageValue
,
Long
)]]
,
statements:
List
[
StorageStatement
]
)
:
Some
[
TransactionHandle
]
Attributes
protected[
net.fwbrasil.activate
]
Definition Classes
AsyncSQLStorage
→ RelationalStorage
def
executeStatementsAsync
(
reads:
Map
[
Class
[
BaseEntity
],
List
[(
ReferenceStorageValue
,
Long
)]]
,
sqls:
List
[
StorageStatement
]
)
(
implicit
context:
ExecutionContext
)
:
Future
[
Unit
]
Attributes
protected[
net.fwbrasil.activate
]
Definition Classes
AsyncSQLStorage
→ RelationalStorage
def
executeWithTransactionAndReturnHandle
(
f: (
Connection
) ⇒
Future
[
Unit
]
)
:
Future
[
TransactionHandle
]
lazy val
executionContext
:
ExecutionContextExecutor
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
fromStorage
(
queryInstance:
Query
[_]
,
entitiesReadFromCache:
List
[
List
[
BaseEntity
]]
)
:
List
[
List
[
EntityValue
[_]]]
Definition Classes
MarshalStorage → Storage
def
fromStorageAsync
(
queryInstance:
Query
[_]
,
entitiesReadFromCache:
List
[
List
[
BaseEntity
]]
)
(
implicit
ecxt:
TransactionalExecutionContext
)
:
Future
[
List
[
List
[
EntityValue
[_]]]]
Attributes
protected[
net.fwbrasil.activate
]
Definition Classes
MarshalStorage → Storage
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
def
info
(
msg: ⇒
Any
,
t: ⇒
Throwable
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
info
(
msg: ⇒
Any
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
isDebugEnabled
:
Boolean
Attributes
protected
Definition Classes
Logging
def
isErrorEnabled
:
Boolean
Attributes
protected
Definition Classes
Logging
def
isInfoEnabled
:
Boolean
Attributes
protected
Definition Classes
Logging
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
isMemoryStorage
:
Boolean
Definition Classes
AsyncSQLStorage
→ Storage
def
isSchemaless
:
Boolean
Definition Classes
AsyncSQLStorage
→ Storage
def
isTraceEnabled
:
Boolean
Attributes
protected
Definition Classes
Logging
def
isTransactional
:
Boolean
Definition Classes
AsyncSQLStorage
→ Storage
def
isWarnEnabled
:
Boolean
Attributes
protected
Definition Classes
Logging
def
logDebug
[
A
]
(
id: ⇒
String
)
(
f: ⇒
A
)
:
A
Attributes
protected
Definition Classes
Logging
def
logError
[
A
]
(
id: ⇒
String
)
(
f: ⇒
A
)
:
A
Attributes
protected
Definition Classes
Logging
def
logInfo
[
A
]
(
id: ⇒
String
)
(
f: ⇒
A
)
:
A
Attributes
protected
Definition Classes
Logging
def
logTrace
[
A
]
(
id: ⇒
String
)
(
f: ⇒
A
)
:
A
Attributes
protected
Definition Classes
Logging
def
logWarn
[
A
]
(
id: ⇒
String
)
(
f: ⇒
A
)
:
A
Attributes
protected
Definition Classes
Logging
def
logger
:
Logger
Attributes
protected
Definition Classes
Logging
def
loggerName
:
String
Attributes
protected
Definition Classes
Logging
def
migrate
(
action:
StorageAction
)
:
Unit
Attributes
protected[
net.fwbrasil.activate
]
Definition Classes
MarshalStorage → Storage
def
migrateStorage
(
action:
ModifyStorageAction
)
:
Unit
Attributes
protected[
net.fwbrasil.activate
]
Definition Classes
RelationalStorage → MarshalStorage
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
noEscape
(
string:
String
)
:
String
Attributes
protected
Definition Classes
RelationalStorage
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
lazy val
pool
:
AsyncObjectPool
[
C
] with
Connection
def
poolConfiguration
:
PoolConfiguration
def
prepareDatabase
:
Unit
Attributes
protected[
net.fwbrasil.activate
]
Definition Classes
Storage
def
query
(
query:
Query
[_]
,
expectedTypes:
List
[
StorageValue
]
,
entitiesReadFromCache:
List
[
List
[
BaseEntity
]]
)
:
List
[
List
[
StorageValue
]]
Attributes
protected[
net.fwbrasil.activate
]
Definition Classes
AsyncSQLStorage
→ MarshalStorage
def
queryAsync
(
query:
Query
[_]
,
expectedTypes:
List
[
StorageValue
]
,
entitiesReadFromCache:
List
[
List
[
BaseEntity
]]
)
(
implicit
context:
TransactionalExecutionContext
)
:
Future
[
List
[
List
[
StorageValue
]]]
Attributes
protected[
net.fwbrasil.activate
]
Definition Classes
AsyncSQLStorage
→ MarshalStorage
val
queryLimit
:
Int
def
reinitialize
:
Unit
Attributes
protected[
net.fwbrasil.activate
]
Definition Classes
Storage
def
resolveDependencies
(
statements:
Set
[
DmlStorageStatement
]
)
:
List
[
DmlStorageStatement
]
Attributes
protected[
net.fwbrasil.activate
]
Definition Classes
RelationalStorage
def
satisfyRestriction
(
jdbcStatement:
QlStatement
)
(
implicit
context:
ExecutionContext
)
:
Future
[
Boolean
]
Attributes
protected[
net.fwbrasil.activate
]
def
sendPreparedStatement
(
jdbcStatement:
QlStatement
,
connection:
Connection
)
:
Future
[
QueryResult
]
Attributes
protected
def
staleDataException
(
entityIds:
Set
[(
entity.BaseEntity.ID
,
Class
[
BaseEntity
])]
)
:
Nothing
Attributes
protected
Definition Classes
Storage
def
store
(
readList:
List
[(
BaseEntity
,
Long
)]
,
statementList:
List
[
MassModificationStatement
]
,
insertList:
List
[(
BaseEntity
,
Map
[
String
,
StorageValue
])]
,
updateList:
List
[(
BaseEntity
,
Map
[
String
,
StorageValue
])]
,
deleteList:
List
[(
BaseEntity
,
Map
[
String
,
StorageValue
])]
)
:
Option
[
TransactionHandle
]
Definition Classes
RelationalStorage → MarshalStorage
def
storeAsync
(
readList:
List
[(
BaseEntity
,
Long
)]
,
statements:
List
[
MassModificationStatement
]
,
insertList:
List
[(
BaseEntity
,
Map
[
String
,
StorageValue
])]
,
updateList:
List
[(
BaseEntity
,
Map
[
String
,
StorageValue
])]
,
deleteList:
List
[(
BaseEntity
,
Map
[
String
,
StorageValue
])]
)
(
implicit
ecxt:
ExecutionContext
)
:
Future
[
Unit
]
Definition Classes
RelationalStorage → MarshalStorage
def
supportsAsync
:
Boolean
Definition Classes
AsyncSQLStorage
→ Storage
def
supportsLimitedQueries
:
Boolean
Definition Classes
Storage
def
supportsQueryJoin
:
Boolean
Definition Classes
AsyncSQLStorage
→ Storage
def
supportsRegex
:
Boolean
Definition Classes
Storage
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toStorage
(
readList:
List
[(
BaseEntity
,
Long
)]
,
statements:
List
[
MassModificationStatement
]
,
insertList:
List
[(
BaseEntity
,
Map
[
String
,
EntityValue
[
Any
]])]
,
updateList:
List
[(
BaseEntity
,
Map
[
String
,
EntityValue
[
Any
]])]
,
deleteList:
List
[(
BaseEntity
,
Map
[
String
,
EntityValue
[
Any
]])]
)
:
Option
[
TransactionHandle
]
Attributes
protected[
net.fwbrasil.activate
]
Definition Classes
MarshalStorage → Storage
def
toStorageAsync
(
readList:
List
[(
BaseEntity
,
Long
)]
,
statements:
List
[
MassModificationStatement
]
,
insertList:
List
[(
BaseEntity
,
Map
[
String
,
EntityValue
[
Any
]])]
,
updateList:
List
[(
BaseEntity
,
Map
[
String
,
EntityValue
[
Any
]])]
,
deleteList:
List
[(
BaseEntity
,
Map
[
String
,
EntityValue
[
Any
]])]
)
(
implicit
ecxt:
ExecutionContext
)
:
Future
[
Unit
]
Attributes
protected[
net.fwbrasil.activate
]
Definition Classes
MarshalStorage → Storage
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
trace
(
msg: ⇒
Any
,
t: ⇒
Throwable
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
trace
(
msg: ⇒
Any
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
underscoreSeparated
(
string:
String
)
:
String
Attributes
protected
Definition Classes
RelationalStorage
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
warn
(
msg: ⇒
Any
,
t: ⇒
Throwable
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
warn
(
msg: ⇒
Any
)
:
Unit
Attributes
protected
Definition Classes
Logging
Inherited from
RelationalStorage
[
Future
[
C
]]
Inherited from
MarshalStorage
[
Future
[
C
]]
Inherited from
Storage
[
Future
[
C
]]
Inherited from
Logging
Inherited from
Logging
Inherited from
AnyRef
Inherited from
Any
Ungrouped