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

data_source_utils.h
1 /* file: data_source_utils.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 /*
19 //++
20 // Declaration and implementation of the base data source class.
21 //--
22 */
23 
24 #ifndef __DATA_SOURCE_UTILS_H__
25 #define __DATA_SOURCE_UTILS_H__
26 
27 #include "data_management/data_source/data_source_dictionary.h"
28 #include "data_management/data/numeric_table.h"
29 
30 namespace daal
31 {
32 namespace data_management
33 {
34 
35 namespace interface1
36 {
46 class StringRowFeatureManagerIface
47 {
48 public:
49  virtual ~StringRowFeatureManagerIface() {}
50 
57  virtual void parseRowAsDictionary( char *rawRowData, size_t rawDataSize, DataSourceDictionary *dict ) = 0;
58 
67  virtual void parseRowIn ( char *rawRowData, size_t rawDataSize, DataSourceDictionary *dict, NumericTable *nt,
68  size_t ntRowIndex ) = 0;
69 };
71 } // namespace interface1
72 using interface1::StringRowFeatureManagerIface;
73 
74 }
75 }
76 
77 #endif
daal::data_management::interface1::Dictionary
Class that represents a dictionary of a data set and provides methods to work with the data dictionar...
Definition: data_dictionary.h:163
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::StringRowFeatureManagerIface
Abstract interface class that defines the interface to parse and convert the raw data represented as ...
Definition: data_source_utils.h:46
daal::data_management::interface1::StringRowFeatureManagerIface::parseRowAsDictionary
virtual void parseRowAsDictionary(char *rawRowData, size_t rawDataSize, DataSourceDictionary *dict)=0
daal::data_management::interface1::StringRowFeatureManagerIface::parseRowIn
virtual void parseRowIn(char *rawRowData, size_t rawDataSize, DataSourceDictionary *dict, NumericTable *nt, size_t ntRowIndex)=0

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