OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Properties | List of all members
OpenSim.Data.PGSQL.PGSQLAssetData Class Reference

A PGSQL Interface for the Asset server More...

Inheritance diagram for OpenSim.Data.PGSQL.PGSQLAssetData:
Inheritance graph
[legend]
Collaboration diagram for OpenSim.Data.PGSQL.PGSQLAssetData:
Collaboration graph
[legend]

Public Member Functions

override void Dispose ()
 
override void Initialise ()
 
override void Initialise (string connectionString)
 Initialises asset interface More...
 
override AssetBase GetAsset (UUID assetID)
 Fetch Asset from m_database More...
 
override bool StoreAsset (AssetBase asset)
 Create asset in m_database More...
 
override bool[] AssetsExist (UUID[] uuids)
 Check if the assets exist in the database. More...
 
override List< AssetMetadataFetchAssetMetadataSet (int start, int count)
 Returns a list of AssetMetadata objects. The list is a subset of the entire data set offset by start containing count elements. More...
 
override bool Delete (string id)
 

Properties

virtual Assembly Assembly [get]
 
override string Version [get]
 Database provider version. More...
 
override string Name [get]
 The name of this DB provider. More...
 
- Properties inherited from OpenSim.Data.AssetDataBase
abstract string Version [get]
 
abstract string Name [get]
 
- Properties inherited from OpenSim.Framework.IPlugin
string Version [get]
 Returns the plugin version More...
 
string Name [get]
 Returns the plugin name More...
 

Detailed Description

A PGSQL Interface for the Asset server

Definition at line 43 of file PGSQLAssetData.cs.

Member Function Documentation

override bool [] OpenSim.Data.PGSQL.PGSQLAssetData.AssetsExist ( UUID[]  uuids)
inlinevirtual

Check if the assets exist in the database.

Parameters
uuidsThe assets' IDs
Returns
For each asset: true if it exists, false otherwise

Implements OpenSim.Data.AssetDataBase.

Definition at line 239 of file PGSQLAssetData.cs.

override bool OpenSim.Data.PGSQL.PGSQLAssetData.Delete ( string  id)
inlinevirtual

Implements OpenSim.Data.AssetDataBase.

Definition at line 311 of file PGSQLAssetData.cs.

override void OpenSim.Data.PGSQL.PGSQLAssetData.Dispose ( )
inlinevirtual

Implements OpenSim.Data.AssetDataBase.

Definition at line 62 of file PGSQLAssetData.cs.

override List<AssetMetadata> OpenSim.Data.PGSQL.PGSQLAssetData.FetchAssetMetadataSet ( int  start,
int  count 
)
inlinevirtual

Returns a list of AssetMetadata objects. The list is a subset of the entire data set offset by start containing count elements.

Parameters
startThe number of results to discard from the total data set.
countThe number of rows the returned list should contain.
Returns
A list of AssetMetadata objects.

Implements OpenSim.Data.AssetDataBase.

Definition at line 277 of file PGSQLAssetData.cs.

override AssetBase OpenSim.Data.PGSQL.PGSQLAssetData.GetAsset ( UUID  assetID)
inlinevirtual

Fetch Asset from m_database

Parameters
assetIDthe asset UUID
Returns

Implements OpenSim.Data.AssetDataBase.

Definition at line 117 of file PGSQLAssetData.cs.

override void OpenSim.Data.PGSQL.PGSQLAssetData.Initialise ( )
inlinevirtual

Initialises asset interface

Implements OpenSim.Data.AssetDataBase.

Definition at line 68 of file PGSQLAssetData.cs.

override void OpenSim.Data.PGSQL.PGSQLAssetData.Initialise ( string  connectionString)
inlinevirtual

Initialises asset interface

a string instead of file, if someone writes the support

Parameters
connectionStringconnect string

Implements OpenSim.Data.AssetDataBase.

Definition at line 81 of file PGSQLAssetData.cs.

override bool OpenSim.Data.PGSQL.PGSQLAssetData.StoreAsset ( AssetBase  asset)
inlinevirtual

Create asset in m_database

Parameters
assetthe asset

Implements OpenSim.Data.AssetDataBase.

Definition at line 152 of file PGSQLAssetData.cs.

Property Documentation

virtual Assembly OpenSim.Data.PGSQL.PGSQLAssetData.Assembly
getprotected

Definition at line 56 of file PGSQLAssetData.cs.

override string OpenSim.Data.PGSQL.PGSQLAssetData.Name
get

The name of this DB provider.

Definition at line 104 of file PGSQLAssetData.cs.

override string OpenSim.Data.PGSQL.PGSQLAssetData.Version
get

Database provider version.

Definition at line 96 of file PGSQLAssetData.cs.


The documentation for this class was generated from the following file: