Builder for constructing Avro schema JSON strings. More…
Public Member Functions | |
| AvroSchemaBuilder (string name) | |
| Creates a new AvroSchemaBuilder with the specified record name. | |
| AvroSchemaBuilder | Namespace (string ns) |
| Sets the namespace for the schema. | |
| AvroSchemaBuilder | Doc (string doc) |
| Sets the documentation for the schema. | |
| AvroSchemaBuilder | Field (string name, AvroType type) |
| Adds a field with the specified name and type. | |
| AvroSchemaBuilder | FieldWithDoc (string name, AvroType type, string doc) |
| Adds a field with documentation. | |
| AvroSchemaBuilder | NullableField (string name, AvroType type) |
| Adds a nullable field with the specified name and type. | |
| AvroSchemaBuilder | IntField (string name) |
| Adds an integer field. | |
| AvroSchemaBuilder | LongField (string name) |
| Adds a long field. | |
| AvroSchemaBuilder | FloatField (string name) |
| Adds a float field. | |
| AvroSchemaBuilder | DoubleField (string name) |
| Adds a double field. | |
| AvroSchemaBuilder | StringField (string name) |
| Adds a string field. | |
| AvroSchemaBuilder | BoolField (string name) |
| Adds a boolean field. | |
| AvroSchemaBuilder | BytesField (string name) |
| Adds a bytes field. | |
| AvroSchemaBuilder | TimestampField (string name) |
| Adds a timestamp field (long). | |
| AvroSchemaBuilder | NullableIntField (string name) |
| Adds a nullable integer field. | |
| AvroSchemaBuilder | NullableLongField (string name) |
| Adds a nullable long field. | |
| AvroSchemaBuilder | NullableFloatField (string name) |
| Adds a nullable float field. | |
| AvroSchemaBuilder | NullableDoubleField (string name) |
| Adds a nullable double field. | |
| AvroSchemaBuilder | NullableStringField (string name) |
| Adds a nullable string field. | |
| AvroSchemaBuilder | NullableBoolField (string name) |
| Adds a nullable boolean field. | |
| AvroSchemaBuilder | NullableBytesField (string name) |
| Adds a nullable bytes field. | |
| AvroSchemaBuilder | NullableTimestampField (string name) |
| Adds a nullable timestamp field. | |
| string | Build () |
| Builds the Avro schema JSON string. | |
| AvroSchemaBuilder (string name) | |
| Creates a new AvroSchemaBuilder with the specified record name. | |
| AvroSchemaBuilder | Namespace (string ns) |
| Sets the namespace for the schema. | |
| AvroSchemaBuilder | Doc (string doc) |
| Sets the documentation for the schema. | |
| AvroSchemaBuilder | Field (string name, AvroType type) |
| Adds a field with the specified name and type. | |
| AvroSchemaBuilder | FieldWithDoc (string name, AvroType type, string doc) |
| Adds a field with documentation. | |
| AvroSchemaBuilder | NullableField (string name, AvroType type) |
| Adds a nullable field with the specified name and type. | |
| AvroSchemaBuilder | IntField (string name) |
| Adds an integer field. | |
| AvroSchemaBuilder | LongField (string name) |
| Adds a long field. | |
| AvroSchemaBuilder | FloatField (string name) |
| Adds a float field. | |
| AvroSchemaBuilder | DoubleField (string name) |
| Adds a double field. | |
| AvroSchemaBuilder | StringField (string name) |
| Adds a string field. | |
| AvroSchemaBuilder | BoolField (string name) |
| Adds a boolean field. | |
| AvroSchemaBuilder | BytesField (string name) |
| Adds a bytes field. | |
| AvroSchemaBuilder | TimestampField (string name) |
| Adds a timestamp field (long). | |
| AvroSchemaBuilder | NullableIntField (string name) |
| Adds a nullable integer field. | |
| AvroSchemaBuilder | NullableLongField (string name) |
| Adds a nullable long field. | |
| AvroSchemaBuilder | NullableFloatField (string name) |
| Adds a nullable float field. | |
| AvroSchemaBuilder | NullableDoubleField (string name) |
| Adds a nullable double field. | |
| AvroSchemaBuilder | NullableStringField (string name) |
| Adds a nullable string field. | |
| AvroSchemaBuilder | NullableBoolField (string name) |
| Adds a nullable boolean field. | |
| AvroSchemaBuilder | NullableBytesField (string name) |
| Adds a nullable bytes field. | |
| AvroSchemaBuilder | NullableTimestampField (string name) |
| Adds a nullable timestamp field. | |
| string | Build () |
| Builds the Avro schema JSON string. | |
Detailed Description
Builder for constructing Avro schema JSON strings.
Equivalent to Rust’s AvroSchemaBuilder.
Definition at line 40 of file AvroSchemaBuilder.cs.
Constructor & Destructor Documentation
◆ AvroSchemaBuilder() [1/2]
| inline |
Creates a new AvroSchemaBuilder with the specified record name.
| name | The record type name. |
Definition at line 51 of file AvroSchemaBuilder.cs.
◆ AvroSchemaBuilder() [2/2]
| inline |
Creates a new AvroSchemaBuilder with the specified record name.
| name | The record type name. |
Definition at line 51 of file AvroSchemaBuilder.cs.
Member Function Documentation
◆ BoolField() [1/2]
| inline |
Adds a boolean field.
Definition at line 144 of file AvroSchemaBuilder.cs.
◆ BoolField() [2/2]
| inline |
Adds a boolean field.
Definition at line 144 of file AvroSchemaBuilder.cs.
◆ Build() [1/2]
| inline |
Builds the Avro schema JSON string.
Definition at line 231 of file AvroSchemaBuilder.cs.
◆ Build() [2/2]
| inline |
Builds the Avro schema JSON string.
Definition at line 231 of file AvroSchemaBuilder.cs.
◆ BytesField() [1/2]
| inline |
Adds a bytes field.
Definition at line 151 of file AvroSchemaBuilder.cs.
◆ BytesField() [2/2]
| inline |
Adds a bytes field.
Definition at line 151 of file AvroSchemaBuilder.cs.
◆ Doc() [1/2]
| inline |
Sets the documentation for the schema.
Definition at line 69 of file AvroSchemaBuilder.cs.
◆ Doc() [2/2]
| inline |
Sets the documentation for the schema.
Definition at line 69 of file AvroSchemaBuilder.cs.
◆ DoubleField() [1/2]
| inline |
Adds a double field.
Definition at line 130 of file AvroSchemaBuilder.cs.
◆ DoubleField() [2/2]
| inline |
Adds a double field.
Definition at line 130 of file AvroSchemaBuilder.cs.
◆ Field() [1/2]
| inline |
Adds a field with the specified name and type.
Definition at line 80 of file AvroSchemaBuilder.cs.
◆ Field() [2/2]
| inline |
Adds a field with the specified name and type.
Definition at line 80 of file AvroSchemaBuilder.cs.
◆ FieldWithDoc() [1/2]
| inline |
Adds a field with documentation.
Definition at line 89 of file AvroSchemaBuilder.cs.
◆ FieldWithDoc() [2/2]
| inline |
Adds a field with documentation.
Definition at line 89 of file AvroSchemaBuilder.cs.
◆ FloatField() [1/2]
| inline |
Adds a float field.
Definition at line 123 of file AvroSchemaBuilder.cs.
◆ FloatField() [2/2]
| inline |
Adds a float field.
Definition at line 123 of file AvroSchemaBuilder.cs.
◆ IntField() [1/2]
| inline |
Adds an integer field.
Definition at line 109 of file AvroSchemaBuilder.cs.
◆ IntField() [2/2]
| inline |
Adds an integer field.
Definition at line 109 of file AvroSchemaBuilder.cs.
◆ LongField() [1/2]
| inline |
Adds a long field.
Definition at line 116 of file AvroSchemaBuilder.cs.
◆ LongField() [2/2]
| inline |
Adds a long field.
Definition at line 116 of file AvroSchemaBuilder.cs.
◆ Namespace() [1/2]
| inline |
Sets the namespace for the schema.
Definition at line 60 of file AvroSchemaBuilder.cs.
◆ Namespace() [2/2]
| inline |
Sets the namespace for the schema.
Definition at line 60 of file AvroSchemaBuilder.cs.
◆ NullableBoolField() [1/2]
| inline |
Adds a nullable boolean field.
Definition at line 204 of file AvroSchemaBuilder.cs.
◆ NullableBoolField() [2/2]
| inline |
Adds a nullable boolean field.
Definition at line 204 of file AvroSchemaBuilder.cs.
◆ NullableBytesField() [1/2]
| inline |
Adds a nullable bytes field.
Definition at line 211 of file AvroSchemaBuilder.cs.
◆ NullableBytesField() [2/2]
| inline |
Adds a nullable bytes field.
Definition at line 211 of file AvroSchemaBuilder.cs.
◆ NullableDoubleField() [1/2]
| inline |
Adds a nullable double field.
Definition at line 190 of file AvroSchemaBuilder.cs.
◆ NullableDoubleField() [2/2]
| inline |
Adds a nullable double field.
Definition at line 190 of file AvroSchemaBuilder.cs.
◆ NullableField() [1/2]
| inline |
Adds a nullable field with the specified name and type.
Definition at line 98 of file AvroSchemaBuilder.cs.
◆ NullableField() [2/2]
| inline |
Adds a nullable field with the specified name and type.
Definition at line 98 of file AvroSchemaBuilder.cs.
◆ NullableFloatField() [1/2]
| inline |
Adds a nullable float field.
Definition at line 183 of file AvroSchemaBuilder.cs.
◆ NullableFloatField() [2/2]
| inline |
Adds a nullable float field.
Definition at line 183 of file AvroSchemaBuilder.cs.
◆ NullableIntField() [1/2]
| inline |
Adds a nullable integer field.
Definition at line 169 of file AvroSchemaBuilder.cs.
◆ NullableIntField() [2/2]
| inline |
Adds a nullable integer field.
Definition at line 169 of file AvroSchemaBuilder.cs.
◆ NullableLongField() [1/2]
| inline |
Adds a nullable long field.
Definition at line 176 of file AvroSchemaBuilder.cs.
◆ NullableLongField() [2/2]
| inline |
Adds a nullable long field.
Definition at line 176 of file AvroSchemaBuilder.cs.
◆ NullableStringField() [1/2]
| inline |
Adds a nullable string field.
Definition at line 197 of file AvroSchemaBuilder.cs.
◆ NullableStringField() [2/2]
| inline |
Adds a nullable string field.
Definition at line 197 of file AvroSchemaBuilder.cs.
◆ NullableTimestampField() [1/2]
| inline |
Adds a nullable timestamp field.
Definition at line 218 of file AvroSchemaBuilder.cs.
◆ NullableTimestampField() [2/2]
| inline |
Adds a nullable timestamp field.
Definition at line 218 of file AvroSchemaBuilder.cs.
◆ StringField() [1/2]
| inline |
Adds a string field.
Definition at line 137 of file AvroSchemaBuilder.cs.
◆ StringField() [2/2]
| inline |
Adds a string field.
Definition at line 137 of file AvroSchemaBuilder.cs.
◆ TimestampField() [1/2]
| inline |
Adds a timestamp field (long).
Definition at line 158 of file AvroSchemaBuilder.cs.
◆ TimestampField() [2/2]
| inline |
Adds a timestamp field (long).
Definition at line 158 of file AvroSchemaBuilder.cs.
The documentation for this class was generated from the following files:
- _build/public-os_ubuntu24.04-arch_amd64-cc_gcc_13.3.0/install/Kinetica/SchemaBuilder/AvroSchemaBuilder.cs
- Kinetica/SchemaBuilder/AvroSchemaBuilder.cs