catalog::system_schema::information_schema

Trait InformationTable

source
trait InformationTable {
    // 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§

Implementors§