C# 클래스 Upscaledb.NativeMethods

파일 보기 프로젝트 열기: cruppstahl/upscaledb

공개 메소드들

메소드 설명
CursorFind ( IntPtr handle, byte &keydata, byte &recdata, int flags ) : int
CursorGet ( IntPtr handle, int flags, byte &keyArray, byte &recordArray ) : int
CursorGetKey ( IntPtr handle, int flags ) : byte[]
CursorGetRecord ( IntPtr handle, int flags ) : byte[]
CursorInsert ( IntPtr handle, byte keyData, byte recordData, int flags ) : int
CursorMove ( IntPtr handle, int flags ) : int
CursorOverwrite ( IntPtr handle, byte data, int flags ) : int
EnvGetDatabaseNames ( IntPtr handle, short &names ) : int
Erase ( IntPtr handle, IntPtr txnhandle, byte data, int flags ) : int
Find ( IntPtr handle, IntPtr txnhandle, byte &keydata, byte &recdata, int flags ) : int
Insert ( IntPtr handle, IntPtr txnhandle, byte keyData, byte recordData, int flags ) : int
InsertRecNo ( IntPtr handle, IntPtr txnhandle, byte &keydata, byte recordData, int flags ) : int
ResultGetKey ( IntPtr handle, int row ) : byte[]
ResultGetRecord ( IntPtr handle, int row ) : byte[]
StringError ( int error ) : string

비공개 메소드들

메소드 설명
Close ( IntPtr handle, int flags ) : int
CursorClone ( IntPtr handle, IntPtr &clone ) : int
CursorClose ( IntPtr handle ) : int
CursorCreate ( IntPtr &chandle, IntPtr dbhandle, IntPtr txnhandle, int flags ) : int
CursorErase ( IntPtr handle, int flags ) : int
CursorFindLow ( IntPtr handle, KeyStruct &key, RecordStruct &record, int flags ) : int
CursorGetDuplicateCount ( IntPtr handle, int &count, int flags ) : int
CursorInsertLow ( IntPtr handle, KeyStruct &key, RecordStruct &record, int flags ) : int
CursorMoveLow ( IntPtr handle, IntPtr key, IntPtr record, int flags ) : int
CursorMoveLow ( IntPtr handle, IntPtr key, RecordStruct &record, int flags ) : int
CursorMoveLow ( IntPtr handle, KeyStruct &key, IntPtr record, int flags ) : int
CursorMoveLow ( IntPtr handle, KeyStruct &key, RecordStruct &record, int flags ) : int
CursorOverwriteLow ( IntPtr handle, RecordStruct &record, int flags ) : int
EnvClose ( IntPtr handle, int flags ) : int
EnvCreate ( IntPtr &handle, String fileName, int flags, int mode, Parameter parameters ) : int
EnvCreateDatabase ( IntPtr handle, IntPtr &dbhandle, short name, int flags, Parameter parameters ) : int
EnvEraseDatabase ( IntPtr handle, short name, int flags ) : int
EnvFlush ( IntPtr handle, int flags ) : int
EnvGetDatabaseNamesLow ( IntPtr handle, IntPtr dbnames, int &count ) : int
EnvOpen ( IntPtr &handle, String fileName, int flags, Parameter parameters ) : int
EnvOpenDatabase ( IntPtr handle, IntPtr &dbhandle, short name, int flags, Parameter parameters ) : int
EnvRenameDatabase ( IntPtr handle, short oldName, short newName ) : int
EnvSelectRange ( IntPtr handle, String query, IntPtr begin, IntPtr end, IntPtr &result ) : int
EraseLow ( IntPtr handle, IntPtr txnhandle, KeyStruct &key, int flags ) : int
FindLow ( IntPtr handle, IntPtr txnhandle, KeyStruct &key, RecordStruct &record, int flags ) : int
GetCount ( IntPtr handle, IntPtr txnhandle, int flags, System.Int64 &count ) : int
GetEnv ( IntPtr handle ) : IntPtr
GetLastError ( IntPtr handle ) : int
GetVersion ( int &major, int &minor, int &revision ) : void
InsertLow ( IntPtr handle, IntPtr txnhandle, KeyStruct &key, RecordStruct &record, int flags ) : int
LoadLibrary ( string dllToLoad ) : IntPtr
NativeMethods ( ) : System
RegisterCompare ( String name, CompareFunc foo ) : int
ResultClose ( IntPtr handle ) : void
ResultGetKeyLow ( IntPtr handle, int row, KeyStruct &key ) : void
ResultGetKeyType ( IntPtr handle ) : int
ResultGetRecordLow ( IntPtr handle, int row, RecordStruct &record ) : void
ResultGetRecordType ( IntPtr handle ) : int
ResultGetRowCount ( IntPtr handle ) : int
SetCompareFunc ( IntPtr handle, CompareFunc foo ) : int
SetErrorHandler ( ErrorHandler eh ) : void
StringErrorImpl ( int error ) : IntPtr
TxnAbort ( IntPtr handle, int flags ) : int
TxnBegin ( IntPtr &txnhandle, IntPtr envhandle, String filename, IntPtr reserved, int flags ) : int
TxnCommit ( IntPtr handle, int flags ) : int

메소드 상세

CursorFind() 공개 정적인 메소드

public static CursorFind ( IntPtr handle, byte &keydata, byte &recdata, int flags ) : int
handle System.IntPtr
keydata byte
recdata byte
flags int
리턴 int

CursorGet() 공개 정적인 메소드

public static CursorGet ( IntPtr handle, int flags, byte &keyArray, byte &recordArray ) : int
handle System.IntPtr
flags int
keyArray byte
recordArray byte
리턴 int

CursorGetKey() 공개 정적인 메소드

public static CursorGetKey ( IntPtr handle, int flags ) : byte[]
handle System.IntPtr
flags int
리턴 byte[]

CursorGetRecord() 공개 정적인 메소드

public static CursorGetRecord ( IntPtr handle, int flags ) : byte[]
handle System.IntPtr
flags int
리턴 byte[]

CursorInsert() 공개 정적인 메소드

public static CursorInsert ( IntPtr handle, byte keyData, byte recordData, int flags ) : int
handle System.IntPtr
keyData byte
recordData byte
flags int
리턴 int

CursorMove() 공개 정적인 메소드

public static CursorMove ( IntPtr handle, int flags ) : int
handle System.IntPtr
flags int
리턴 int

CursorOverwrite() 공개 정적인 메소드

public static CursorOverwrite ( IntPtr handle, byte data, int flags ) : int
handle System.IntPtr
data byte
flags int
리턴 int

EnvGetDatabaseNames() 공개 정적인 메소드

public static EnvGetDatabaseNames ( IntPtr handle, short &names ) : int
handle System.IntPtr
names short
리턴 int

Erase() 공개 정적인 메소드

public static Erase ( IntPtr handle, IntPtr txnhandle, byte data, int flags ) : int
handle System.IntPtr
txnhandle System.IntPtr
data byte
flags int
리턴 int

Find() 공개 정적인 메소드

public static Find ( IntPtr handle, IntPtr txnhandle, byte &keydata, byte &recdata, int flags ) : int
handle System.IntPtr
txnhandle System.IntPtr
keydata byte
recdata byte
flags int
리턴 int

Insert() 공개 정적인 메소드

public static Insert ( IntPtr handle, IntPtr txnhandle, byte keyData, byte recordData, int flags ) : int
handle System.IntPtr
txnhandle System.IntPtr
keyData byte
recordData byte
flags int
리턴 int

InsertRecNo() 공개 정적인 메소드

public static InsertRecNo ( IntPtr handle, IntPtr txnhandle, byte &keydata, byte recordData, int flags ) : int
handle System.IntPtr
txnhandle System.IntPtr
keydata byte
recordData byte
flags int
리턴 int

ResultGetKey() 공개 정적인 메소드

public static ResultGetKey ( IntPtr handle, int row ) : byte[]
handle System.IntPtr
row int
리턴 byte[]

ResultGetRecord() 공개 정적인 메소드

public static ResultGetRecord ( IntPtr handle, int row ) : byte[]
handle System.IntPtr
row int
리턴 byte[]

StringError() 공개 정적인 메소드

public static StringError ( int error ) : string
error int
리턴 string