add an interface
This commit is contained in:
parent
504fd15297
commit
b96d948539
|
@ -87,6 +87,7 @@ int32_t tBufferReserve(SBuffer *pBuffer, int64_t nData, void **ppData);
|
||||||
int32_t tRowBuild(SArray *aColVal, STSchema *pTSchema, SRow **ppRow);
|
int32_t tRowBuild(SArray *aColVal, STSchema *pTSchema, SRow **ppRow);
|
||||||
void tRowGet(SRow *pRow, STSchema *pTSchema, int32_t iCol, SColVal *pColVal);
|
void tRowGet(SRow *pRow, STSchema *pTSchema, int32_t iCol, SColVal *pColVal);
|
||||||
void tRowDestroy(SRow *pRow);
|
void tRowDestroy(SRow *pRow);
|
||||||
|
int32_t tRowMergeSort(SArray *aRow, STSchema *pTSchema);
|
||||||
|
|
||||||
// SRowIter ================================
|
// SRowIter ================================
|
||||||
int32_t tRowIterOpen(SRow *pRow, STSchema *pTSchema, SRowIter **ppIter);
|
int32_t tRowIterOpen(SRow *pRow, STSchema *pTSchema, SRowIter **ppIter);
|
||||||
|
|
|
@ -492,6 +492,11 @@ void tRowGet(SRow *pRow, STSchema *pTSchema, int32_t iCol, SColVal *pColVal) {
|
||||||
|
|
||||||
void tRowDestroy(SRow *pRow) { tFree((uint8_t *)pRow); }
|
void tRowDestroy(SRow *pRow) { tFree((uint8_t *)pRow); }
|
||||||
|
|
||||||
|
int32_t tRowMergeSort(SArray *aRow, STSchema *pTSchema) {
|
||||||
|
// todo
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
// SRowIter ========================================
|
// SRowIter ========================================
|
||||||
struct SRowIter {
|
struct SRowIter {
|
||||||
SRow *pRow;
|
SRow *pRow;
|
||||||
|
|
Loading…
Reference in New Issue