C++ API Reference for Intel® Data Analytics Acceleration Library 2020 Update 1

base_arrow_numeric_table.h
1 /* file: base_arrow_numeric_table.h */
2 /*******************************************************************************
3 * Copyright 2014-2020 Intel Corporation
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *******************************************************************************/
17 
18 #ifndef __BASE_ARROW_NUMERIC_TABLE_H__
19 #define __BASE_ARROW_NUMERIC_TABLE_H__
20 
21 #include "data_management/data/numeric_table.h"
22 #include "data_management/data/internal/conversion.h"
23 
24 namespace daal
25 {
26 namespace data_management
27 {
28 namespace interface1
29 {
38 class DAAL_EXPORT ArrowNumericTable : public NumericTable
39 {
40 public:
45  virtual bool isMutable() const = 0;
46 
47 protected:
48  ArrowNumericTable(size_t featnum, size_t obsnum, services::Status & st)
49  : NumericTable(featnum, obsnum, DictionaryIface::notEqual, st) {}
50 };
51 typedef services::SharedPtr<ArrowNumericTable> ArrowNumericTablePtr;
52 
57 class DAAL_EXPORT BaseArrowImmutableNumericTable : public ArrowNumericTable
58 {
59  DECLARE_SERIALIZABLE_TAG();
60 
61 public:
62  bool isMutable() const DAAL_C11_OVERRIDE { return false; }
63 
64 protected:
65  BaseArrowImmutableNumericTable(size_t featnum, size_t obsnum, services::Status & st) : ArrowNumericTable(featnum, obsnum, st) {}
66 };
67 typedef services::SharedPtr<BaseArrowImmutableNumericTable> BaseArrowImmutableNumericTablePtr;
68 
70 } // namespace interface1
71 
72 using interface1::ArrowNumericTable;
73 using interface1::ArrowNumericTablePtr;
74 using interface1::BaseArrowImmutableNumericTable;
75 using interface1::BaseArrowImmutableNumericTablePtr;
76 
77 } // namespace data_management
78 } // namespace daal
79 
80 #endif
daal::data_management::interface1::NumericTable
Class for a data management component responsible for representation of data in the numeric format...
Definition: numeric_table.h:577
daal::data_management::interface1::BaseArrowImmutableNumericTable
Base class that provides methods to access data stored as a immutable Apache Arrow table...
Definition: base_arrow_numeric_table.h:57
daal::data_management::interface1::BaseArrowImmutableNumericTable::isMutable
bool isMutable() const DAAL_C11_OVERRIDE
Definition: base_arrow_numeric_table.h:62
daal::data_management::interface1::ArrowNumericTable
Base class that provides methods to access data stored as a Apache Arrow table.
Definition: base_arrow_numeric_table.h:38

For more complete information about compiler optimizations, see our Optimization Notice.