|
ActiViz .NET
5.8.0
|
vtkPostgreSQLQuery - vtkSQLQuery implementation for PostgreSQL databases More...
Public Member Functions | |
| vtkPostgreSQLQuery (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
| Automatically generated constructor - called from generated code. DO NOT call directly. | |
| vtkPostgreSQLQuery () | |
| *Undocumented Block | |
| override bool | BeginTransaction () |
| Begin, abort (roll back), or commit a transaction. | |
| override bool | CommitTransaction () |
| Begin, abort (roll back), or commit a transaction. | |
| override bool | Execute () |
| Execute the query. This must be performed before any field name or data access functions are used. | |
| override string | GetFieldName (int i) |
| Return the name of the specified query field. | |
| override int | GetFieldType (int i) |
| Return the type of the field, using the constants defined in vtkType.h. | |
| override string | GetLastErrorText () |
| Get the last error text from the query. | |
| override int | GetNumberOfFields () |
| The number of fields in the query result. | |
| int | GetNumberOfRows () |
| Unlike some databases, Postgres can tell you right away how many rows are in the results of your query. | |
| override bool | HasError () |
| Return true if there is an error on the current query. | |
| override int | IsA (string type) |
| *Undocumented Block | |
| new vtkPostgreSQLQuery | NewInstance () |
| *Undocumented Block | |
| override bool | NextRow () |
| Advance row, return false if past end. | |
| override bool | RollbackTransaction () |
| Begin, abort (roll back), or commit a transaction. | |
Public Member Functions inherited from Kitware.VTK.vtkSQLQuery | |
| vtkSQLQuery (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
| Automatically generated constructor - called from generated code. DO NOT call directly. | |
| virtual bool | BindParameter (int index, byte value) |
| Return the database associated with the query. | |
| virtual bool | BindParameter (int index, ushort value) |
| Return the database associated with the query. | |
| virtual bool | BindParameter (int index, uint value) |
| Return the database associated with the query. | |
| virtual bool | BindParameter (int index, sbyte value) |
| Return the database associated with the query. | |
| virtual bool | BindParameter (int index, short value) |
| Return the database associated with the query. | |
| virtual bool | BindParameter (int index, int value) |
| Return the database associated with the query. | |
| virtual bool | BindParameter (int index, ulong value) |
| Return the database associated with the query. | |
| virtual bool | BindParameter (int index, long value) |
| Return the database associated with the query. | |
| virtual bool | BindParameter (int index, float value) |
| Return the database associated with the query. | |
| virtual bool | BindParameter (int index, double value) |
| Return the database associated with the query. | |
| virtual bool | BindParameter (int index, string stringValue) |
| Bind a string value – string must be null-terminated. | |
| virtual bool | BindParameter (int index, string stringValue, uint length) |
| Bind a string value by specifying an array and a size. | |
| virtual bool | BindParameter (int index, IntPtr data, uint length) |
| Bind a blob value. Not all databases support blobs as a data type. Check vtkSQLDatabase::IsSupported(VTK_SQL_FEATURE_BLOB) to make sure. | |
| virtual bool | ClearParameterBindings () |
| Reset all parameter bindings to NULL. | |
| string | EscapeString (string src, bool addSurroundingQuotes) |
| Escape a string for inclusion into an SQL query. This method exists to provide a wrappable version of the method that takes and returns vtkStdString objects. You are responsible for calling delete [] on the character array returned by this method. This method simply calls the vtkStdString variant and thus need not be re-implemented by subclasses. | |
| virtual vtkSQLDatabase | GetDatabase () |
| Return the database associated with the query. | |
| virtual string | GetQuery () |
| The query string to be executed. Since some databases will process the query string as soon as it's set, this method returns a boolean to indicate success or failure. | |
| override bool | IsActive () |
| Return true if the query is active (i.e. execution was successful and results are ready to be fetched). Returns false on error or inactive query. | |
| virtual bool | SetQuery (string query) |
| The query string to be executed. Since some databases will process the query string as soon as it's set, this method returns a boolean to indicate success or failure. | |
Public Member Functions inherited from Kitware.VTK.vtkRowQuery | |
| vtkRowQuery (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
| Automatically generated constructor - called from generated code. DO NOT call directly. | |
| virtual void | CaseSensitiveFieldNamesOff () |
| Many databases do not preserve case in field names. This can cause GetFieldIndex to fail if you search for a field named someFieldName when the database actually stores it as SOMEFIELDNAME. This ivar controls whether GetFieldIndex() expects field names to be case-sensitive. The default is OFF, i.e. case is not preserved. | |
| virtual void | CaseSensitiveFieldNamesOn () |
| Many databases do not preserve case in field names. This can cause GetFieldIndex to fail if you search for a field named someFieldName when the database actually stores it as SOMEFIELDNAME. This ivar controls whether GetFieldIndex() expects field names to be case-sensitive. The default is OFF, i.e. case is not preserved. | |
| virtual bool | GetCaseSensitiveFieldNames () |
| Many databases do not preserve case in field names. This can cause GetFieldIndex to fail if you search for a field named someFieldName when the database actually stores it as SOMEFIELDNAME. This ivar controls whether GetFieldIndex() expects field names to be case-sensitive. The default is OFF, i.e. case is not preserved. | |
| int | GetFieldIndex (string name) |
| Return the index of the specified query field. Uses GetNumberOfFields() and GetFieldName() to match field name. | |
| bool | NextRow (vtkVariantArray rowArray) |
| Advance row, return false if past end. Also, fill array with row values. | |
| virtual void | SetCaseSensitiveFieldNames (bool _arg) |
| Many databases do not preserve case in field names. This can cause GetFieldIndex to fail if you search for a field named someFieldName when the database actually stores it as SOMEFIELDNAME. This ivar controls whether GetFieldIndex() expects field names to be case-sensitive. The default is OFF, i.e. case is not preserved. | |
Public Member Functions inherited from Kitware.VTK.vtkObject | |
| vtkObject (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
| Automatically generated constructor - called from generated code. DO NOT call directly. | |
| vtkObject () | |
| Create an object with Debug turned off, modified time initialized to zero, and reference counting on. | |
| uint | AddObserver (uint arg0, vtkCommand arg1, float priority) |
| This is a global flag that controls whether any debug, warning or error messages are displayed. | |
| uint | AddObserver (string arg0, vtkCommand arg1, float priority) |
| This is a global flag that controls whether any debug, warning or error messages are displayed. | |
| virtual void | DebugOff () |
| Turn debugging output off. | |
| virtual void | DebugOn () |
| Turn debugging output on. | |
| vtkCommand | GetCommand (uint tag) |
| This is a global flag that controls whether any debug, warning or error messages are displayed. | |
| byte | GetDebug () |
| Get the value of the debug flag. | |
| virtual uint | GetMTime () |
| Return this object's modified time. | |
| int | HasObserver (uint arg0, vtkCommand arg1) |
| This is a global flag that controls whether any debug, warning or error messages are displayed. | |
| int | HasObserver (string arg0, vtkCommand arg1) |
| This is a global flag that controls whether any debug, warning or error messages are displayed. | |
| int | HasObserver (uint arg0) |
| This is a global flag that controls whether any debug, warning or error messages are displayed. | |
| int | HasObserver (string arg0) |
| This is a global flag that controls whether any debug, warning or error messages are displayed. | |
| int | InvokeEvent (uint arg0, IntPtr callData) |
| This is a global flag that controls whether any debug, warning or error messages are displayed. | |
| int | InvokeEvent (string arg0, IntPtr callData) |
| This is a global flag that controls whether any debug, warning or error messages are displayed. | |
| int | InvokeEvent (uint arg0) |
| This is a global flag that controls whether any debug, warning or error messages are displayed. | |
| int | InvokeEvent (string arg0) |
| This is a global flag that controls whether any debug, warning or error messages are displayed. | |
| virtual void | Modified () |
| Update the modification time for this object. Many filters rely on the modification time to determine if they need to recompute their data. The modification time is a unique monotonically increasing unsigned long integer. | |
| void | RemoveAllObservers () |
| This is a global flag that controls whether any debug, warning or error messages are displayed. | |
| void | RemoveObserver (vtkCommand arg0) |
| This is a global flag that controls whether any debug, warning or error messages are displayed. | |
| void | RemoveObserver (uint tag) |
| This is a global flag that controls whether any debug, warning or error messages are displayed. | |
| void | RemoveObservers (uint arg0, vtkCommand arg1) |
| This is a global flag that controls whether any debug, warning or error messages are displayed. | |
| void | RemoveObservers (string arg0, vtkCommand arg1) |
| This is a global flag that controls whether any debug, warning or error messages are displayed. | |
| void | RemoveObservers (uint arg0) |
| This is a global flag that controls whether any debug, warning or error messages are displayed. | |
| void | RemoveObservers (string arg0) |
| This is a global flag that controls whether any debug, warning or error messages are displayed. | |
| void | SetDebug (byte debugFlag) |
| Set the value of the debug flag. A non-zero value turns debugging on. | |
| override string | ToString () |
| Returns the result of calling vtkObject::Print as a C# string. | |
| delegate void | vtkObjectEventHandler (vtkObject sender, vtkObjectEventArgs e) |
| Generic signature for all vtkObject events. | |
| void | RemoveAllHandlersForAllEvents () |
| Call RemoveAllHandlers on each non-null vtkObjectEventRelay. TODO: This method needs to get called by the generated Dispose. Make that happen... | |
Public Member Functions inherited from Kitware.VTK.vtkObjectBase | |
| vtkObjectBase (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
| Automatically generated constructor - called from generated code. DO NOT call directly. | |
| vtkObjectBase () | |
| Create an object with Debug turned off, modified time initialized to zero, and reference counting on. | |
| virtual void | Register (vtkObjectBase o) |
| Increase the reference count (mark as used by another object). | |
| virtual void | FastDelete () |
| Delete a reference to this object. This version will not invoke garbage collection and can potentially leak the object if it is part of a reference loop. Use this method only when it is known that the object has another reference and would not be collected if a full garbage collection check were done. | |
| string | GetClassName () |
| Return the class name as a string. This method is defined in all subclasses of vtkObjectBase with the vtkTypeMacro found in vtkSetGet.h. | |
| int | GetReferenceCount () |
| Return the current reference count of this object. | |
| void | SetReferenceCount (int arg0) |
| Sets the reference count. (This is very dangerous, use with care.) | |
Static Public Member Functions | |
| static new vtkPostgreSQLQuery | New () |
| *Undocumented Block | |
| static new int | IsTypeOf (string type) |
| *Undocumented Block | |
| static new vtkPostgreSQLQuery | SafeDownCast (vtkObjectBase o) |
| *Undocumented Block | |
Public Attributes | |
| new const string | MRFullTypeName = "Kitware.VTK.vtkPostgreSQLQuery" |
| Automatically generated type registration mechanics. | |
Public Attributes inherited from Kitware.VTK.vtkSQLQuery | |
Public Attributes inherited from Kitware.VTK.vtkRowQuery | |
Public Attributes inherited from Kitware.VTK.vtkObject | |
Public Attributes inherited from Kitware.VTK.vtkObjectBase | |
Public Attributes inherited from Kitware.VTK.WrappedObject | |
| const string | vtkChartsEL_dll = "libKitware.VTK.vtkCharts.Unmanaged.so" |
| Export layer functions for 'vtkCharts' are exported from the DLL named by the value of this variable. | |
| const string | vtkCommonEL_dll = "libKitware.VTK.vtkCommon.Unmanaged.so" |
| Export layer functions for 'vtkCommon' are exported from the DLL named by the value of this variable. | |
| const string | vtkFilteringEL_dll = "libKitware.VTK.vtkFiltering.Unmanaged.so" |
| Export layer functions for 'vtkFiltering' are exported from the DLL named by the value of this variable. | |
| const string | vtkGenericFilteringEL_dll = "libKitware.VTK.vtkGenericFiltering.Unmanaged.so" |
| Export layer functions for 'vtkGenericFiltering' are exported from the DLL named by the value of this variable. | |
| const string | vtkGeovisEL_dll = "libKitware.VTK.vtkGeovis.Unmanaged.so" |
| Export layer functions for 'vtkGeovis' are exported from the DLL named by the value of this variable. | |
| const string | vtkGraphicsEL_dll = "libKitware.VTK.vtkGraphics.Unmanaged.so" |
| Export layer functions for 'vtkGraphics' are exported from the DLL named by the value of this variable. | |
| const string | vtkHybridEL_dll = "libKitware.VTK.vtkHybrid.Unmanaged.so" |
| Export layer functions for 'vtkHybrid' are exported from the DLL named by the value of this variable. | |
| const string | vtkIOEL_dll = "libKitware.VTK.vtkIO.Unmanaged.so" |
| Export layer functions for 'vtkIO' are exported from the DLL named by the value of this variable. | |
| const string | vtkImagingEL_dll = "libKitware.VTK.vtkImaging.Unmanaged.so" |
| Export layer functions for 'vtkImaging' are exported from the DLL named by the value of this variable. | |
| const string | vtkInfovisEL_dll = "libKitware.VTK.vtkInfovis.Unmanaged.so" |
| Export layer functions for 'vtkInfovis' are exported from the DLL named by the value of this variable. | |
| const string | vtkParallelEL_dll = "libKitware.VTK.vtkParallel.Unmanaged.so" |
| Export layer functions for 'vtkParallel' are exported from the DLL named by the value of this variable. | |
| const string | vtkRenderingEL_dll = "libKitware.VTK.vtkRendering.Unmanaged.so" |
| Export layer functions for 'vtkRendering' are exported from the DLL named by the value of this variable. | |
| const string | vtkViewsEL_dll = "libKitware.VTK.vtkViews.Unmanaged.so" |
| Export layer functions for 'vtkViews' are exported from the DLL named by the value of this variable. | |
| const string | vtkVolumeRenderingEL_dll = "libKitware.VTK.vtkVolumeRendering.Unmanaged.so" |
| Export layer functions for 'vtkVolumeRendering' are exported from the DLL named by the value of this variable. | |
| const string | vtkWidgetsEL_dll = "libKitware.VTK.vtkWidgets.Unmanaged.so" |
| Export layer functions for 'vtkWidgets' are exported from the DLL named by the value of this variable. | |
Static Public Attributes | |
| static new readonly string | MRClassNameKey = "18vtkPostgreSQLQuery" |
| Automatically generated type registration mechanics. | |
Static Public Attributes inherited from Kitware.VTK.vtkSQLQuery | |
Static Public Attributes inherited from Kitware.VTK.vtkRowQuery | |
Static Public Attributes inherited from Kitware.VTK.vtkObject | |
Static Public Attributes inherited from Kitware.VTK.vtkObjectBase | |
Protected Member Functions | |
| override void | Dispose (bool disposing) |
| Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly. | |
Static Private Member Functions | |
| static | vtkPostgreSQLQuery () |
| Automatically generated type registration mechanics. | |
vtkPostgreSQLQuery - vtkSQLQuery implementation for PostgreSQL databases
Description
This is an implementation of vtkSQLQuery for PostgreSQL databases. See the documentation for vtkSQLQuery for information about what the methods do.
Thanks
Thanks to David Thompson and Andy Wilson from Sandia National Laboratories for implementing this class.
|
staticprivate |
Automatically generated type registration mechanics.
| Kitware.VTK.vtkPostgreSQLQuery.vtkPostgreSQLQuery | ( | IntPtr | rawCppThis, |
| bool | callDisposalMethod, | ||
| bool | strong | ||
| ) |
Automatically generated constructor - called from generated code. DO NOT call directly.
| Kitware.VTK.vtkPostgreSQLQuery.vtkPostgreSQLQuery | ( | ) |
*Undocumented Block
|
virtual |
Begin, abort (roll back), or commit a transaction.
Reimplemented from Kitware.VTK.vtkSQLQuery.
|
virtual |
Begin, abort (roll back), or commit a transaction.
Reimplemented from Kitware.VTK.vtkSQLQuery.
|
protected |
Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.
Reimplemented from Kitware.VTK.vtkSQLQuery.
|
virtual |
Execute the query. This must be performed before any field name or data access functions are used.
Reimplemented from Kitware.VTK.vtkSQLQuery.
|
virtual |
Return the name of the specified query field.
Reimplemented from Kitware.VTK.vtkRowQuery.
|
virtual |
Return the type of the field, using the constants defined in vtkType.h.
Reimplemented from Kitware.VTK.vtkRowQuery.
|
virtual |
Get the last error text from the query.
Reimplemented from Kitware.VTK.vtkRowQuery.
|
virtual |
The number of fields in the query result.
Reimplemented from Kitware.VTK.vtkRowQuery.
| int Kitware.VTK.vtkPostgreSQLQuery.GetNumberOfRows | ( | ) |
Unlike some databases, Postgres can tell you right away how many rows are in the results of your query.
|
virtual |
Return true if there is an error on the current query.
Reimplemented from Kitware.VTK.vtkRowQuery.
|
virtual |
*Undocumented Block
Reimplemented from Kitware.VTK.vtkSQLQuery.
|
static |
*Undocumented Block
Reimplemented from Kitware.VTK.vtkSQLQuery.
|
static |
*Undocumented Block
Reimplemented from Kitware.VTK.vtkObject.
| new vtkPostgreSQLQuery Kitware.VTK.vtkPostgreSQLQuery.NewInstance | ( | ) |
*Undocumented Block
Reimplemented from Kitware.VTK.vtkSQLQuery.
|
virtual |
Advance row, return false if past end.
Reimplemented from Kitware.VTK.vtkRowQuery.
|
virtual |
Begin, abort (roll back), or commit a transaction.
Reimplemented from Kitware.VTK.vtkSQLQuery.
|
static |
*Undocumented Block
Reimplemented from Kitware.VTK.vtkSQLQuery.
|
static |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkSQLQuery.
| new const string Kitware.VTK.vtkPostgreSQLQuery.MRFullTypeName = "Kitware.VTK.vtkPostgreSQLQuery" |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkSQLQuery.
1.8.1