/** Text Loader

        Arguments:
                files: names of files that we are bulkloading
                queries: the queries that are going to tag the produced chunks
*/
<?php 
grokit\create_data_type("TextLoaderConfigureData", "WayPointConfigureData", ['files' => 'StringContainer'], ['queries' => 'QueryExitContainer'], true);
?>


<?php 
grokit\create_data_type("TileJoinConfigureData", "WayPointConfigureData", ['lhsrelName' => 'std::string', 'rhsrelName' => 'std::string'], ['JoinWP' => 'WayPointID', 'queryColumnsMapLhs' => 'QueryExitToSlotsMap', 'queryColumnsMapRhs' => 'QueryExitToSlotsMap', 'columnsToSlotsPairLhs' => 'SlotPairContainer', 'columnsToSlotsPairRhs' => 'SlotPairContainer'], true);
?>


<?php 
grokit\create_data_type("GIConfigureData", "WayPointConfigureData", ['files' => 'StringContainer'], ['queries' => 'QueryExitContainer'], true);
?>

<?php 
grokit\generate_deserializer('WayPointConfigureData');
?>

// this is the list of way point configurations sent into the execution engine
typedef TwoWayList<WayPointConfigureData> WayPointConfigurationList;

#endif
Example #2
0
<?php 
grokit\create_data_type("GISTProduceResultsWorkFunc", "WorkFuncWrapper", [], [], true);
?>

<?php 
grokit\create_data_type("GISTProduceStateWorkFunc", "WorkFuncWrapper", [], [], true);
?>

<?php 
grokit\create_data_type("CacheChunkWorkFunc", "WorkFuncWrapper", [], [], true);
?>

<?php 
grokit\create_data_type("GSEPreProcessWorkFunc", "WorkFuncWrapper", [], [], true);
?>

<?php 
grokit\create_data_type("GSEProcessReadOnlyWorkFunc", "WorkFuncWrapper", [], [], true);
?>

<?php 
grokit\create_data_type("ClusterProcessChunkWorkFunc", "WorkFuncWrapper", [], [], true);
?>

<?php 
grokit\generate_deserializer('WorkFuncWrapper');
?>

#endif
Example #3
0
// Copyright 2013 Tera Insights, LLC. All Rights Reserved.
require_once 'DataFunctions.php';
?>

#ifndef _EXEC_ENGINE_TASKS_H_
#define _EXEC_ENGINE_TASKS_H_

#include <cinttypes>
#include <string>

#include "TwoWayList.h"

// Base class for Execution Engine Tasks
<?php 
grokit\create_base_data_type("Task", "DataC", [], [], true, true);
?>

typedef TwoWayList<Task> TaskList;

// Delete Relation
<?php 
grokit\create_data_type("DeleteRelationTask", "Task", ['relation' => 'std::string'], [], true);
?>

<?php 
grokit\generate_deserializer('Task');
?>

#endif // _EXEC_ENGINE_TASKS_H_