We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28d2aea commit e730925Copy full SHA for e730925
optd-cost-model/src/memo_ext.rs
@@ -1,9 +1,10 @@
1
use crate::common::{
2
- properties::{attr_ref::GroupAttrRefs, schema::Schema},
+ properties::{attr_ref::GroupAttrRefs, schema::Schema, Attribute},
3
types::GroupId,
4
};
5
6
pub trait MemoExt {
7
- fn get_schema_of(&self, group_id: GroupId) -> Schema;
8
- fn get_column_ref_of(&self, group_id: GroupId) -> GroupAttrRefs;
+ fn get_schema(&self, group_id: GroupId) -> Schema;
+ fn get_column_ref(&self, group_id: GroupId) -> GroupAttrRefs;
9
+ fn get_attribute_info(&self, group_id: GroupId, attr_ref_idx: u64) -> Attribute;
10
}
0 commit comments