C# 클래스 OpenSim.Data.SQLite.SQLiteAssetData

An asset storage interface for the SQLite database system
상속: AssetDataBase
파일 보기 프로젝트 열기: mcortez/opensim

공개 메소드들

메소드 설명
Delete ( string id ) : bool
Dispose ( ) : void
ExistsAsset ( UUID uuid ) : bool

Check if an asset exist in database

FetchAssetMetadataSet ( int start, int count ) : List

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

GetAsset ( UUID uuid ) : OpenSim.Framework.AssetBase

Fetch Asset

Initialise ( ) : void

Initialise the AssetData interface using default URI

Initialise ( string dbconnect ) : void

Initialises AssetData interface Loads and initialises a new SQLite connection and maintains it. use default URI if connect string is empty.

StoreAsset ( OpenSim.Framework.AssetBase asset ) : void

Create an asset

비공개 메소드들

메소드 설명
buildAsset ( IDataReader row ) : OpenSim.Framework.AssetBase

buildAssetMetadata ( IDataReader row ) : OpenSim.Framework.AssetMetadata

메소드 상세

Delete() 공개 메소드

public Delete ( string id ) : bool
id string
리턴 bool

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

ExistsAsset() 공개 메소드

Check if an asset exist in database
public ExistsAsset ( UUID uuid ) : bool
uuid UUID The asset UUID
리턴 bool

FetchAssetMetadataSet() 공개 메소드

Returns a list of AssetMetadata objects. The list is a subset of the entire data set offset by start containing count elements.
public FetchAssetMetadataSet ( int start, int count ) : List
start int The number of results to discard from the total data set.
count int The number of rows the returned list should contain.
리턴 List

GetAsset() 공개 메소드

Fetch Asset
public GetAsset ( UUID uuid ) : OpenSim.Framework.AssetBase
uuid UUID UUID of ... ?
리턴 OpenSim.Framework.AssetBase

Initialise() 공개 메소드

Initialise the AssetData interface using default URI
public Initialise ( ) : void
리턴 void

Initialise() 공개 메소드

Initialises AssetData interface Loads and initialises a new SQLite connection and maintains it. use default URI if connect string is empty.
public Initialise ( string dbconnect ) : void
dbconnect string connect string
리턴 void

StoreAsset() 공개 메소드

Create an asset
public StoreAsset ( OpenSim.Framework.AssetBase asset ) : void
asset OpenSim.Framework.AssetBase Asset Base
리턴 void