[][src]Struct tantivy::space_usage::SegmentSpaceUsage

pub struct SegmentSpaceUsage { /* fields omitted */ }

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]

impl Debug for SegmentSpaceUsage[src]

impl<'de> Deserialize<'de> for SegmentSpaceUsage[src]

impl Serialize for SegmentSpaceUsage[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[src]

impl<T> Erased for T[src]

impl<T> From<T> for T[src]

impl<T> Fruit for T where
    T: Send + Downcast
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,