|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.soyatec.windows.azure.table.TableStorage
public abstract class TableStorage
API entry point for using structured storage. The underlying usage pattern is designed to be similar to the one used in blob and queue services in this library. Users create a TableStorage object by calling the static Create() method passing account credential information to this method.
| Field Summary | |
|---|---|
static RetryPolicy |
DefaultRetryPolicy
The default retry policy |
static TimeSpan |
DefaultTimeout
The default timeout |
| Method Summary | |
|---|---|
static TableStorage |
create(StorageAccountInfo info)
Creates a TableStorage service object. |
static TableStorage |
create(java.net.URI baseUri,
boolean usePathStyleUris,
java.lang.String accountName,
java.lang.String base64Key)
Creates a TableStorage service object. |
java.lang.String |
getAccountName()
Get the name of storage account |
abstract AzureTable |
getAzureTable(java.lang.String tableName)
Get a reference to a Azure Table object with a specified name. |
java.lang.String |
getBase64Key()
Get the authenticate key for of storage account |
java.net.URI |
getBaseUri()
Get The base URI of the table storage service |
SharedKeyCredentials |
getCredentials()
Set the credential |
RetryPolicy |
getRetryPolicy()
Get the RetryPolicy |
TimeSpan |
getTimeout()
Get time out per request |
boolean |
isUsePathStyleUris()
Indicates whether to use/generate path-style or host-style URIs |
abstract java.util.List<java.lang.String> |
listTables()
Lists all the tables under this service's URL |
void |
setBase64Key(java.lang.String base64Key)
Set the authenticate key for of storage account |
void |
setCredentials(SharedKeyCredentials credentials)
Get credential |
void |
setRetryPolicy(RetryPolicy retryPolicy)
Set the RetryPolicy |
void |
setTimeout(TimeSpan timeout)
Set timeout per request |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final RetryPolicy DefaultRetryPolicy
public static final TimeSpan DefaultTimeout
| Method Detail |
|---|
public static TableStorage create(java.net.URI baseUri,
boolean usePathStyleUris,
java.lang.String accountName,
java.lang.String base64Key)
baseUri - The base URI of the blob storage serviceusePathStyleUris - If true, path-style URIs
(http://baseuri/accountname/containername/objectname) are
used. If false host-style URIs
(http://accountname.baseuri/containername/objectname) are
used, where baseuri is the URI of the service. If null, the
choice is made automatically: path-style URIs if host name
part of base URI is an IP addres, host-style otherwise.accountName - The name of the storage accountbase64Key - Authentication key used for signing requests
public static TableStorage create(StorageAccountInfo info)
info - StorageAccountInfo
public abstract java.util.List<java.lang.String> listTables()
throws StorageException
StorageExceptionpublic abstract AzureTable getAzureTable(java.lang.String tableName)
tableName - The name of the table
public boolean isUsePathStyleUris()
public java.net.URI getBaseUri()
public java.lang.String getAccountName()
public java.lang.String getBase64Key()
public void setBase64Key(java.lang.String base64Key)
base64Key - public RetryPolicy getRetryPolicy()
RetryPolicy
public void setRetryPolicy(RetryPolicy retryPolicy)
RetryPolicy
retryPolicy - public TimeSpan getTimeout()
public void setTimeout(TimeSpan timeout)
timeout - public SharedKeyCredentials getCredentials()
public void setCredentials(SharedKeyCredentials credentials)
credentials -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||