Skip to content

Commit ad80b53

Browse files
committed
externalize canonical aliases
Signed-off-by: Baris Palaska <barispalaska@gmail.com>
1 parent 47efbdb commit ad80b53

7 files changed

Lines changed: 186 additions & 168 deletions

File tree

vortex-array/public-api.lock

Lines changed: 26 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -8472,45 +8472,37 @@ pub trait vortex_array::dtype::arrow::FromArrowType<T>: core::marker::Sized
84728472

84738473
pub fn vortex_array::dtype::arrow::FromArrowType::from_arrow(value: T) -> Self
84748474

8475+
pub fn vortex_array::dtype::arrow::FromArrowType::from_arrow_with_session(value: T, _session: &vortex_session::VortexSession) -> Self
8476+
84758477
impl vortex_array::dtype::arrow::FromArrowType<&arrow_schema::field::Field> for vortex_array::dtype::DType
84768478

84778479
pub fn vortex_array::dtype::DType::from_arrow(field: &arrow_schema::field::Field) -> Self
84788480

8481+
pub fn vortex_array::dtype::DType::from_arrow_with_session(field: &arrow_schema::field::Field, session: &vortex_session::VortexSession) -> Self
8482+
84798483
impl vortex_array::dtype::arrow::FromArrowType<&arrow_schema::fields::Fields> for vortex_array::dtype::StructFields
84808484

84818485
pub fn vortex_array::dtype::StructFields::from_arrow(value: &arrow_schema::fields::Fields) -> Self
84828486

8487+
pub fn vortex_array::dtype::StructFields::from_arrow_with_session(value: &arrow_schema::fields::Fields, session: &vortex_session::VortexSession) -> Self
8488+
84838489
impl vortex_array::dtype::arrow::FromArrowType<&arrow_schema::schema::Schema> for vortex_array::dtype::DType
84848490

84858491
pub fn vortex_array::dtype::DType::from_arrow(value: &arrow_schema::schema::Schema) -> Self
84868492

8493+
pub fn vortex_array::dtype::DType::from_arrow_with_session(value: &arrow_schema::schema::Schema, session: &vortex_session::VortexSession) -> Self
8494+
84878495
impl vortex_array::dtype::arrow::FromArrowType<(&arrow_schema::datatype::DataType, vortex_array::dtype::Nullability)> for vortex_array::dtype::DType
84888496

84898497
pub fn vortex_array::dtype::DType::from_arrow((data_type, nullability): (&arrow_schema::datatype::DataType, vortex_array::dtype::Nullability)) -> Self
84908498

8499+
pub fn vortex_array::dtype::DType::from_arrow_with_session(value: T, _session: &vortex_session::VortexSession) -> Self
8500+
84918501
impl vortex_array::dtype::arrow::FromArrowType<alloc::sync::Arc<arrow_schema::schema::Schema>> for vortex_array::dtype::DType
84928502

84938503
pub fn vortex_array::dtype::DType::from_arrow(value: arrow_schema::schema::SchemaRef) -> Self
84948504

8495-
pub trait vortex_array::dtype::arrow::FromArrowWithSession<T>: core::marker::Sized
8496-
8497-
pub fn vortex_array::dtype::arrow::FromArrowWithSession::from_arrow_with_session(value: T, session: &vortex_session::VortexSession) -> Self
8498-
8499-
impl vortex_array::dtype::arrow::FromArrowWithSession<&alloc::sync::Arc<arrow_schema::schema::Schema>> for vortex_array::dtype::DType
8500-
8501-
pub fn vortex_array::dtype::DType::from_arrow_with_session(value: &arrow_schema::schema::SchemaRef, session: &vortex_session::VortexSession) -> Self
8502-
8503-
impl vortex_array::dtype::arrow::FromArrowWithSession<&arrow_schema::field::Field> for vortex_array::dtype::DType
8504-
8505-
pub fn vortex_array::dtype::DType::from_arrow_with_session(field: &arrow_schema::field::Field, session: &vortex_session::VortexSession) -> Self
8506-
8507-
impl vortex_array::dtype::arrow::FromArrowWithSession<&arrow_schema::fields::Fields> for vortex_array::dtype::StructFields
8508-
8509-
pub fn vortex_array::dtype::StructFields::from_arrow_with_session(value: &arrow_schema::fields::Fields, session: &vortex_session::VortexSession) -> Self
8510-
8511-
impl vortex_array::dtype::arrow::FromArrowWithSession<&arrow_schema::schema::Schema> for vortex_array::dtype::DType
8512-
8513-
pub fn vortex_array::dtype::DType::from_arrow_with_session(value: &arrow_schema::schema::Schema, session: &vortex_session::VortexSession) -> Self
8505+
pub fn vortex_array::dtype::DType::from_arrow_with_session(value: arrow_schema::schema::SchemaRef, session: &vortex_session::VortexSession) -> Self
85148506

85158507
pub trait vortex_array::dtype::arrow::TryFromArrowType<T>: core::marker::Sized
85168508

@@ -8814,10 +8806,16 @@ pub struct vortex_array::dtype::session::DTypeSession
88148806

88158807
impl vortex_array::dtype::session::DTypeSession
88168808

8809+
pub fn vortex_array::dtype::session::DTypeSession::arrow_canonical_for(&self, vortex_id: &vortex_array::dtype::extension::ExtId) -> core::option::Option<&'static str>
8810+
88178811
pub fn vortex_array::dtype::session::DTypeSession::register<V: vortex_array::dtype::extension::ExtVTable>(&self, vtable: V)
88188812

8813+
pub fn vortex_array::dtype::session::DTypeSession::register_arrow_canonical(&self, vortex_id: vortex_array::dtype::extension::ExtId, arrow_name: &'static str)
8814+
88198815
pub fn vortex_array::dtype::session::DTypeSession::registry(&self) -> &vortex_array::dtype::session::ExtDTypeRegistry
88208816

8817+
pub fn vortex_array::dtype::session::DTypeSession::vortex_id_for_arrow_canonical(&self, arrow_name: &str) -> core::option::Option<vortex_array::dtype::extension::ExtId>
8818+
88218819
impl core::default::Default for vortex_array::dtype::session::DTypeSession
88228820

88238821
pub fn vortex_array::dtype::session::DTypeSession::default() -> Self
@@ -8984,6 +8982,8 @@ pub fn vortex_array::dtype::DType::to_arrow_dtype(&self) -> vortex_error::Vortex
89848982

89858983
pub fn vortex_array::dtype::DType::to_arrow_schema(&self) -> vortex_error::VortexResult<arrow_schema::schema::Schema>
89868984

8985+
pub fn vortex_array::dtype::DType::to_arrow_schema_with_session(&self, session: &vortex_session::VortexSession) -> vortex_error::VortexResult<arrow_schema::schema::Schema>
8986+
89878987
impl core::clone::Clone for vortex_array::dtype::DType
89888988

89898989
pub fn vortex_array::dtype::DType::clone(&self) -> vortex_array::dtype::DType
@@ -9046,29 +9046,25 @@ impl vortex_array::dtype::arrow::FromArrowType<&arrow_schema::field::Field> for
90469046

90479047
pub fn vortex_array::dtype::DType::from_arrow(field: &arrow_schema::field::Field) -> Self
90489048

9049+
pub fn vortex_array::dtype::DType::from_arrow_with_session(field: &arrow_schema::field::Field, session: &vortex_session::VortexSession) -> Self
9050+
90499051
impl vortex_array::dtype::arrow::FromArrowType<&arrow_schema::schema::Schema> for vortex_array::dtype::DType
90509052

90519053
pub fn vortex_array::dtype::DType::from_arrow(value: &arrow_schema::schema::Schema) -> Self
90529054

9055+
pub fn vortex_array::dtype::DType::from_arrow_with_session(value: &arrow_schema::schema::Schema, session: &vortex_session::VortexSession) -> Self
9056+
90539057
impl vortex_array::dtype::arrow::FromArrowType<(&arrow_schema::datatype::DataType, vortex_array::dtype::Nullability)> for vortex_array::dtype::DType
90549058

90559059
pub fn vortex_array::dtype::DType::from_arrow((data_type, nullability): (&arrow_schema::datatype::DataType, vortex_array::dtype::Nullability)) -> Self
90569060

9061+
pub fn vortex_array::dtype::DType::from_arrow_with_session(value: T, _session: &vortex_session::VortexSession) -> Self
9062+
90579063
impl vortex_array::dtype::arrow::FromArrowType<alloc::sync::Arc<arrow_schema::schema::Schema>> for vortex_array::dtype::DType
90589064

90599065
pub fn vortex_array::dtype::DType::from_arrow(value: arrow_schema::schema::SchemaRef) -> Self
90609066

9061-
impl vortex_array::dtype::arrow::FromArrowWithSession<&alloc::sync::Arc<arrow_schema::schema::Schema>> for vortex_array::dtype::DType
9062-
9063-
pub fn vortex_array::dtype::DType::from_arrow_with_session(value: &arrow_schema::schema::SchemaRef, session: &vortex_session::VortexSession) -> Self
9064-
9065-
impl vortex_array::dtype::arrow::FromArrowWithSession<&arrow_schema::field::Field> for vortex_array::dtype::DType
9066-
9067-
pub fn vortex_array::dtype::DType::from_arrow_with_session(field: &arrow_schema::field::Field, session: &vortex_session::VortexSession) -> Self
9068-
9069-
impl vortex_array::dtype::arrow::FromArrowWithSession<&arrow_schema::schema::Schema> for vortex_array::dtype::DType
9070-
9071-
pub fn vortex_array::dtype::DType::from_arrow_with_session(value: &arrow_schema::schema::Schema, session: &vortex_session::VortexSession) -> Self
9067+
pub fn vortex_array::dtype::DType::from_arrow_with_session(value: arrow_schema::schema::SchemaRef, session: &vortex_session::VortexSession) -> Self
90729068

90739069
impl vortex_flatbuffers::FlatBufferRoot for vortex_array::dtype::DType
90749070

@@ -10024,8 +10020,6 @@ impl vortex_array::dtype::arrow::FromArrowType<&arrow_schema::fields::Fields> fo
1002410020

1002510021
pub fn vortex_array::dtype::StructFields::from_arrow(value: &arrow_schema::fields::Fields) -> Self
1002610022

10027-
impl vortex_array::dtype::arrow::FromArrowWithSession<&arrow_schema::fields::Fields> for vortex_array::dtype::StructFields
10028-
1002910023
pub fn vortex_array::dtype::StructFields::from_arrow_with_session(value: &arrow_schema::fields::Fields, session: &vortex_session::VortexSession) -> Self
1003010024

1003110025
impl<T, V> core::iter::traits::collect::FromIterator<(T, V)> for vortex_array::dtype::StructFields where T: core::convert::Into<vortex_array::dtype::FieldName>, V: core::convert::Into<vortex_array::dtype::FieldDType>

0 commit comments

Comments
 (0)