|
| 1 | +mod chunked; |
| 2 | +mod constant; |
| 3 | +mod struct_; |
| 4 | + |
| 5 | +pub(crate) use chunked::*; |
| 6 | +pub(crate) use constant::*; |
| 7 | +use pyo3::prelude::*; |
| 8 | +pub(crate) use struct_::*; |
| 9 | + |
| 10 | +use crate::arrays::PyArray; |
| 11 | + |
| 12 | +/// Concrete class for arrays with `vortex.null` encoding. |
| 13 | +#[pyclass(name = "NullArray", module = "vortex", extends=PyArray, frozen)] |
| 14 | +pub(crate) struct PyNullArray; |
| 15 | + |
| 16 | +/// Concrete class for arrays with `vortex.bool` encoding. |
| 17 | +#[pyclass(name = "BoolArray", module = "vortex", extends=PyArray, frozen)] |
| 18 | +pub(crate) struct PyBoolArray; |
| 19 | + |
| 20 | +/// Concrete class for arrays with `vortex.primitive` encoding. |
| 21 | +#[pyclass(name = "PrimitiveArray", module = "vortex", extends=PyArray, frozen)] |
| 22 | +pub(crate) struct PyPrimitiveArray; |
| 23 | + |
| 24 | +/// Concrete class for arrays with `vortex.varbin` encoding. |
| 25 | +#[pyclass(name = "VarBinArray", module = "vortex", extends=PyArray, frozen)] |
| 26 | +pub(crate) struct PyVarBinArray; |
| 27 | + |
| 28 | +/// Concrete class for arrays with `vortex.varbinview` encoding. |
| 29 | +#[pyclass(name = "VarBinViewArray", module = "vortex", extends=PyArray, frozen)] |
| 30 | +pub(crate) struct PyVarBinViewArray; |
| 31 | + |
| 32 | +/// Concrete class for arrays with `vortex.list` encoding. |
| 33 | +#[pyclass(name = "ListArray", module = "vortex", extends=PyArray, frozen)] |
| 34 | +pub(crate) struct PyListArray; |
| 35 | + |
| 36 | +/// Concrete class for arrays with `vortex.ext` encoding. |
| 37 | +#[pyclass(name = "ExtensionArray", module = "vortex", extends=PyArray, frozen)] |
| 38 | +pub(crate) struct PyExtensionArray; |
0 commit comments