neutron-function
neutron-function
API
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
dev.profunktor.pulsar.WindowContext
See the
WindowContext
companion object
final case
class
WindowContext
(
ctx
:
WindowContext
)
Attributes
Companion:
object
Graph
Reset zoom
Hide graph
Show graph
Supertypes
trait
Serializable
trait
Product
trait
Equals
class
Object
trait
Matchable
class
Any
Clear all
Members list
Concise view
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
]
Attributes
Inherited from:
Product
def
productIterator
:
Iterator
[
Any
]
Attributes
Inherited from:
Product