Unit msebufdataset

Description

 

Overview

Classes, Interfaces, Objects and Records

Name Description
Record fieldinfo_0ty  
Record fieldinfobasety  
Record fieldinfoextty  
Record fieldinfoty  
Record fielddataty  
Record blobcacheinfoty  
Record blobinfoty  
Record blobstreamfixinfoty  
Record blobstreaminfoty  
Record recheaderty  
Record intheaderty  
Record intrecordty  
Record bookmarkdataty  
Record bufbookmarkty  
Record dsheaderty  
Record dsrecordty  
Record indexty  
Record reclogheader32ty  
Record reclogheaderty  
Record updatelogheader32ty  
Record updatelogheaderty  
Record logbufferheader32ty  
Record logbufferheaderty  
Class tbufstreamwriter  
Class tbufstreamreader  
Class tblobbuffer  
Class tblobcopy  
Class tindexfield  
Class tindexfields  
Record indexfieldinfoty  
Class tlocalindex  
Class tlocalindexes  
Record recupdateinfoty  
Record recupdatebufferty  
Interface iblobchache  
Class ecurrentvalueaccess  
Class eapplyerror  
Record lookupdataty  
Record lookupfieldinfoty  
Class tmsebufdataset  

Functions and Procedures

function getfieldflag(nullmask: pbyte; const x: integer): boolean;
procedure setfieldflag(nullmask: pbyte; const x: integer);
procedure clearfieldflag(nullmask: pbyte; const x: integer);
procedure alignfieldpos(var avalue: integer);

Types

pfieldinfobasety = ˆfieldinfobasety;
fieldinfoarty = array of fieldinfoty;
blobcacheinfoarty = array of blobcacheinfoty;
pblobinfoty = ˆblobinfoty;
blobinfoarty = array of blobinfoty;
pblobinfoarty = ˆblobinfoarty;
precheaderty = ˆrecheaderty;
pprecheaderty = ˆprecheaderty;
pintrecordty = ˆintrecordty;
ppintrecordty = ˆpintrecordty;
pbookmarkdataty = ˆbookmarkdataty;
pbufbookmarkty = ˆbufbookmarkty;
pdsrecordty = ˆdsrecordty;
pindexty = ˆindexty;
logflagty = (...);
updatekindty = (...);
resolverresponsety = (...);
resolverresponsesty = set of resolverresponsety;
updateerroreventty = procedure( const sender: tmsebufdataset; var e: edatabaseerror; const updatekind: tupdatekind; var response: resolverresponsesty) of object;
indexfieldoptionty = (...);
indexfieldoptionsty = set of indexfieldoptionty;
localindexoptionty = (...);
localindexoptionsty = set of localindexoptionty;
intrecordpoaty = array[0..0] of pintrecordty;
pintrecordpoaty = ˆintrecordpoaty;
indexfieldinfoarty = array of indexfieldinfoty;
indexcomparefuncty = function (l,r: pintrecordty; const alastindex: integer; const apartialstring: boolean): integer of object;
bufdataseteventty = procedure(const sender: tmsebufdataset) of object;
recupdateflagty = (...);
recupdateflagsty = set of recupdateflagty;
recupdateinfoarty = array of recupdateinfoty;
precupdatebufferty = ˆrecupdatebufferty;
recupdatebufferarty = array of recupdatebufferty;
bufdatasetstatety = (...);
bufdatasetstatesty = set of bufdatasetstatety;
bufdatasetstate1ty = (...);
bufdatasetstates1ty = set of bufdatasetstate1ty;
internalcalcfieldseventty = procedure(const sender: tmsebufdataset; const fetching: boolean) of object;
getbmvalueeventty = procedure (const afield: tfield; const bm: bookmarkdataty; var adata: lookupdataty) of object;
lookupfieldinfoarty = array of lookupfieldinfoty;
filterediteventty = procedure(const sender: tmsebufdataset; const akind: filtereditkindty) of object;
bufdatasetarty = array of tmsebufdataset;
bufdatasetoptionty = (...);
bufdatasetoptionsty = set of bufdatasetoptionty;

Constants

defaultpacketrecords = -1;
integerindexfields = [ftsmallint,ftinteger,ftword,ftboolean];
largeintindexfields = [ftlargeint];
floatindexfields = [ftfloat,ftdatetime,ftdate,fttime];
currencyindexfields = [ftcurrency,ftbcd];
stringindexfields = [ftstring,ftfixedchar];
guidindexfields = [ftguid];
indexfieldtypes = integerindexfields+largeintindexfields+floatindexfields+ currencyindexfields+stringindexfields+guidindexfields;
dsbuffieldkinds = [fkcalculated,fklookup];
bufferfieldkinds = [fkdata];
dscheckfilter = ord(high(tdatasetstate)) + 1;
bufstreambuffersize = 4096;
intheadersize = sizeof(intheaderty);
dsheadersize = sizeof(dsheaderty);
defaultbufdatasetoptions = [];
oldbdsoptions = [ bdo_postsavepoint,bdo_deletesavepoint, bdo_cancelupdateonerror,bdo_cancelupdatesonerror, bdo_cancelupdateondeleteerror, bdo_editonapplyerror, bdo_restoreupdateonsavepointrollback, bdo_noapply,bdo_autoapply, bdo_autocommitret,bdo_autocommit, bdo_refreshafterapply,bdo_recnoapplyrefresh, bdo_refreshtransaction, bdo_notransactionrefresh,bdo_recnotransactionrefresh, bdo_noprepare, bdo_cacheblobs, bdo_offline, bdo_local ];

Description

Functions and Procedures

function getfieldflag(nullmask: pbyte; const x: integer): boolean;
 
procedure setfieldflag(nullmask: pbyte; const x: integer);
 
procedure clearfieldflag(nullmask: pbyte; const x: integer);
 
procedure alignfieldpos(var avalue: integer);
 

Types

pfieldinfobasety = ˆfieldinfobasety;
 
fieldinfoarty = array of fieldinfoty;
 
blobcacheinfoarty = array of blobcacheinfoty;
 
pblobinfoty = ˆblobinfoty;
 
blobinfoarty = array of blobinfoty;
 
pblobinfoarty = ˆblobinfoarty;
 
precheaderty = ˆrecheaderty;
 
pprecheaderty = ˆprecheaderty;
 
pintrecordty = ˆintrecordty;
 
ppintrecordty = ˆpintrecordty;
 
pbookmarkdataty = ˆbookmarkdataty;
 
pbufbookmarkty = ˆbufbookmarkty;
 
pdsrecordty = ˆdsrecordty;
 
pindexty = ˆindexty;
 
logflagty = (...);
 
Values
  • lf_end
  • lf_rec
  • lf_update
  • lf_cancel
  • lf_apply
  • lf_drop
updatekindty = (...);
 
Values
  • uk_modify = ord(ukmodify)
  • uk_insert = ord(ukinsert)
  • uk_delete = ord(ukdelete)
  • uk_modifyinupdate
resolverresponsety = (...);
 
Values
  • rr_abort
  • rr_quiet
  • rr_revert
  • rr_again
  • rr_applied
  • rr_skipped
resolverresponsesty = set of resolverresponsety;
 
updateerroreventty = procedure( const sender: tmsebufdataset; var e: edatabaseerror; const updatekind: tupdatekind; var response: resolverresponsesty) of object;
 
indexfieldoptionty = (...);
 
Values
  • ifo_desc
  • ifo_caseinsensitive
  • ifo_natural
indexfieldoptionsty = set of indexfieldoptionty;
 
localindexoptionty = (...);
 
Values
  • lio_desc
  • lio_default
  • lio_quicksort
localindexoptionsty = set of localindexoptionty;
 
intrecordpoaty = array[0..0] of pintrecordty;
 
pintrecordpoaty = ˆintrecordpoaty;
 
indexfieldinfoarty = array of indexfieldinfoty;
 
indexcomparefuncty = function (l,r: pintrecordty; const alastindex: integer; const apartialstring: boolean): integer of object;
 
bufdataseteventty = procedure(const sender: tmsebufdataset) of object;
 
recupdateflagty = (...);
 
Values
  • ruf_applied
  • ruf_error
  • ruf_append
  • ruf_inupdate
recupdateflagsty = set of recupdateflagty;
 
recupdateinfoarty = array of recupdateinfoty;
 
precupdatebufferty = ˆrecupdatebufferty;
 
recupdatebufferarty = array of recupdatebufferty;
 
bufdatasetstatety = (...);
 
Values
  • bs_opening
  • bs_loading
  • bs_fetching
  • bs_displaydata
  • bs_applying
  • bs_recapplying
  • bs_curvaluemodified
  • bs_curvalueset
  • bs_connected
  • bs_hasindex
  • bs_fetchall
  • bs_initinternalcalc
  • bs_blobsfetched
  • bs_blobscached
  • bs_blobssorted
  • bs_hasvalidindex
  • bs_editing
  • bs_append
  • bs_internalcalc
  • bs_startedit
  • bs_utf8
  • bs_hasfilter
  • bs_visiblerecordcountvalid
  • bs_refreshing
  • bs_restorerecno
  • bs_idle
  • bs_noautoapply
  • bs_refreshinsert
  • bs_refreshupdate
  • bs_refreshinsertindex
  • bs_refreshupdateindex
  • bs_inserttoupdate
bufdatasetstatesty = set of bufdatasetstatety;
 
bufdatasetstate1ty = (...);
 
Values
  • bs1_needsresync
  • bs1_inupdatechanged
  • bs1_lookupnotifying
  • bs1_lookupnotifypending
  • bs1_posting
  • bs1_recordupdating
  • bs1_deferdeleterecupdatebuffer
  • bs1_restoreupdate
  • bs1_onidleregistered
bufdatasetstates1ty = set of bufdatasetstate1ty;
 
internalcalcfieldseventty = procedure(const sender: tmsebufdataset; const fetching: boolean) of object;
 
getbmvalueeventty = procedure (const afield: tfield; const bm: bookmarkdataty; var adata: lookupdataty) of object;
 
lookupfieldinfoarty = array of lookupfieldinfoty;
 
filterediteventty = procedure(const sender: tmsebufdataset; const akind: filtereditkindty) of object;
 
bufdatasetarty = array of tmsebufdataset;
 
bufdatasetoptionty = (...);
 
Values
  • bdo_postsavepoint
  • bdo_deletesavepoint
  • bdo_cancelupdateonerror
  • bdo_cancelupdatesonerror
  • bdo_cancelupdateondeleteerror
  • bdo_editonapplyerror
  • bdo_restoreupdateonsavepointrollback
  • bdo_rollbackonupdateerror
  • bdo_noapply
  • bdo_autoapply
  • bdo_autoapplyexceptions
  • bdo_autocommitret
  • bdo_autocommit
  • bdo_refreshafterapply
  • bdo_recnoapplyrefresh
  • bdo_refreshtransaction
  • bdo_notransactionrefresh
  • bdo_recnotransactionrefresh
  • bdo_checkbrowsemodebylookupchange
  • bdo_noprepare
  • bdo_cacheblobs
  • bdo_offline
  • bdo_local
bufdatasetoptionsty = set of bufdatasetoptionty;
 

Constants

defaultpacketrecords = -1;
 
integerindexfields = [ftsmallint,ftinteger,ftword,ftboolean];
 
largeintindexfields = [ftlargeint];
 
floatindexfields = [ftfloat,ftdatetime,ftdate,fttime];
 
currencyindexfields = [ftcurrency,ftbcd];
 
stringindexfields = [ftstring,ftfixedchar];
 
guidindexfields = [ftguid];
 
indexfieldtypes = integerindexfields+largeintindexfields+floatindexfields+ currencyindexfields+stringindexfields+guidindexfields;
 
dsbuffieldkinds = [fkcalculated,fklookup];
 
bufferfieldkinds = [fkdata];
 
dscheckfilter = ord(high(tdatasetstate)) + 1;
 
bufstreambuffersize = 4096;
 
intheadersize = sizeof(intheaderty);
 
dsheadersize = sizeof(dsheaderty);
 
defaultbufdatasetoptions = [];
 
oldbdsoptions = [ bdo_postsavepoint,bdo_deletesavepoint, bdo_cancelupdateonerror,bdo_cancelupdatesonerror, bdo_cancelupdateondeleteerror, bdo_editonapplyerror, bdo_restoreupdateonsavepointrollback, bdo_noapply,bdo_autoapply, bdo_autocommitret,bdo_autocommit, bdo_refreshafterapply,bdo_recnoapplyrefresh, bdo_refreshtransaction, bdo_notransactionrefresh,bdo_recnotransactionrefresh, bdo_noprepare, bdo_cacheblobs, bdo_offline, bdo_local ];
 

Generated by PasDoc 0.16.0.