Méthode | Description | |
---|---|---|
AzureDirectory ( Microsoft.WindowsAzure.Storage.CloudStorageAccount storageAccount, string containerName = null, |
Create an AzureDirectory
|
|
ClearCache ( ) : void | ||
ClearLock ( string name ) : void | ||
CreateCachedOutputAsStream ( string name ) : |
||
CreateContainer ( ) : void | ||
CreateOutput ( System name ) : IndexOutput |
Creates a new, empty file in the directory with the given name. Returns a stream writing this file.
|
|
DeleteFile ( System name ) : void |
Removes an existing file in the directory.
|
|
FileExists ( String name ) : bool |
Returns true if a file with the given name exists.
|
|
FileLength ( String name ) : long |
Returns the length of a file in the directory.
|
|
FileModified ( String name ) : long |
Returns the time the named file was last modified.
|
|
ListAll ( ) : String[] |
Returns an array of strings, one for each file in the directory.
|
|
MakeLock ( System name ) : Lock |
Construct a {@link Lock}.
|
|
OpenCachedInputAsStream ( string name ) : |
||
OpenInput ( System name ) : IndexInput |
Returns a stream reading an existing file.
|
|
ShouldCompressFile ( string path ) : bool | ||
TouchFile ( System name ) : void |
Set the modified time of an existing file to now.
|
Méthode | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Closes the store.
|
Méthode | Description | |
---|---|---|
_initCacheDirectory ( |
public AzureDirectory ( Microsoft.WindowsAzure.Storage.CloudStorageAccount storageAccount, string containerName = null, |
||
storageAccount | Microsoft.WindowsAzure.Storage.CloudStorageAccount | storage account to use |
containerName | string | name of container (folder in blob storage) |
cacheDirectory | local Directory object to use for local cache | |
compressBlobs | bool | |
rootFolder | string | path of the root folder inside the container |
Résultat | System |
public CreateCachedOutputAsStream ( string name ) : |
||
name | string | |
Résultat |
public CreateOutput ( System name ) : IndexOutput | ||
name | System | |
Résultat | IndexOutput |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Résultat | void |
public MakeLock ( System name ) : Lock | ||
name | System | the name of the lock file /// |
Résultat | Lock |
public OpenCachedInputAsStream ( string name ) : |
||
name | string | |
Résultat |
public OpenInput ( System name ) : IndexInput | ||
name | System | |
Résultat | IndexInput |
public ShouldCompressFile ( string path ) : bool | ||
path | string | |
Résultat | bool |