C# Class LuceneNetSqlDirectory.SqlServerDirectory

Inheritance: Lucene.Net.Store.Directory
Show file Open project: MahyTim/LuceneNetSqlDirectory

Public Methods

Method Description
CreateOutput ( string name ) : Lucene.Net.Store.IndexOutput
DeleteFile ( string name ) : void
FileExists ( string name ) : bool
FileLength ( string name ) : long
FileModified ( string name ) : long
ListAll ( ) : string[]
OpenInput ( string name ) : IndexInput
ProvisionDatabase ( SqlConnection connection, string schemaName = "[dbo]", bool dropExisting = false ) : void
SqlServerDirectory ( SqlConnection connection, Options options ) : System
TouchFile ( string name ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
ValidateConfiguration ( ) : void

Method Details

CreateOutput() public method

public CreateOutput ( string name ) : Lucene.Net.Store.IndexOutput
name string
return Lucene.Net.Store.IndexOutput

DeleteFile() public method

public DeleteFile ( string name ) : void
name string
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

FileExists() public method

public FileExists ( string name ) : bool
name string
return bool

FileLength() public method

public FileLength ( string name ) : long
name string
return long

FileModified() public method

public FileModified ( string name ) : long
name string
return long

ListAll() public method

public ListAll ( ) : string[]
return string[]

OpenInput() public method

public OpenInput ( string name ) : IndexInput
name string
return Lucene.Net.Store.IndexInput

ProvisionDatabase() public static method

public static ProvisionDatabase ( SqlConnection connection, string schemaName = "[dbo]", bool dropExisting = false ) : void
connection System.Data.SqlClient.SqlConnection
schemaName string
dropExisting bool
return void

SqlServerDirectory() public method

public SqlServerDirectory ( SqlConnection connection, Options options ) : System
connection System.Data.SqlClient.SqlConnection
options Options
return System

TouchFile() public method

public TouchFile ( string name ) : void
name string
return void