[−][src]Struct tantivy::space_usage::SegmentSpaceUsage
Represents combined space usage for all of the large components comprising a segment.
Implementations
impl SegmentSpaceUsage
[src]
pub fn component(&self, component: SegmentComponent) -> ComponentSpaceUsage
[src]
Space usage for the given component
Clones the underlying data. Use the components directly if this is somehow in performance critical code.
pub fn num_docs(&self) -> u32
[src]
Num docs in segment
pub fn termdict(&self) -> &PerFieldSpaceUsage
[src]
Space usage for term dictionary
pub fn postings(&self) -> &PerFieldSpaceUsage
[src]
Space usage for postings list
pub fn positions(&self) -> &PerFieldSpaceUsage
[src]
Space usage for positions
pub fn positions_skip_idx(&self) -> &PerFieldSpaceUsage
[src]
Space usage for positions skip idx
pub fn fast_fields(&self) -> &PerFieldSpaceUsage
[src]
Space usage for fast fields
pub fn fieldnorms(&self) -> &PerFieldSpaceUsage
[src]
Space usage for field norms
pub fn store(&self) -> &StoreSpaceUsage
[src]
Space usage for stored documents
pub fn deletes(&self) -> ByteCount
[src]
Space usage for document deletions
pub fn total(&self) -> ByteCount
[src]
Total space usage in bytes for this segment.
Trait Implementations
impl Clone for SegmentSpaceUsage
[src]
fn clone(&self) -> SegmentSpaceUsage
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SegmentSpaceUsage
[src]
impl<'de> Deserialize<'de> for SegmentSpaceUsage
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for SegmentSpaceUsage
[src]
Auto Trait Implementations
impl RefUnwindSafe for SegmentSpaceUsage
impl Send for SegmentSpaceUsage
impl Sync for SegmentSpaceUsage
impl Unpin for SegmentSpaceUsage
impl UnwindSafe for SegmentSpaceUsage
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> Downcast for T where
T: Any,
[src]
T: Any,
fn into_any(self: Box<T>) -> Box<dyn Any + 'static>
[src]
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
[src]
fn as_any(&self) -> &(dyn Any + 'static)
[src]
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
[src]
impl<T> DowncastSync for T where
T: Send + Sync + Any,
[src]
T: Send + Sync + Any,
impl<T> Erased for T
[src]
impl<T> From<T> for T
[src]
impl<T> Fruit for T where
T: Send + Downcast,
[src]
T: Send + Downcast,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,