mirror of https://github.com/citusdata/citus.git
typedef TupleDestination once
parent
6869d7bfb2
commit
198d5d8b0f
|
@ -262,7 +262,7 @@ typedef struct TaskQuery
|
||||||
}data;
|
}data;
|
||||||
}TaskQuery;
|
}TaskQuery;
|
||||||
|
|
||||||
typedef struct TupleDestination TupleDestination;
|
struct TupleDestination;
|
||||||
|
|
||||||
typedef struct Task
|
typedef struct Task
|
||||||
{
|
{
|
||||||
|
@ -336,7 +336,7 @@ typedef struct Task
|
||||||
* Destination of tuples generated as a result of executing this task. Can be
|
* Destination of tuples generated as a result of executing this task. Can be
|
||||||
* NULL, in which case executor might use a default destination.
|
* NULL, in which case executor might use a default destination.
|
||||||
*/
|
*/
|
||||||
TupleDestination *tupleDest;
|
struct TupleDestination *tupleDest;
|
||||||
} Task;
|
} Task;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ typedef struct TupleDestination TupleDestination;
|
||||||
* accept a queryNumber parameter which denotes the index of the query that
|
* accept a queryNumber parameter which denotes the index of the query that
|
||||||
* tuple belongs to.
|
* tuple belongs to.
|
||||||
*/
|
*/
|
||||||
typedef struct TupleDestination
|
struct TupleDestination
|
||||||
{
|
{
|
||||||
/* putTuple implements custom processing of a tuple */
|
/* putTuple implements custom processing of a tuple */
|
||||||
void (*putTuple)(TupleDestination *self, Task *task,
|
void (*putTuple)(TupleDestination *self, Task *task,
|
||||||
|
@ -36,7 +36,7 @@ typedef struct TupleDestination
|
||||||
|
|
||||||
/* tupleDescForQuery returns tuple descriptor for a query number. Can return NULL. */
|
/* tupleDescForQuery returns tuple descriptor for a query number. Can return NULL. */
|
||||||
TupleDesc (*tupleDescForQuery)(TupleDestination *self, int queryNumber);
|
TupleDesc (*tupleDescForQuery)(TupleDestination *self, int queryNumber);
|
||||||
} TupleDestination;
|
};
|
||||||
|
|
||||||
extern TupleDestination * CreateTupleStoreTupleDest(Tuplestorestate *tupleStore, TupleDesc
|
extern TupleDestination * CreateTupleStoreTupleDest(Tuplestorestate *tupleStore, TupleDesc
|
||||||
tupleDescriptor);
|
tupleDescriptor);
|
||||||
|
|
Loading…
Reference in New Issue