object TestGroupState
- Alphabetic
- By Inheritance
- TestGroupState
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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 ()
-
def
create
[
S]
(
optionalState:
Optional[
S],
timeoutConf:
GroupStateTimeout
,
batchProcessingTimeMs:
Long
,
eventTimeWatermarkMs:
Optional[
Long],
hasTimedOut:
Boolean
)
:
TestGroupState[
S]
Creates TestGroupState instances for general testing purposes.
Creates TestGroupState instances for general testing purposes.
- optionalState
-
Optional value of the state.
- timeoutConf
-
Type of timeout configured. Based on this, different operations will be supported.
- batchProcessingTimeMs
-
Processing time of current batch, used to calculate timestamp for processing time timeouts.
- eventTimeWatermarkMs
-
Optional value of event time watermark in ms. Set as
Optional.emptyif watermark is not present. Otherwise, event time watermark should be a positive long and the timestampMs set throughsetTimeoutTimestamp()cannot be less thaneventTimeWatermarkMs. - hasTimedOut
-
Whether the key for which this state wrapped is being created is getting timed out or not.
- returns
-
a TestGroupState instance built with the user specified configs.
- Annotations
- @throws ( ... ) @throws ( ... ) @throws ( ... )
-
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
- Definition Classes
- AnyRef
-
def
equals
(
arg0:
Any
)
:
Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize
()
:
Unit
- Attributes
- protected[ lang]
- Definition Classes
- AnyRef
- Annotations
- @throws ( classOf[java.lang.Throwable] )
-
final
def
getClass
()
:
Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native ()
-
def
hashCode
()
:
Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native ()
-
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 ()
-
final
def
notifyAll
()
:
Unit
- Definition Classes
- AnyRef
- Annotations
- @native ()
-
final
def
synchronized
[
T0]
(
arg0: ⇒
T0
)
:
T0
- Definition Classes
- AnyRef
-
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 ( ... ) @native ()
Databricks Scala Spark API