C# Class Xapian.WritableDatabase

Inheritance: Database
ファイルを表示 Open project: kyeh/dormhost Class Usage Examples

Public Methods

Method Description
AddDocument ( Xapian.Document document ) : uint
AddSpelling ( string word ) : void
AddSpelling ( string word, uint freqinc ) : void
AddSynonym ( string term, string synonym ) : void
BeginTransaction ( ) : void
BeginTransaction ( bool flushed ) : void
CancelTransaction ( ) : void
ClearSynonyms ( string term ) : void
CommitTransaction ( ) : void
DeleteDocument ( string unique_term ) : void
DeleteDocument ( uint did ) : void
Dispose ( ) : void
Flush ( ) : void
GetDescription ( ) : string
RemoveSpelling ( string word ) : void
RemoveSpelling ( string word, uint freqdec ) : void
RemoveSynonym ( string term, string synonym ) : void
ReplaceDocument ( string unique_term, Xapian.Document document ) : uint
ReplaceDocument ( uint did, Xapian.Document document ) : void
SetMetadata ( string key, string value ) : void
WritableDatabase ( ) : System
WritableDatabase ( WritableDatabase other ) : System
WritableDatabase ( string path, int action ) : System

Private Methods

Method Description
WritableDatabase ( IntPtr cPtr, bool cMemoryOwn ) : System
getCPtr ( WritableDatabase obj ) : HandleRef

Method Details

AddDocument() public method

public AddDocument ( Xapian.Document document ) : uint
document Xapian.Document
return uint

AddSpelling() public method

public AddSpelling ( string word ) : void
word string
return void

AddSpelling() public method

public AddSpelling ( string word, uint freqinc ) : void
word string
freqinc uint
return void

AddSynonym() public method

public AddSynonym ( string term, string synonym ) : void
term string
synonym string
return void

BeginTransaction() public method

public BeginTransaction ( ) : void
return void

BeginTransaction() public method

public BeginTransaction ( bool flushed ) : void
flushed bool
return void

CancelTransaction() public method

public CancelTransaction ( ) : void
return void

ClearSynonyms() public method

public ClearSynonyms ( string term ) : void
term string
return void

CommitTransaction() public method

public CommitTransaction ( ) : void
return void

DeleteDocument() public method

public DeleteDocument ( string unique_term ) : void
unique_term string
return void

DeleteDocument() public method

public DeleteDocument ( uint did ) : void
did uint
return void

Dispose() public method

public Dispose ( ) : void
return void

Flush() public method

public Flush ( ) : void
return void

GetDescription() public method

public GetDescription ( ) : string
return string

RemoveSpelling() public method

public RemoveSpelling ( string word ) : void
word string
return void

RemoveSpelling() public method

public RemoveSpelling ( string word, uint freqdec ) : void
word string
freqdec uint
return void

RemoveSynonym() public method

public RemoveSynonym ( string term, string synonym ) : void
term string
synonym string
return void

ReplaceDocument() public method

public ReplaceDocument ( string unique_term, Xapian.Document document ) : uint
unique_term string
document Xapian.Document
return uint

ReplaceDocument() public method

public ReplaceDocument ( uint did, Xapian.Document document ) : void
did uint
document Xapian.Document
return void

SetMetadata() public method

public SetMetadata ( string key, string value ) : void
key string
value string
return void

WritableDatabase() public method

public WritableDatabase ( ) : System
return System

WritableDatabase() public method

public WritableDatabase ( WritableDatabase other ) : System
other WritableDatabase
return System

WritableDatabase() public method

public WritableDatabase ( string path, int action ) : System
path string
action int
return System