Struct infinitree::fields::strategy::SparseField [−][src]
pub struct SparseField<Field> {
pub field: Field,
}
Expand description
Stores values in the object pool, while keeping keys in the index
Fields
field: Field
Trait Implementations
type Key = K
type Key = K
The key that the predicate will use to decide whether to pull more data into memory. Read more
type Serialized = (K, SizedPointer)
type Serialized = (K, SizedPointer)
The serialized record format. This type will typically
implement serde::Serialize
Read more
This is equivalent to Iterator::Item
, and should contain a
full record that can be inserted into the in-memory store. Read more
Get the key based on the deserialized data. You want this to be a reference that’s easy to derive from the serialized data. Read more
Load the full record, and return it
This function is called when initializing an iterator. It will typically read one-off book keeping information from the header of the field transaction. Read more
type Key = SizedPointer
type Key = SizedPointer
The key that the predicate will use to decide whether to pull more data into memory. Read more
type Serialized = SizedPointer
type Serialized = SizedPointer
The serialized record format. This type will typically
implement serde::Serialize
Read more
type Item = T
type Item = T
This is equivalent to Iterator::Item
, and should contain a
full record that can be inserted into the in-memory store. Read more
Get the key based on the deserialized data. You want this to be a reference that’s easy to derive from the serialized data. Read more
Load the full record, and return it
This function is called when initializing an iterator. It will typically read one-off book keeping information from the header of the field transaction. Read more
type Depth = Incremental
type Depth = Incremental
Use this strategy to load the collection. Read more
type Key = SizedPointer
type Key = SizedPointer
The key that the predicate will use to decide whether to pull more data into memory. Read more
type Serialized = SizedPointer
type Serialized = SizedPointer
The serialized record format. This type will typically
implement serde::Serialize
Read more
type Item = T
type Item = T
This is equivalent to Iterator::Item
, and should contain a
full record that can be inserted into the in-memory store. Read more
Get the key based on the deserialized data. You want this to be a reference that’s easy to derive from the serialized data. Read more
Load the full record, and return it
This function is called when initializing an iterator. It will typically read one-off book keeping information from the header of the field transaction. Read more
type Depth = Incremental
type Depth = Incremental
Use this strategy to load the collection. Read more
type Key = K
type Key = K
The key that the predicate will use to decide whether to pull more data into memory. Read more
type Serialized = (K, Option<SizedPointer>)
type Serialized = (K, Option<SizedPointer>)
The serialized record format. This type will typically
implement serde::Serialize
Read more
This is equivalent to Iterator::Item
, and should contain a
full record that can be inserted into the in-memory store. Read more
Get the key based on the deserialized data. You want this to be a reference that’s easy to derive from the serialized data. Read more
Load the full record, and return it
This function is called when initializing an iterator. It will typically read one-off book keeping information from the header of the field transaction. Read more
Store the contents of the field into the index. The field itself needs to track whether this should be a complete rewrite or an upsert. Read more
Store the contents of the field into the index. The field itself needs to track whether this should be a complete rewrite or an upsert. Read more
Store the contents of the field into the index. The field itself needs to track whether this should be a complete rewrite or an upsert. Read more
Store the contents of the field into the index. The field itself needs to track whether this should be a complete rewrite or an upsert. Read more
Auto Trait Implementations
impl<Field> RefUnwindSafe for SparseField<Field> where
Field: RefUnwindSafe,
impl<Field> Send for SparseField<Field> where
Field: Send,
impl<Field> Sync for SparseField<Field> where
Field: Sync,
impl<Field> Unpin for SparseField<Field> where
Field: Unpin,
impl<Field> UnwindSafe for SparseField<Field> where
Field: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
type Key = <T as Collection>::Key
type Key = <T as Collection>::Key
The key that the predicate will use to decide whether to pull more data into memory. Read more
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