Class RuleContext
Assembly: Confluent.SchemaRegistry.dll
Syntax
Constructors
Declaration
public RuleContext(Schema source, Schema target, string subject, string topic, Headers headers, bool isKey, RuleMode ruleMode, Rule rule, int index, IList<Rule> rules, FieldTransformer fieldTransformer)
Parameters
Properties
CustomData
Declaration
public IDictionary<object, object> CustomData { get; }
Property Value
FieldTransformer
Declaration
public FieldTransformer FieldTransformer { get; set; }
Property Value
Declaration
public Headers Headers { get; set; }
Property Value
Index
Declaration
public int Index { get; set; }
Property Value
IsKey
Declaration
public bool IsKey { get; set; }
Property Value
Rule
Declaration
public Rule Rule { get; set; }
Property Value
RuleMode
Declaration
public RuleMode RuleMode { get; set; }
Property Value
Rules
Declaration
public IList<Rule> Rules { get; set; }
Property Value
Source
Declaration
public Schema Source { get; set; }
Property Value
Subject
Declaration
public string Subject { get; set; }
Property Value
Target
Declaration
public Schema Target { get; set; }
Property Value
Topic
Declaration
public string Topic { get; set; }
Property Value
Methods
CurrentField()
Declaration
public RuleContext.FieldContext CurrentField()
Returns
EnterField(object, string, string, Type, ISet<string>)
Declaration
public RuleContext.FieldContext EnterField(object containingMessage, string fullName, string name, RuleContext.Type type, ISet<string> tags)
Parameters
Returns
GetParameter(string)
Declaration
public string GetParameter(string key)
Parameters
Type |
Name |
Description |
string |
key |
|
Returns
GetTags(string)
Declaration
public ISet<string> GetTags(string fullName)
Parameters
Type |
Name |
Description |
string |
fullName |
|
Returns