Skip to content

ResultTable

Source

Metadata for one PLEXOS solution result table or view.

from plexosdb import ResultTable
name: Annotated[str, 'DuckDB table or view name.'] = field(metadata={'description': 'DuckDB table or view name.'})
schema: Annotated[ResultSchema, 'DuckDB schema containing the result.'] = field(metadata={'description': 'DuckDB schema containing the result.'})
phase: Annotated[PhaseEnum, 'PLEXOS solve phase.'] = field(metadata={'description': 'PLEXOS solve phase.'})
period: Annotated[PeriodEnum, 'PLEXOS result period.'] = field(metadata={'description': 'PLEXOS result period.'})
class_enum: Annotated[ClassEnum | None, 'Object class associated with the result collection.'] = field(metadata={'description': 'Object class associated with the result collection.'})
collection: Annotated[CollectionEnum, 'PLEXOS collection represented by the result.'] = field(metadata={'description': 'PLEXOS collection represented by the result.'})
property_name: Annotated[str, 'PLEXOS property represented by the result.'] = field(metadata={'description': 'PLEXOS property represented by the result.'})
table_type: Annotated[TableTypeEnum, 'DuckDB information_schema table type.'] = field(metadata={'description': 'DuckDB information_schema table type.'})
value_column: Annotated[str, 'Column containing the result values.'] = field(metadata={'description': 'Column containing the result values.'})