public class RuleContext extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
RuleContext.FieldContext |
static class |
RuleContext.Type |
| Constructor and Description |
|---|
RuleContext(Map<String,?> configs,
ParsedSchema source,
ParsedSchema target,
String subject,
String topic,
org.apache.kafka.common.header.Headers headers,
Object originalKey,
Object originalValue,
boolean isKey,
RuleMode ruleMode,
Rule rule,
int index,
List<Rule> rules) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,?> |
configs() |
RuleContext.FieldContext |
currentField() |
Map<Object,Object> |
customData() |
static boolean |
disjoint(Set<String> set1,
Set<String> set2) |
RuleContext.FieldContext |
enterField(Object containingMessage,
String fullName,
String name,
RuleContext.Type type,
Set<String> tags) |
String |
getParameter(String name) |
Set<String> |
getTags(String fullName) |
org.apache.kafka.common.header.Headers |
headers() |
int |
index() |
boolean |
isKey() |
Object |
originalKey() |
Object |
originalValue() |
Rule |
rule() |
RuleMode |
ruleMode() |
List<Rule> |
rules() |
ParsedSchema |
source() |
String |
subject() |
ParsedSchema |
target() |
String |
topic() |
public ParsedSchema source()
public ParsedSchema target()
public String subject()
public String topic()
public org.apache.kafka.common.header.Headers headers()
public Object originalKey()
public Object originalValue()
public boolean isKey()
public RuleMode ruleMode()
public Rule rule()
public int index()
public RuleContext.FieldContext currentField()
public RuleContext.FieldContext enterField(Object containingMessage, String fullName, String name, RuleContext.Type type, Set<String> tags)
Copyright © 2025 Confluent, Inc.. All rights reserved.