neutron-function
neutron-function
dev.profunktor.pulsar
Context
Function
Record
WindowContext
WindowContext
FunctionId
FunctionName
FunctionVersion
InputTopic
InstanceId
Namespace
NumInstances
OutputSchemaType
OutputTopic
Tenant
WindowFunction
neutron-function
/
dev.profunktor.pulsar
/
WindowContext
WindowContext
final case
class
WindowContext
(
ctx:
WindowContext
)
Companion:
object
Graph
Supertypes
trait
Serializable
trait
Product
trait
Equals
class
Object
trait
Matchable
class
Any
Value members
Value members
Concrete methods
def
functionId
:
FunctionId
def
functionName
:
FunctionName
def
functionVersion
:
FunctionVersion
def
getCounter
(
key:
String
):
Long
def
getState
(
key:
String
):
Option
[
ByteBuffer
]
def
incrCounter
(
key:
String
,
amount:
Long
):
Unit
def
inputTopics
:
Seq
[
InputTopic
]
def
instanceId
:
InstanceId
def
logger
:
Logger
def
namespace
:
Namespace
def
numInstances
:
NumInstances
def
outputSchemaType
:
OutputSchemaType
def
outputTopic
:
OutputTopic
def
publish
[
T
](
topicName:
OutputTopic
,
obj:
T
,
schemaOrSerdeClassName:
String
)(
implicit
ec:
ExecutionContext
):
Future
[
Unit
]
def
publish
[
T
](
topicName:
OutputTopic
,
obj:
T
)(
implicit
ec:
ExecutionContext
):
Future
[
Unit
]
def
putState
(
key:
String
,
value:
ByteBuffer
):
Unit
def
recordMetric
(
metricName:
String
,
value:
Double
):
Unit
def
tenant
:
Tenant
def
userConfigMap
:
Map
[
String
,
AnyRef
]
def
userConfigValue
[
T
:
ClassTag
](
key:
String
):
Option
[
T
]
def
userConfigValueOrElse
[
T
:
ClassTag
](
key:
String
,
defaultValue:
T
):
T
Inherited methods
def
productElementNames
:
Iterator
[
String
]
Inherited from:
Product
def
productIterator
:
Iterator
[
Any
]
Inherited from:
Product