Enum sql_parser::ast::defs::ddl::CreateSourceConnector [−][src]
pub enum CreateSourceConnector {
File {
path: String,
compression: Compression,
},
Kafka {
broker: String,
topic: String,
key: Option<Vec<Ident>>,
},
Kinesis {
arn: String,
},
AvroOcf {
path: String,
},
S3 {
key_sources: Vec<S3KeySource>,
pattern: Option<String>,
compression: Compression,
},
Postgres {
conn: String,
publication: String,
slot: Option<String>,
},
PubNub {
subscribe_key: String,
channel: String,
},
}
Variants
File
Kafka
Kinesis
Fields
arn: String
AvroOcf
Fields
path: String
Avro Object Container File
S3
Fields
key_sources: Vec<S3KeySource>
The arguments to DISCOVER OBJECTS USING
: BUCKET SCAN
or SQS NOTIFICATIONS
compression: Compression
Postgres
Fields
conn: String
The postgres connection string
publication: String
The name of the publication to sync
PubNub
Trait Implementations
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CreateSourceConnector
impl Send for CreateSourceConnector
impl Sync for CreateSourceConnector
impl Unpin for CreateSourceConnector
impl UnwindSafe for CreateSourceConnector
Blanket Implementations
Mutably borrows from an owned value. Read more
Formats an object with the “alternative” format ({:#}
) and returns it.
Compare self to key
and return true
if they are equal.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more