Enum googapis::google::cloud::aiplatform::v1beta1::batch_read_feature_values_request::ReadOption [−][src]
pub enum ReadOption {
CsvReadInstances(CsvSource),
BigqueryReadInstances(BigQuerySource),
}
Variants
CsvReadInstances(CsvSource)
Each read instance consists of exactly one read timestamp and one or more entity IDs identifying entities of the corresponding EntityTypes whose Features are requested.
Each output instance contains Feature values of requested entities concatenated together as of the read time.
An example read instance may be foo_entity_id, bar_entity_id, 2020-01-01T10:00:00.123Z
.
An example output instance may be foo_entity_id, bar_entity_id, 2020-01-01T10:00:00.123Z, foo_entity_feature1_value, bar_entity_feature2_value
.
Timestamp in each read instance must be millisecond-aligned.
csv_read_instances
are read instances stored in a plain-text CSV file.
The header should be:
[ENTITY_TYPE_ID1], [ENTITY_TYPE_ID2], …, timestamp
The columns can be in any order.
Values in the timestamp column must use the RFC 3339 format, e.g.
2012-07-30T10:43:17.123Z
.
Tuple Fields of CsvReadInstances
0: CsvSource
BigqueryReadInstances(BigQuerySource)
Similar to csv_read_instances, but from BigQuery source.
Tuple Fields of BigqueryReadInstances
Implementations
pub fn merge<B>(
field: &mut Option<ReadOption>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Trait Implementations
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 ReadOption
impl Send for ReadOption
impl Sync for ReadOption
impl Unpin for ReadOption
impl UnwindSafe for ReadOption
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
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