C++ API Reference for Intel® Data Analytics Acceleration Library 2019 Update 5

data_source/modifiers/sql/shortcuts.h
1 /* file: shortcuts.h */
2 /*******************************************************************************
3 * Copyright 2014-2019 Intel Corporation.
4 *
5 * This software and the related documents are Intel copyrighted materials, and
6 * your use of them is governed by the express license under which they were
7 * provided to you (License). Unless the License provides otherwise, you may not
8 * use, modify, copy, publish, distribute, disclose or transmit this software or
9 * the related documents without Intel's prior written permission.
10 *
11 * This software and the related documents are provided as is, with no express
12 * or implied warranties, other than those that are expressly stated in the
13 * License.
14 *******************************************************************************/
15 
16 #ifndef __DATA_SOURCE_MODIFIERS_SQL_SHORTCUTS_H__
17 #define __DATA_SOURCE_MODIFIERS_SQL_SHORTCUTS_H__
18 
19 #include "services/internal/error_handling_helpers.h"
20 #include "data_management/data_source/modifiers/sql/internal/default_modifiers.h"
21 
22 namespace daal
23 {
24 namespace data_management
25 {
26 namespace modifiers
27 {
28 namespace sql
29 {
30 namespace interface1
31 {
32 
43 template<typename Modifier>
44 inline FeatureModifierIfacePtr custom()
45 {
46  return services::internal::wrapSharedAndTryThrow<Modifier>(new Modifier());
47 }
48 
53 inline FeatureModifierIfacePtr continuous()
54 {
55  return services::internal::wrapSharedAndTryThrow<FeatureModifier>(
56  new internal::ContinuousFeatureModifier());
57 }
58 
60 } // namespace interface1
61 
62 using interface1::custom;
63 using interface1::continuous;
64 
65 } // namespace sql
66 } // namespace modifiers
67 } // namespace data_management
68 } // namespace daal
69 
70 #endif
daal::data_management::modifiers::sql::interface1::continuous
FeatureModifierIfacePtr continuous()
Definition: data_source/modifiers/sql/shortcuts.h:53
daal
Definition: algorithm_base_common.h:31
daal::data_management::modifiers::sql::internal::ContinuousFeatureModifier
Feature modifier that parses tokens as continuous features.
Definition: sql/internal/default_modifiers.h:40
daal::data_management::modifiers::sql::interface1::custom
FeatureModifierIfacePtr custom()
Definition: data_source/modifiers/sql/shortcuts.h:44

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