SystemTable

Trait SystemTable 

Source
pub trait SystemTable {
    // Required methods
    fn table_id(&self) -> TableId;
    fn table_name(&self) -> &'static str;
    fn schema(&self) -> SchemaRef;
    fn to_stream(
        &self,
        request: ScanRequest,
    ) -> Result<SendableRecordBatchStream>;

    // Provided method
    fn table_type(&self) -> TableType { ... }
}

Required Methods§

Source

fn table_id(&self) -> TableId

Source

fn table_name(&self) -> &'static str

Source

fn schema(&self) -> SchemaRef

Source

fn to_stream(&self, request: ScanRequest) -> Result<SendableRecordBatchStream>

Provided Methods§

Source

fn table_type(&self) -> TableType

Implementors§