Eneboo - Documentación para desarrolladores
'defines' | 'typedefs' | Enumeraciones | Funciones
Referencia del Archivo src/libpq/include/utils/tuplesort.h
#include "access/htup.h"
#include "access/itup.h"
#include "fmgr.h"

Ir al código fuente de este archivo.

'defines'

#define tuplesort_getheaptuple(state, forward, should_free)   ((HeapTuple) tuplesort_gettuple(state, forward, should_free))
#define tuplesort_getindextuple(state, forward, should_free)   ((IndexTuple) tuplesort_gettuple(state, forward, should_free))

'typedefs'

typedef struct Tuplesortstate Tuplesortstate

Enumeraciones

enum  SortFunctionKind { SORTFUNC_LT, SORTFUNC_REVLT, SORTFUNC_CMP, SORTFUNC_REVCMP }

Funciones

Tuplesortstatetuplesort_begin_heap (TupleDesc tupDesc, int nkeys, Oid *sortOperators, AttrNumber *attNums, int workMem, bool randomAccess)
Tuplesortstatetuplesort_begin_index (Relation indexRel, bool enforceUnique, int workMem, bool randomAccess)
Tuplesortstatetuplesort_begin_datum (Oid datumType, Oid sortOperator, int workMem, bool randomAccess)
void tuplesort_puttuple (Tuplesortstate *state, void *tuple)
void tuplesort_putdatum (Tuplesortstate *state, Datum val, bool isNull)
void tuplesort_performsort (Tuplesortstate *state)
void * tuplesort_gettuple (Tuplesortstate *state, bool forward, bool *should_free)
bool tuplesort_getdatum (Tuplesortstate *state, bool forward, Datum *val, bool *isNull)
void tuplesort_end (Tuplesortstate *state)
void tuplesort_rescan (Tuplesortstate *state)
void tuplesort_markpos (Tuplesortstate *state)
void tuplesort_restorepos (Tuplesortstate *state)
void SelectSortFunction (Oid sortOperator, RegProcedure *sortFunction, SortFunctionKind *kind)
int32 ApplySortFunction (FmgrInfo *sortFunction, SortFunctionKind kind, Datum datum1, bool isNull1, Datum datum2, bool isNull2)

Documentación de los 'defines'

#define tuplesort_getheaptuple (   state,
  forward,
  should_free 
)    ((HeapTuple) tuplesort_gettuple(state, forward, should_free))
#define tuplesort_getindextuple (   state,
  forward,
  should_free 
)    ((IndexTuple) tuplesort_gettuple(state, forward, should_free))

Documentación de los 'typedefs'


Documentación de las enumeraciones

Valores de enumeraciones:
SORTFUNC_LT 
SORTFUNC_REVLT 
SORTFUNC_CMP 
SORTFUNC_REVCMP 

Documentación de las funciones

int32 ApplySortFunction ( FmgrInfo *  sortFunction,
SortFunctionKind  kind,
Datum  datum1,
bool  isNull1,
Datum  datum2,
bool  isNull2 
)
void SelectSortFunction ( Oid  sortOperator,
RegProcedure sortFunction,
SortFunctionKind kind 
)
Tuplesortstate* tuplesort_begin_datum ( Oid  datumType,
Oid  sortOperator,
int  workMem,
bool  randomAccess 
)
Tuplesortstate* tuplesort_begin_heap ( TupleDesc  tupDesc,
int  nkeys,
Oid sortOperators,
AttrNumber *  attNums,
int  workMem,
bool  randomAccess 
)
Tuplesortstate* tuplesort_begin_index ( Relation  indexRel,
bool  enforceUnique,
int  workMem,
bool  randomAccess 
)
void tuplesort_end ( Tuplesortstate state)
bool tuplesort_getdatum ( Tuplesortstate state,
bool  forward,
Datum val,
bool isNull 
)
void* tuplesort_gettuple ( Tuplesortstate state,
bool  forward,
bool should_free 
)
void tuplesort_markpos ( Tuplesortstate state)
void tuplesort_performsort ( Tuplesortstate state)
void tuplesort_putdatum ( Tuplesortstate state,
Datum  val,
bool  isNull 
)
void tuplesort_puttuple ( Tuplesortstate state,
void *  tuple 
)
void tuplesort_rescan ( Tuplesortstate state)
void tuplesort_restorepos ( Tuplesortstate state)
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'