it
.
agilelab
.
bigdata
.
wasp
.
repository
.
postgres
.
utils
PostgresDBHelper
Related Doc:
package utils
trait
PostgresDBHelper
extends
ConnectionSupport
with
ConnectionInfoProvider
with
Logging
Linear Supertypes
Logging
,
ConnectionInfoProvider
,
ConnectionSupport
,
AnyRef
,
Any
Known Subclasses
WaspPostgresDB
,
WaspPostgresDBImpl
Ordering
Alphabetic
By Inheritance
Inherited
PostgresDBHelper
Logging
ConnectionInfoProvider
ConnectionSupport
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Abstract Value Members
abstract
def
getDriver
:
String
Attributes
protected
Definition Classes
ConnectionInfoProvider
abstract
def
getPassword
:
String
Attributes
protected
Definition Classes
ConnectionInfoProvider
abstract
def
getPoolSize
:
Int
Attributes
protected
Definition Classes
ConnectionInfoProvider
abstract
def
getUrl
:
String
Attributes
protected
Definition Classes
ConnectionInfoProvider
abstract
def
getUser
:
String
Attributes
protected
Definition Classes
ConnectionInfoProvider
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
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
closePool
()
:
Unit
Attributes
protected
Definition Classes
ConnectionSupport
def
convertToJson
(
json:
JsValue
)
:
PGobject
def
delete
(
table:
String
,
whereCondition:
Option
[
Array
[(
String
,
Any
)]] =
None
)
:
Unit
Attributes
protected
def
dropTable
(
table:
String
)
:
Unit
Attributes
protected
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
execute
(
updates:
String
*
)
:
Unit
Attributes
protected
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
getConnection
()
:
Connection
Attributes
protected
Definition Classes
ConnectionSupport
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
def
insert
[
T
]
(
table:
String
,
obj:
T
)
(
mapper: (
T
) ⇒
Array
[(
String
,
Any
)]
)
:
Unit
Attributes
protected
def
insertReturning
[
T
,
R
]
(
table:
String
,
obj:
T
,
columnsResult:
Array
[
String
]
)
(
mapperFromModel: (
T
) ⇒
Array
[(
String
,
Any
)]
,
mapperFromResultSet: (
ResultSet
) ⇒
R
)
:
Seq
[
R
]
Attributes
protected
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
val
logger
:
WaspLogger
Attributes
protected
Definition Classes
Logging
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
updateBy
[
T
]
(
table:
String
,
obj:
T
,
whereCondition:
Array
[(
String
,
Any
)]
)
(
mapper: (
T
) ⇒
Array
[(
String
,
Any
)]
)
:
Unit
Attributes
protected
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
Logging
Inherited from
ConnectionInfoProvider
Inherited from
ConnectionSupport
Inherited from
AnyRef
Inherited from
Any
Ungrouped