pub struct MapRequest {
pub keys: Vec<String>,
pub value: Vec<u8>,
pub watermark: DateTime<Utc>,
pub eventtime: DateTime<Utc>,
pub headers: HashMap<String, String>,
pub user_metadata: UserMetadata,
pub system_metadata: SystemMetadata,
}Expand description
Incoming request into the map handler of Mapper.
Fields§
§keys: Vec<String>Set of keys in the (key, value) terminology of map/reduce paradigm.
value: Vec<u8>The value in the (key, value) terminology of map/reduce paradigm.
watermark: DateTime<Utc>watermark represented by time is a guarantee that we will not see an element older than this time.
eventtime: DateTime<Utc>Time of the element as seen at source or aligned after a reduce operation.
headers: HashMap<String, String>Headers for the message.
user_metadata: UserMetadataUser metadata for the message.
system_metadata: SystemMetadataSystem metadata for the message.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MapRequest
impl RefUnwindSafe for MapRequest
impl Send for MapRequest
impl Sync for MapRequest
impl Unpin for MapRequest
impl UnwindSafe for MapRequest
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
Mutably borrows from an owned value. Read more
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request