class SessionBuilder extends AnyRef
Provides methods to set configuration properties and create a Session .
- Since
-
0.1.0
- Alphabetic
- By Inheritance
- SessionBuilder
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new SessionBuilder ()
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[ lang ]
- Definition Classes
- AnyRef
- Annotations
- @throws ( ... ) @native () @HotSpotIntrinsicCandidate ()
-
def
config
(
key:
String
,
value:
String
)
:
SessionBuilder
Adds the specified configuration property and value to the SessionBuilder configuration.
Adds the specified configuration property and value to the SessionBuilder configuration.
- key
-
Name of the configuration property.
- value
-
Value of the configuration property.
- returns
- Since
-
0.1.0
-
def
configFile
(
file:
String
)
:
SessionBuilder
Adds the configuration properties in the specified file to the SessionBuilder configuration.
Adds the configuration properties in the specified file to the SessionBuilder configuration.
- file
-
Path to the file containing the configuration properties.
- returns
- Since
-
0.1.0
-
def
configs
(
javaMap:
Map
[
String
,
String
]
)
:
SessionBuilder
Adds the specified Java
Map
of configuration properties to the SessionBuilder configuration.Adds the specified Java
Map
of configuration properties to the SessionBuilder configuration.Note that calling this method overwrites any existing configuration properties that you have already set in the SessionBuilder.
- Since
-
0.2.0
-
def
configs
(
configs:
Map
[
String
,
String
]
)
:
SessionBuilder
Adds the specified
Map
of configuration properties to the SessionBuilder configuration.Adds the specified
Map
of configuration properties to the SessionBuilder configuration.Note that calling this method overwrites any existing configuration properties that you have already set in the SessionBuilder.
- configs
-
Map of the names and values of configuration properties.
- returns
- Since
-
0.1.0
-
def
create
:
Session
Creates a new Session.
-
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
- Definition Classes
- AnyRef
-
def
equals
(
arg0:
Any
)
:
Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass
()
:
Class
[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native () @HotSpotIntrinsicCandidate ()
-
def
getOrCreate
:
Session
Returns the existing session if already exists or create it if not.
-
def
hashCode
()
:
Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native () @HotSpotIntrinsicCandidate ()
-
final
def
isInstanceOf
[
T0
]
:
Boolean
- Definition Classes
- Any
-
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
- Definition Classes
- AnyRef
-
final
def
notify
()
:
Unit
- Definition Classes
- AnyRef
- Annotations
- @native () @HotSpotIntrinsicCandidate ()
-
final
def
notifyAll
()
:
Unit
- Definition Classes
- AnyRef
- Annotations
- @native () @HotSpotIntrinsicCandidate ()
-
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
- Definition Classes
- AnyRef
-
def
toString
()
:
String
- Definition Classes
- AnyRef → Any
-
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
- Definition Classes
- AnyRef
- Annotations
- @throws ( ... )
-
final
def
wait
(
arg0:
Long
)
:
Unit
- Definition Classes
- AnyRef
- Annotations
- @throws ( ... ) @native ()
-
final
def
wait
()
:
Unit
- Definition Classes
- AnyRef
- Annotations
- @throws ( ... )
Deprecated Value Members
-
def
finalize
()
:
Unit
- Attributes
- protected[ lang ]
- Definition Classes
- AnyRef
- Annotations
- @throws ( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated