SourceSchema class

Describes the format of the data in the streaming source, and how each data element maps to corresponding columns created in the in-application stream.

Constructors

SourceSchema({required List<RecordColumn> recordColumns, required RecordFormat recordFormat, String? recordEncoding})
SourceSchema.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
recordColumns List<RecordColumn>
A list of RecordColumn objects.
final
recordEncoding String?
Specifies the encoding of the records in the streaming source. For example, UTF-8.
final
recordFormat RecordFormat
Specifies the format of the records on the streaming source.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited