pub struct NumericFeatureBufferStore { /* private fields */ }Implementations§
Source§impl NumericFeatureBufferStore
impl NumericFeatureBufferStore
pub fn new(buffers: BTreeMap<String, NumericFeatureBuffer>) -> Result<Self>
pub fn from_feature_tables(tables: Vec<CoordinatorFeatureTable>) -> Result<Self>
pub fn from_f64_matrices(matrices: Vec<NumericFeatureMatrixF64>) -> Result<Self>
pub fn from_f64_column_matrices( matrices: Vec<NumericFeatureMatrixF64Columnar>, ) -> Result<Self>
pub fn is_empty(&self) -> bool
pub fn len(&self) -> usize
pub fn get(&self, feature_set_id: &str) -> Option<&NumericFeatureBuffer>
Sourcepub fn iter(&self) -> impl Iterator<Item = (&String, &NumericFeatureBuffer)>
pub fn iter(&self) -> impl Iterator<Item = (&String, &NumericFeatureBuffer)>
Deterministic iteration over (feature_set_id, buffer) pairs in
ascending feature_set_id order. Used by the file-store serializer
to produce byte-identical output for byte-identical stores.
pub fn manifests(&self) -> Result<Vec<NumericFeatureBufferManifest>>
pub fn bindings_for_relations( &self, relations: &CoordinatorRelationSet, representation_id: &RepresentationId, ) -> Result<Vec<NumericFeatureBufferBinding>>
pub fn project_relations( &self, feature_set_id: &str, relations: &CoordinatorRelationSet, source_id: Option<&SourceId>, columns: Option<&[String]>, ) -> Result<CoordinatorFeatureBlock>
pub fn project_relations_f64( &self, feature_set_id: &str, relations: &CoordinatorRelationSet, source_id: Option<&SourceId>, columns: Option<&[String]>, ) -> Result<CoordinatorFeatureBlockF64>
Trait Implementations§
Source§impl Clone for NumericFeatureBufferStore
impl Clone for NumericFeatureBufferStore
Source§fn clone(&self) -> NumericFeatureBufferStore
fn clone(&self) -> NumericFeatureBufferStore
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NumericFeatureBufferStore
impl Debug for NumericFeatureBufferStore
Source§impl Default for NumericFeatureBufferStore
impl Default for NumericFeatureBufferStore
Source§fn default() -> NumericFeatureBufferStore
fn default() -> NumericFeatureBufferStore
Returns the “default value” for a type. Read more
Source§impl PartialEq for NumericFeatureBufferStore
impl PartialEq for NumericFeatureBufferStore
Source§fn eq(&self, other: &NumericFeatureBufferStore) -> bool
fn eq(&self, other: &NumericFeatureBufferStore) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NumericFeatureBufferStore
Auto Trait Implementations§
impl Freeze for NumericFeatureBufferStore
impl RefUnwindSafe for NumericFeatureBufferStore
impl Send for NumericFeatureBufferStore
impl Sync for NumericFeatureBufferStore
impl Unpin for NumericFeatureBufferStore
impl UnsafeUnpin for NumericFeatureBufferStore
impl UnwindSafe for NumericFeatureBufferStore
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