Skip to content

Commit 8ebd2b8

Browse files
authored
Rename Array -> DynArray (#6760)
As per #6544 and the migration plan in #6735 --------- Signed-off-by: Nicholas Gates <nick@nickgates.com>
1 parent f79afcf commit 8ebd2b8

288 files changed

Lines changed: 795 additions & 801 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

encodings/alp/public-api.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ impl core::clone::Clone for vortex_alp::ALPArray
2424

2525
pub fn vortex_alp::ALPArray::clone(&self) -> vortex_alp::ALPArray
2626

27-
impl core::convert::AsRef<dyn vortex_array::array::Array> for vortex_alp::ALPArray
27+
impl core::convert::AsRef<dyn vortex_array::array::DynArray> for vortex_alp::ALPArray
2828

29-
pub fn vortex_alp::ALPArray::as_ref(&self) -> &dyn vortex_array::array::Array
29+
pub fn vortex_alp::ALPArray::as_ref(&self) -> &dyn vortex_array::array::DynArray
3030

3131
impl core::convert::From<vortex_alp::ALPArray> for vortex_array::array::ArrayRef
3232

@@ -38,7 +38,7 @@ pub fn vortex_alp::ALPArray::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> cor
3838

3939
impl core::ops::deref::Deref for vortex_alp::ALPArray
4040

41-
pub type vortex_alp::ALPArray::Target = dyn vortex_array::array::Array
41+
pub type vortex_alp::ALPArray::Target = dyn vortex_array::array::DynArray
4242

4343
pub fn vortex_alp::ALPArray::deref(&self) -> &Self::Target
4444

@@ -90,9 +90,9 @@ impl core::clone::Clone for vortex_alp::ALPRDArray
9090

9191
pub fn vortex_alp::ALPRDArray::clone(&self) -> vortex_alp::ALPRDArray
9292

93-
impl core::convert::AsRef<dyn vortex_array::array::Array> for vortex_alp::ALPRDArray
93+
impl core::convert::AsRef<dyn vortex_array::array::DynArray> for vortex_alp::ALPRDArray
9494

95-
pub fn vortex_alp::ALPRDArray::as_ref(&self) -> &dyn vortex_array::array::Array
95+
pub fn vortex_alp::ALPRDArray::as_ref(&self) -> &dyn vortex_array::array::DynArray
9696

9797
impl core::convert::From<vortex_alp::ALPRDArray> for vortex_array::array::ArrayRef
9898

@@ -104,7 +104,7 @@ pub fn vortex_alp::ALPRDArray::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> c
104104

105105
impl core::ops::deref::Deref for vortex_alp::ALPRDArray
106106

107-
pub type vortex_alp::ALPRDArray::Target = dyn vortex_array::array::Array
107+
pub type vortex_alp::ALPRDArray::Target = dyn vortex_array::array::DynArray
108108

109109
pub fn vortex_alp::ALPRDArray::deref(&self) -> &Self::Target
110110

encodings/alp/src/alp/array.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
use std::fmt::Debug;
55
use std::hash::Hash;
66

7-
use vortex_array::Array;
87
use vortex_array::ArrayEq;
98
use vortex_array::ArrayHash;
109
use vortex_array::ArrayRef;
1110
use vortex_array::DeserializeMetadata;
11+
use vortex_array::DynArray;
1212
use vortex_array::ExecutionCtx;
1313
use vortex_array::IntoArray;
1414
use vortex_array::Precision;

encodings/alp/src/alp/compute/compare.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
use std::fmt::Debug;
55

6-
use vortex_array::Array;
76
use vortex_array::ArrayRef;
7+
use vortex_array::DynArray;
88
use vortex_array::ExecutionCtx;
99
use vortex_array::IntoArray;
1010
use vortex_array::arrays::ConstantArray;

encodings/alp/src/alp/compute/take.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// SPDX-License-Identifier: Apache-2.0
22
// SPDX-FileCopyrightText: Copyright the Vortex contributors
33

4-
use vortex_array::Array;
54
use vortex_array::ArrayRef;
5+
use vortex_array::DynArray;
66
use vortex_array::ExecutionCtx;
77
use vortex_array::IntoArray;
88
use vortex_array::arrays::TakeExecute;

encodings/alp/src/alp_rd/array.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ use std::fmt::Debug;
55
use std::hash::Hash;
66

77
use itertools::Itertools;
8-
use vortex_array::Array;
98
use vortex_array::ArrayEq;
109
use vortex_array::ArrayHash;
1110
use vortex_array::ArrayRef;
1211
use vortex_array::DeserializeMetadata;
12+
use vortex_array::DynArray;
1313
use vortex_array::ExecutionCtx;
1414
use vortex_array::IntoArray;
1515
use vortex_array::Precision;

encodings/alp/src/alp_rd/compute/take.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// SPDX-License-Identifier: Apache-2.0
22
// SPDX-FileCopyrightText: Copyright the Vortex contributors
33

4-
use vortex_array::Array;
54
use vortex_array::ArrayRef;
5+
use vortex_array::DynArray;
66
use vortex_array::ExecutionCtx;
77
use vortex_array::IntoArray;
88
use vortex_array::arrays::TakeExecute;

encodings/alp/src/alp_rd/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ use num_traits::Float;
2525
use num_traits::One;
2626
use num_traits::PrimInt;
2727
use rustc_hash::FxBuildHasher;
28-
use vortex_array::Array;
28+
use vortex_array::DynArray;
2929
use vortex_array::arrays::PrimitiveArray;
3030
use vortex_array::dtype::DType;
3131
use vortex_array::dtype::NativePType;

encodings/alp/src/alp_rd/ops.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// SPDX-License-Identifier: Apache-2.0
22
// SPDX-FileCopyrightText: Copyright the Vortex contributors
33

4-
use vortex_array::Array;
4+
use vortex_array::DynArray;
55
use vortex_array::scalar::Scalar;
66
use vortex_array::vtable::OperationsVTable;
77
use vortex_error::VortexExpect;

encodings/bytebool/public-api.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ impl core::clone::Clone for vortex_bytebool::ByteBoolArray
1616

1717
pub fn vortex_bytebool::ByteBoolArray::clone(&self) -> vortex_bytebool::ByteBoolArray
1818

19-
impl core::convert::AsRef<dyn vortex_array::array::Array> for vortex_bytebool::ByteBoolArray
19+
impl core::convert::AsRef<dyn vortex_array::array::DynArray> for vortex_bytebool::ByteBoolArray
2020

21-
pub fn vortex_bytebool::ByteBoolArray::as_ref(&self) -> &dyn vortex_array::array::Array
21+
pub fn vortex_bytebool::ByteBoolArray::as_ref(&self) -> &dyn vortex_array::array::DynArray
2222

2323
impl core::convert::From<alloc::vec::Vec<bool>> for vortex_bytebool::ByteBoolArray
2424

@@ -38,7 +38,7 @@ pub fn vortex_bytebool::ByteBoolArray::fmt(&self, f: &mut core::fmt::Formatter<'
3838

3939
impl core::ops::deref::Deref for vortex_bytebool::ByteBoolArray
4040

41-
pub type vortex_bytebool::ByteBoolArray::Target = dyn vortex_array::array::Array
41+
pub type vortex_bytebool::ByteBoolArray::Target = dyn vortex_array::array::DynArray
4242

4343
pub fn vortex_bytebool::ByteBoolArray::deref(&self) -> &Self::Target
4444

encodings/datetime-parts/public-api.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ impl core::clone::Clone for vortex_datetime_parts::DateTimePartsArray
1818

1919
pub fn vortex_datetime_parts::DateTimePartsArray::clone(&self) -> vortex_datetime_parts::DateTimePartsArray
2020

21-
impl core::convert::AsRef<dyn vortex_array::array::Array> for vortex_datetime_parts::DateTimePartsArray
21+
impl core::convert::AsRef<dyn vortex_array::array::DynArray> for vortex_datetime_parts::DateTimePartsArray
2222

23-
pub fn vortex_datetime_parts::DateTimePartsArray::as_ref(&self) -> &dyn vortex_array::array::Array
23+
pub fn vortex_datetime_parts::DateTimePartsArray::as_ref(&self) -> &dyn vortex_array::array::DynArray
2424

2525
impl core::convert::From<vortex_datetime_parts::DateTimePartsArray> for vortex_array::array::ArrayRef
2626

@@ -38,7 +38,7 @@ pub fn vortex_datetime_parts::DateTimePartsArray::fmt(&self, f: &mut core::fmt::
3838

3939
impl core::ops::deref::Deref for vortex_datetime_parts::DateTimePartsArray
4040

41-
pub type vortex_datetime_parts::DateTimePartsArray::Target = dyn vortex_array::array::Array
41+
pub type vortex_datetime_parts::DateTimePartsArray::Target = dyn vortex_array::array::DynArray
4242

4343
pub fn vortex_datetime_parts::DateTimePartsArray::deref(&self) -> &Self::Target
4444

0 commit comments

Comments
 (0)