Struct aws_sdk_glue::types::MongoDbTarget
source · #[non_exhaustive]pub struct MongoDbTarget {
pub connection_name: Option<String>,
pub path: Option<String>,
pub scan_all: Option<bool>,
}
Expand description
Specifies an Amazon DocumentDB or MongoDB data store to crawl.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.connection_name: Option<String>
The name of the connection to use to connect to the Amazon DocumentDB or MongoDB target.
path: Option<String>
The path of the Amazon DocumentDB or MongoDB target (database/collection).
scan_all: Option<bool>
Indicates whether to scan all the records, or to sample rows from the table. Scanning all the records can take a long time when the table is not a high throughput table.
A value of true
means to scan all records, while a value of false
means to sample the records. If no value is specified, the value defaults to true
.
Implementations§
source§impl MongoDbTarget
impl MongoDbTarget
sourcepub fn connection_name(&self) -> Option<&str>
pub fn connection_name(&self) -> Option<&str>
The name of the connection to use to connect to the Amazon DocumentDB or MongoDB target.
sourcepub fn path(&self) -> Option<&str>
pub fn path(&self) -> Option<&str>
The path of the Amazon DocumentDB or MongoDB target (database/collection).
sourcepub fn scan_all(&self) -> Option<bool>
pub fn scan_all(&self) -> Option<bool>
Indicates whether to scan all the records, or to sample rows from the table. Scanning all the records can take a long time when the table is not a high throughput table.
A value of true
means to scan all records, while a value of false
means to sample the records. If no value is specified, the value defaults to true
.
source§impl MongoDbTarget
impl MongoDbTarget
sourcepub fn builder() -> MongoDbTargetBuilder
pub fn builder() -> MongoDbTargetBuilder
Creates a new builder-style object to manufacture MongoDbTarget
.
Trait Implementations§
source§impl Clone for MongoDbTarget
impl Clone for MongoDbTarget
source§fn clone(&self) -> MongoDbTarget
fn clone(&self) -> MongoDbTarget
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MongoDbTarget
impl Debug for MongoDbTarget
source§impl PartialEq for MongoDbTarget
impl PartialEq for MongoDbTarget
source§fn eq(&self, other: &MongoDbTarget) -> bool
fn eq(&self, other: &MongoDbTarget) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MongoDbTarget
Auto Trait Implementations§
impl Freeze for MongoDbTarget
impl RefUnwindSafe for MongoDbTarget
impl Send for MongoDbTarget
impl Sync for MongoDbTarget
impl Unpin for MongoDbTarget
impl UnwindSafe for MongoDbTarget
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more