Click or drag to resize

CDBWRITE Class

The DBWRITE class is used to open and write to databases. Large blocks of data are split into blocks and served up sequentially to prevent the over-use of virtual memory when VVs or VAs are being written to channels. Individual data blocks are limited by default to 1 MB (which is user-alterable). Data less than the block size are served up whole, one block per line.
Inheritance Hierarchy

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public class CDBWRITE : CHANDLE

public class CDBWRITE : CHANDLE

The CDBWRITE type exposes the following members.

Methods
  NameDescription
Public methodAddBlock
Add the current block of data.
Public methodCommit
Commit remaining data to the database.
Public methodStatic memberCreate
Create a DBWRITE object Add channels using the iAddChannel_DBWRITE method.channel.
Public methodStatic memberCreateXY
Create a DBWRITE object for a XY-located data. Add channels using the iAddChannel_DBWRITE method.
Public methodStatic memberCreateXYZ
Create a DBWRITE object for a XYZ-located data. Add channels using the iAddChannel_DBWRITE method.channel
Protected methodDispose
Releases the unmanaged resources used by the CDBWRITE and optionally releases the managed resources
(Overrides CHANDLEDispose(Boolean).)
Public methodGetDB
Get the output DB handle from the DBWRITE object.
Public methodGetVA
Get the VA handle for an array channel.
Public methodGetVV
Get the VV handle for a channel.
Public methodGetVVx
Get the X channel VV handle.
Public methodGetVVy
Get the Y channel VV handle.
Public methodGetVVz
Get the Z channel VV handle.
Public methodiAddChannel
Add a data channel to the DBWRITE object.
Public methodiGetChanArraySize
Get the number of columns of data in a channel.
Public methodTestFunc
Temporary test function.
Top
See Also