public class DefaultClient extends java.lang.Object implements AdvancedClient
Client
interface based on OioHttp
Modifier and Type | Field and Description |
---|---|
protected io.openio.sds.storage.rawx.RawxClient |
rawx |
Modifier and Type | Method and Description |
---|---|
io.openio.sds.models.ContainerInfo |
createContainer(io.openio.sds.models.OioUrl url)
Create a container using the specified
OioUrl . |
io.openio.sds.models.ContainerInfo |
createContainer(io.openio.sds.models.OioUrl url,
java.util.Map<java.lang.String,java.lang.String> properties)
Create a container using the specified
OioUrl . |
io.openio.sds.models.ContainerInfo |
createContainer(io.openio.sds.models.OioUrl url,
java.util.Map<java.lang.String,java.lang.String> properties,
java.util.Map<java.lang.String,java.lang.String> system)
Create a container using the specified
OioUrl . |
io.openio.sds.models.ContainerInfo |
createContainer(io.openio.sds.models.OioUrl url,
java.util.Map<java.lang.String,java.lang.String> properties,
java.util.Map<java.lang.String,java.lang.String> system,
RequestContext reqCtx)
Create a container using the specified
OioUrl . |
io.openio.sds.models.ContainerInfo |
createContainer(io.openio.sds.models.OioUrl url,
java.util.Map<java.lang.String,java.lang.String> properties,
RequestContext reqCtx)
Create a container using the specified
OioUrl . |
io.openio.sds.models.ContainerInfo |
createContainer(io.openio.sds.models.OioUrl url,
RequestContext reqCtx)
Create a container using the specified
OioUrl . |
void |
deleteContainer(io.openio.sds.models.OioUrl url)
Deletes the specified container
|
void |
deleteContainer(io.openio.sds.models.OioUrl url,
RequestContext reqCtx)
Delete the specified container
|
void |
deleteContainerProperties(io.openio.sds.models.OioUrl url,
java.util.List<java.lang.String> keys)
Deletes user properties from the specified container
|
void |
deleteContainerProperties(io.openio.sds.models.OioUrl url,
java.util.List<java.lang.String> keys,
RequestContext reqCtx)
Deletes user properties from the specified container
|
void |
deleteContainerProperties(io.openio.sds.models.OioUrl url,
RequestContext reqCtx,
java.lang.String... keys)
Deletes user properties from the specified container
|
void |
deleteContainerProperties(io.openio.sds.models.OioUrl url,
java.lang.String... keys)
Deletes user properties from the specified container
|
void |
deleteObject(io.openio.sds.models.OioUrl url)
Deletes the specified object
|
void |
deleteObject(io.openio.sds.models.OioUrl url,
java.lang.Long version)
Deprecated.
|
void |
deleteObject(io.openio.sds.models.OioUrl url,
java.lang.Long version,
RequestContext reqCtx)
Deprecated.
|
void |
deleteObject(io.openio.sds.models.OioUrl url,
io.openio.sds.models.ObjectDeletionOptions options)
Deletes the specified object
|
void |
deleteObject(io.openio.sds.models.OioUrl url,
io.openio.sds.models.ObjectDeletionOptions options,
RequestContext reqCtx)
Delete the specified object.
|
void |
deleteObject(io.openio.sds.models.OioUrl url,
RequestContext reqCtx)
Delete the specified object.
|
void |
deleteObjectProperties(io.openio.sds.models.OioUrl url,
java.util.List<java.lang.String> keys)
Deletes the specified properties from the object
|
void |
deleteObjectProperties(io.openio.sds.models.OioUrl url,
java.util.List<java.lang.String> keys,
RequestContext reqCtx)
Deletes the specified properties from the object
|
void |
deleteObjectProperties(io.openio.sds.models.OioUrl url,
java.lang.Long version,
java.util.List<java.lang.String> keys)
Deletes the specified properties from the object
|
void |
deleteObjectProperties(io.openio.sds.models.OioUrl url,
java.lang.Long version,
java.util.List<java.lang.String> keys,
RequestContext reqCtx)
Deletes the specified properties from the object
|
void |
deleteObjectProperties(io.openio.sds.models.OioUrl url,
java.lang.Long version,
RequestContext reqCtx,
java.lang.String... keys)
Deletes the specified properties from the object
|
void |
deleteObjectProperties(io.openio.sds.models.OioUrl url,
java.lang.Long version,
java.lang.String... keys)
Deletes the specified properties from the object
|
void |
deleteObjectProperties(io.openio.sds.models.OioUrl url,
RequestContext reqCtx,
java.lang.String... keys)
Deletes the specified properties from the object
|
void |
deleteObjectProperties(io.openio.sds.models.OioUrl url,
java.lang.String... keys)
Deletes the specified properties from the object
|
java.io.InputStream |
downloadObject(io.openio.sds.models.ObjectInfo oinf)
Returns the data of the specified object
|
java.io.InputStream |
downloadObject(io.openio.sds.models.ObjectInfo oinf,
io.openio.sds.models.Range range)
Get object data from a specified range.
|
java.io.InputStream |
downloadObject(io.openio.sds.models.ObjectInfo oinf,
io.openio.sds.models.Range range,
RequestContext reqCtx)
Get object data from a specified range.
|
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> |
getAllContainerProperties(io.openio.sds.models.OioUrl url)
Retrieve user properties and system properties
of the specified container.
|
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> |
getAllContainerProperties(io.openio.sds.models.OioUrl url,
RequestContext reqCtx)
Retrieve user properties and system properties
of the specified container.
|
io.openio.sds.models.ContainerInfo |
getContainerInfo(io.openio.sds.models.OioUrl url)
Return information about the specified container.
|
io.openio.sds.models.ContainerInfo |
getContainerInfo(io.openio.sds.models.OioUrl url,
RequestContext reqCtx)
Return information about the specified container.
|
java.util.Map<java.lang.String,java.lang.String> |
getContainerProperties(io.openio.sds.models.OioUrl url)
Retrieve user properties of the specified container
|
java.util.Map<java.lang.String,java.lang.String> |
getContainerProperties(io.openio.sds.models.OioUrl url,
RequestContext reqCtx)
Retrieve user properties of the specified container.
|
io.openio.sds.models.NamespaceInfo |
getNamespaceInfo()
Get OpenIO-SDS namespace configuration.
|
io.openio.sds.models.NamespaceInfo |
getNamespaceInfo(RequestContext reqCtx)
Get OpenIO-SDS namespace configuration.
|
io.openio.sds.models.ObjectInfo |
getObjectInfo(io.openio.sds.models.OioUrl url)
Returns information about the specified object
|
io.openio.sds.models.ObjectInfo |
getObjectInfo(io.openio.sds.models.OioUrl url,
boolean loadProperties)
Returns information about the specified object
|
io.openio.sds.models.ObjectInfo |
getObjectInfo(io.openio.sds.models.OioUrl url,
java.lang.Long version)
Returns information about the specified object
|
io.openio.sds.models.ObjectInfo |
getObjectInfo(io.openio.sds.models.OioUrl url,
java.lang.Long version,
boolean loadProperties)
Returns information about the specified object
|
io.openio.sds.models.ObjectInfo |
getObjectInfo(io.openio.sds.models.OioUrl url,
java.lang.Long version,
boolean loadProperties,
RequestContext reqCtx)
Returns information about the specified object
|
java.util.Map<java.lang.String,java.lang.String> |
getObjectProperties(io.openio.sds.models.OioUrl url)
Retrieve user properties of the specified object
|
java.util.Map<java.lang.String,java.lang.String> |
getObjectProperties(io.openio.sds.models.OioUrl url,
java.lang.Long version)
Retrieve user properties of the specified object
|
java.util.Map<java.lang.String,java.lang.String> |
getObjectProperties(io.openio.sds.models.OioUrl url,
java.lang.Long version,
RequestContext reqCtx)
Retrieve user properties of the specified object.
|
java.util.Map<java.lang.String,java.lang.String> |
getObjectProperties(io.openio.sds.models.OioUrl url,
RequestContext reqCtx)
Retrieve user properties of the specified object.
|
io.openio.sds.models.ObjectList |
listContainer(io.openio.sds.models.OioUrl url,
io.openio.sds.models.ListOptions listOptions)
Deprecated.
|
io.openio.sds.models.ObjectList |
listObjects(io.openio.sds.models.OioUrl url,
io.openio.sds.models.ListOptions listOptions)
List objects available in the specified container.
|
io.openio.sds.models.ObjectList |
listObjects(io.openio.sds.models.OioUrl url,
io.openio.sds.models.ListOptions listOptions,
RequestContext reqCtx)
List objects available in the specified container.
|
io.openio.sds.proxy.ProxyClient |
proxy() |
io.openio.sds.models.ObjectInfo |
putObject(io.openio.sds.models.OioUrl url,
java.lang.Long size,
java.io.File data)
Push an object into the oio namespace
|
io.openio.sds.models.ObjectInfo |
putObject(io.openio.sds.models.OioUrl url,
java.lang.Long size,
java.io.File data,
java.lang.Long version)
Deprecated.
|
io.openio.sds.models.ObjectInfo |
putObject(io.openio.sds.models.OioUrl url,
java.lang.Long size,
java.io.File data,
java.lang.Long version,
java.util.Map<java.lang.String,java.lang.String> properties)
Deprecated.
|
io.openio.sds.models.ObjectInfo |
putObject(io.openio.sds.models.OioUrl url,
java.lang.Long size,
java.io.File data,
java.lang.Long version,
java.util.Map<java.lang.String,java.lang.String> properties,
RequestContext reqCtx)
Deprecated.
|
io.openio.sds.models.ObjectInfo |
putObject(io.openio.sds.models.OioUrl url,
java.lang.Long size,
java.io.File data,
java.util.Map<java.lang.String,java.lang.String> properties)
Deprecated.
|
io.openio.sds.models.ObjectInfo |
putObject(io.openio.sds.models.OioUrl url,
java.lang.Long size,
java.io.File data,
io.openio.sds.models.ObjectCreationOptions options)
Push an object into the oio namespace
|
io.openio.sds.models.ObjectInfo |
putObject(io.openio.sds.models.OioUrl url,
java.lang.Long size,
java.io.File data,
io.openio.sds.models.ObjectCreationOptions options,
RequestContext reqCtx)
Push an object into the OpenIO-SDS namespace.
|
io.openio.sds.models.ObjectInfo |
putObject(io.openio.sds.models.OioUrl url,
java.lang.Long size,
java.io.InputStream data)
Push an object into the oio namespace
|
io.openio.sds.models.ObjectInfo |
putObject(io.openio.sds.models.OioUrl url,
java.lang.Long size,
java.io.InputStream data,
java.lang.Long version)
Deprecated.
|
io.openio.sds.models.ObjectInfo |
putObject(io.openio.sds.models.OioUrl url,
java.lang.Long size,
java.io.InputStream data,
java.lang.Long version,
java.util.Map<java.lang.String,java.lang.String> properties)
Deprecated.
|
io.openio.sds.models.ObjectInfo |
putObject(io.openio.sds.models.OioUrl url,
java.lang.Long size,
java.io.InputStream data,
java.lang.Long version,
java.util.Map<java.lang.String,java.lang.String> properties,
RequestContext reqCtx)
Deprecated.
|
io.openio.sds.models.ObjectInfo |
putObject(io.openio.sds.models.OioUrl url,
java.lang.Long size,
java.io.InputStream data,
java.util.Map<java.lang.String,java.lang.String> properties)
Deprecated.
|
io.openio.sds.models.ObjectInfo |
putObject(io.openio.sds.models.OioUrl url,
java.lang.Long size,
java.io.InputStream data,
io.openio.sds.models.ObjectCreationOptions options)
Push an object into the oio namespace
|
io.openio.sds.models.ObjectInfo |
putObject(io.openio.sds.models.OioUrl url,
java.lang.Long size,
java.io.InputStream data,
io.openio.sds.models.ObjectCreationOptions options,
RequestContext reqCtx)
Push an object into the OpenIO-SDS namespace.
|
void |
setContainerProperties(io.openio.sds.models.OioUrl url,
java.util.Map<java.lang.String,java.lang.String> props)
Set properties to the specified container.
|
void |
setContainerProperties(io.openio.sds.models.OioUrl url,
java.util.Map<java.lang.String,java.lang.String> props,
boolean clear)
Set properties to the specified container.
|
void |
setContainerProperties(io.openio.sds.models.OioUrl url,
java.util.Map<java.lang.String,java.lang.String> props,
boolean clear,
java.util.Map<java.lang.String,java.lang.String> sys)
Set properties to the specified container.
|
void |
setContainerProperties(io.openio.sds.models.OioUrl url,
java.util.Map<java.lang.String,java.lang.String> props,
boolean clear,
java.util.Map<java.lang.String,java.lang.String> sys,
RequestContext reqCtx)
Set properties to the specified container.
|
void |
setContainerProperties(io.openio.sds.models.OioUrl url,
java.util.Map<java.lang.String,java.lang.String> props,
boolean clear,
RequestContext reqCtx)
Set properties to the specified container.
|
void |
setContainerProperties(io.openio.sds.models.OioUrl url,
java.util.Map<java.lang.String,java.lang.String> props,
java.util.Map<java.lang.String,java.lang.String> sys)
Set properties to the specified container.
|
void |
setContainerProperties(io.openio.sds.models.OioUrl url,
java.util.Map<java.lang.String,java.lang.String> props,
java.util.Map<java.lang.String,java.lang.String> sys,
RequestContext reqCtx)
Set properties to the specified container.
|
void |
setContainerProperties(io.openio.sds.models.OioUrl url,
java.util.Map<java.lang.String,java.lang.String> props,
RequestContext reqCtx)
Set properties to the specified container.
|
void |
setObjectProperties(io.openio.sds.models.OioUrl url,
java.lang.Long version,
java.util.Map<java.lang.String,java.lang.String> props)
Add properties to the specified object.
|
void |
setObjectProperties(io.openio.sds.models.OioUrl url,
java.lang.Long version,
java.util.Map<java.lang.String,java.lang.String> props,
boolean clear)
Add properties to the specified object.
|
void |
setObjectProperties(io.openio.sds.models.OioUrl url,
java.lang.Long version,
java.util.Map<java.lang.String,java.lang.String> props,
boolean clear,
RequestContext reqCtx)
Add properties to the specified object.
|
void |
setObjectProperties(io.openio.sds.models.OioUrl url,
java.lang.Long version,
java.util.Map<java.lang.String,java.lang.String> props,
RequestContext reqCtx)
Add properties to the specified object.
|
void |
setObjectProperties(io.openio.sds.models.OioUrl url,
java.util.Map<java.lang.String,java.lang.String> props)
Add properties to the specified object.
|
void |
setObjectProperties(io.openio.sds.models.OioUrl url,
java.util.Map<java.lang.String,java.lang.String> props,
boolean clear)
Add properties to the specified object.
|
void |
setObjectProperties(io.openio.sds.models.OioUrl url,
java.util.Map<java.lang.String,java.lang.String> props,
boolean clear,
RequestContext reqCtx)
Add properties to the specified object.
|
void |
setObjectProperties(io.openio.sds.models.OioUrl url,
java.util.Map<java.lang.String,java.lang.String> props,
RequestContext reqCtx)
Add properties to the specified object.
|
public io.openio.sds.proxy.ProxyClient proxy()
public io.openio.sds.models.NamespaceInfo getNamespaceInfo()
Client
getNamespaceInfo
in interface Client
public io.openio.sds.models.NamespaceInfo getNamespaceInfo(RequestContext reqCtx)
AdvancedClient
getNamespaceInfo
in interface AdvancedClient
reqCtx
- Common parameters to all requestspublic io.openio.sds.models.ContainerInfo createContainer(io.openio.sds.models.OioUrl url)
Client
OioUrl
. OioUrl objects are
built by using OioUrl.url(String, String)
method, then you have
to specify the name of the account to use and the name of the future
container.
The container is available when the returned future is completed.
createContainer
in interface Client
url
- the url of the containerContainerInfo
with information about the created
containerpublic io.openio.sds.models.ContainerInfo createContainer(io.openio.sds.models.OioUrl url, java.util.Map<java.lang.String,java.lang.String> properties)
Client
OioUrl
. OioUrl objects are
built by using OioUrl.url(String, String)
method, then you have
to specify the name of the account to use and the name of the future
container.
The container is available when the returned future is completed.
createContainer
in interface Client
url
- the url of the containerproperties
- the user properties to set to the container.ContainerInfo
with information about the created
containerpublic io.openio.sds.models.ContainerInfo createContainer(io.openio.sds.models.OioUrl url, java.util.Map<java.lang.String,java.lang.String> properties, java.util.Map<java.lang.String,java.lang.String> system)
Client
OioUrl
. OioUrl objects are
built by using OioUrl.url(String, String)
method, then you have
to specify the name of the account to use and the name of the future
container.
The container is available when the returned future is completed.
createContainer
in interface Client
url
- the url of the containerproperties
- the user properties to set to the container.system
- the system properties to set to the container.ContainerInfo
with information about the created
containerpublic io.openio.sds.models.ContainerInfo createContainer(io.openio.sds.models.OioUrl url, RequestContext reqCtx) throws io.openio.sds.exceptions.OioException
AdvancedClient
OioUrl
. OioUrl objects are
built by using OioUrl.url(String, String)
method, then you have
to specify the name of the account to use and the name of the future
container.
The container is available when the returned future is completed.
createContainer
in interface AdvancedClient
url
- the URL of the containerreqCtx
- common parameters to all requestsContainerInfo
with information about the created
containerio.openio.sds.exceptions.ContainerExistException
- if the specified container is alreay presentio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public io.openio.sds.models.ContainerInfo createContainer(io.openio.sds.models.OioUrl url, java.util.Map<java.lang.String,java.lang.String> properties, RequestContext reqCtx) throws io.openio.sds.exceptions.OioException
AdvancedClient
OioUrl
. OioUrl objects are
built by using OioUrl.url(String, String)
method, then you have
to specify the name of the account to use and the name of the future
container.
The container is available when the returned future is completed.
createContainer
in interface AdvancedClient
url
- the URL of the containerproperties
- the user properties to set to the container.reqCtx
- common parameters to all requestsContainerInfo
with information about the created
containerio.openio.sds.exceptions.ContainerExistException
- if the specified container is alreay presentio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public io.openio.sds.models.ContainerInfo createContainer(io.openio.sds.models.OioUrl url, java.util.Map<java.lang.String,java.lang.String> properties, java.util.Map<java.lang.String,java.lang.String> system, RequestContext reqCtx) throws io.openio.sds.exceptions.OioException
AdvancedClient
OioUrl
. OioUrl objects are
built by using OioUrl.url(String, String)
method, then you have
to specify the name of the account to use and the name of the future
container.
The container is available when the returned future is completed.
createContainer
in interface AdvancedClient
url
- the URL of the containerproperties
- the user properties to set to the container.system
- the system properties to set to the container.reqCtx
- common parameters to all requestsContainerInfo
with information about the created
containerio.openio.sds.exceptions.ContainerExistException
- if the specified container is alreay presentio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public io.openio.sds.models.ContainerInfo getContainerInfo(io.openio.sds.models.OioUrl url)
Client
getContainerInfo
in interface Client
url
- the URL of the containerContainerInfo
with information about the created
containerpublic io.openio.sds.models.ContainerInfo getContainerInfo(io.openio.sds.models.OioUrl url, RequestContext reqCtx) throws io.openio.sds.exceptions.OioException
AdvancedClient
getContainerInfo
in interface AdvancedClient
url
- the URL of the containerreqCtx
- common parameters to all requestsContainerInfo
with information about the created
containerio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
@Deprecated public io.openio.sds.models.ObjectList listContainer(io.openio.sds.models.OioUrl url, io.openio.sds.models.ListOptions listOptions)
Client
listContainer
in interface Client
url
- the url of the containerlistOptions
- the listing optionpublic io.openio.sds.models.ObjectList listObjects(io.openio.sds.models.OioUrl url, io.openio.sds.models.ListOptions listOptions) throws io.openio.sds.exceptions.OioException
Client
listObjects
in interface Client
url
- the url of the containerlistOptions
- the listing optionio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public io.openio.sds.models.ObjectList listObjects(io.openio.sds.models.OioUrl url, io.openio.sds.models.ListOptions listOptions, RequestContext reqCtx) throws io.openio.sds.exceptions.OioException
AdvancedClient
listObjects
in interface AdvancedClient
url
- the url of the containerlistOptions
- the listing optionreqCtx
- common parameters to all requestsio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public void deleteContainer(io.openio.sds.models.OioUrl url)
Client
deleteContainer
in interface Client
url
- the url of the containerpublic void deleteContainer(io.openio.sds.models.OioUrl url, RequestContext reqCtx)
AdvancedClient
deleteContainer
in interface AdvancedClient
url
- the URL of the containerreqCtx
- common parameters to all requestspublic io.openio.sds.models.ObjectInfo putObject(io.openio.sds.models.OioUrl url, java.lang.Long size, java.io.File data)
Client
@Deprecated public io.openio.sds.models.ObjectInfo putObject(io.openio.sds.models.OioUrl url, java.lang.Long size, java.io.File data, java.util.Map<java.lang.String,java.lang.String> properties) throws io.openio.sds.exceptions.OioException
Client
putObject
in interface Client
url
- the url of the object to createsize
- the size of the objectdata
- the file to read the data fromproperties
- the properties to set to the object. Note that the properties
are case insensitive and will always be returned in lower
case.io.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
@Deprecated public io.openio.sds.models.ObjectInfo putObject(io.openio.sds.models.OioUrl url, java.lang.Long size, java.io.File data, java.lang.Long version)
Client
@Deprecated public io.openio.sds.models.ObjectInfo putObject(io.openio.sds.models.OioUrl url, java.lang.Long size, java.io.File data, java.lang.Long version, java.util.Map<java.lang.String,java.lang.String> properties) throws io.openio.sds.exceptions.OioException
Client
putObject
in interface Client
url
- the url of the object to createsize
- the size of the objectdata
- the file to read the data fromversion
- the version of content to uploadproperties
- the properties to set to the object. Note that the properties
are case insensitive and will always be returned in lower
case.io.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
@Deprecated public io.openio.sds.models.ObjectInfo putObject(io.openio.sds.models.OioUrl url, java.lang.Long size, java.io.File data, java.lang.Long version, java.util.Map<java.lang.String,java.lang.String> properties, RequestContext reqCtx) throws io.openio.sds.exceptions.OioException
AdvancedClient
putObject
in interface AdvancedClient
url
- the URL of the object to createsize
- the size of the objectdata
- the file to read the data fromversion
- the version of content to uploadproperties
- the properties to set to the object. Note that the properties
are case insensitive and will always be returned in lower
case.reqCtx
- Common parameters to all requestsio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public io.openio.sds.models.ObjectInfo putObject(io.openio.sds.models.OioUrl url, java.lang.Long size, java.io.File data, io.openio.sds.models.ObjectCreationOptions options) throws io.openio.sds.exceptions.OioException
Client
putObject
in interface Client
url
- the url of the object to createsize
- the size of the objectdata
- the file to read the data fromoptions
- the options of content to uploadio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public io.openio.sds.models.ObjectInfo putObject(io.openio.sds.models.OioUrl url, java.lang.Long size, java.io.File data, io.openio.sds.models.ObjectCreationOptions options, RequestContext reqCtx) throws io.openio.sds.exceptions.OioException
AdvancedClient
putObject
in interface AdvancedClient
url
- the URL of the object to createsize
- the size of the objectdata
- the file to read the data fromoptions
- the options of content to uploadreqCtx
- Common parameters to all requestsio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public io.openio.sds.models.ObjectInfo putObject(io.openio.sds.models.OioUrl url, java.lang.Long size, java.io.InputStream data) throws io.openio.sds.exceptions.OioException
Client
putObject
in interface Client
url
- the url of the object to createsize
- the size of the objectdata
- the InputStream to read the data fromio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.ObjectExistException
- if the specified object alreadeay exist in the containerio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
@Deprecated public io.openio.sds.models.ObjectInfo putObject(io.openio.sds.models.OioUrl url, java.lang.Long size, java.io.InputStream data, java.util.Map<java.lang.String,java.lang.String> properties) throws io.openio.sds.exceptions.OioException
Client
putObject
in interface Client
url
- the url of the object to createsize
- the size of the objectdata
- the InputStream to read the data fromproperties
- the properties to set to the object. Note that the properties
are case insensitive and will always be returned in lower
case.io.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.ObjectExistException
- if the specified object alreadeay exist in the containerio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
@Deprecated public io.openio.sds.models.ObjectInfo putObject(io.openio.sds.models.OioUrl url, java.lang.Long size, java.io.InputStream data, java.lang.Long version) throws io.openio.sds.exceptions.OioException
Client
putObject
in interface Client
url
- the url of the object to createsize
- the size of the objectdata
- the InputStream to read the data fromversion
- the version of content to uploadio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.ObjectExistException
- if the specified object alreadeay exist in the containerio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
@Deprecated public io.openio.sds.models.ObjectInfo putObject(io.openio.sds.models.OioUrl url, java.lang.Long size, java.io.InputStream data, java.lang.Long version, java.util.Map<java.lang.String,java.lang.String> properties) throws io.openio.sds.exceptions.OioException
Client
putObject
in interface Client
url
- the url of the object to createsize
- the size of the objectdata
- the InputStream to read the data fromversion
- the version of content to uploadproperties
- the properties to set to the object. Note that the properties
are case insensitive and will always be returned in lower
case.io.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.ObjectExistException
- if the specified object alreadeay exist in the containerio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
@Deprecated public io.openio.sds.models.ObjectInfo putObject(io.openio.sds.models.OioUrl url, java.lang.Long size, java.io.InputStream data, java.lang.Long version, java.util.Map<java.lang.String,java.lang.String> properties, RequestContext reqCtx) throws io.openio.sds.exceptions.OioException
AdvancedClient
putObject
in interface AdvancedClient
url
- the URL of the object to createsize
- the size of the objectdata
- the InputStream to read the data fromversion
- the version of content to uploadproperties
- the properties to set to the object. Note that the properties
are case insensitive and will always be returned in lower
case.reqCtx
- Common parameters to all requestsio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.ObjectExistException
- if the specified object already exist in the containerio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public io.openio.sds.models.ObjectInfo putObject(io.openio.sds.models.OioUrl url, java.lang.Long size, java.io.InputStream data, io.openio.sds.models.ObjectCreationOptions options) throws io.openio.sds.exceptions.OioException
Client
putObject
in interface Client
url
- the url of the object to createsize
- the size of the objectdata
- the InputStream to read the data fromoptions
- the options of content to uploadio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.ObjectExistException
- if the specified object alreadeay exist in the containerio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public io.openio.sds.models.ObjectInfo putObject(io.openio.sds.models.OioUrl url, java.lang.Long size, java.io.InputStream data, io.openio.sds.models.ObjectCreationOptions options, RequestContext reqCtx) throws io.openio.sds.exceptions.OioException
AdvancedClient
putObject
in interface AdvancedClient
url
- the URL of the object to createsize
- the size of the objectdata
- the InputStream to read the data fromoptions
- the options of content to uploadreqCtx
- Common parameters to all requestsio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.ObjectExistException
- if the specified object already exist in the containerio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public io.openio.sds.models.ObjectInfo getObjectInfo(io.openio.sds.models.OioUrl url)
Client
getObjectInfo
in interface Client
url
- the url of the objectObjectInfo
public io.openio.sds.models.ObjectInfo getObjectInfo(io.openio.sds.models.OioUrl url, boolean loadProperties)
Client
getObjectInfo
in interface Client
url
- the url of the objectloadProperties
- if true, additional request is performed to get object
properties assigned to the specified objectObjectInfo
public io.openio.sds.models.ObjectInfo getObjectInfo(io.openio.sds.models.OioUrl url, java.lang.Long version)
Client
getObjectInfo
in interface Client
url
- the url of the objectversion
- the version to get (could be null
to get latest
version)ObjectInfo
public io.openio.sds.models.ObjectInfo getObjectInfo(io.openio.sds.models.OioUrl url, java.lang.Long version, boolean loadProperties)
Client
getObjectInfo
in interface Client
url
- the url of the objectversion
- the version to get (could be null
to get latest
version)loadProperties
- if true, additional request is performed to get object
properties assigned to the specified objectObjectInfo
public io.openio.sds.models.ObjectInfo getObjectInfo(io.openio.sds.models.OioUrl url, java.lang.Long version, boolean loadProperties, RequestContext reqCtx) throws io.openio.sds.exceptions.OioException
AdvancedClient
getObjectInfo
in interface AdvancedClient
url
- the URL of the objectversion
- the version to get (could be null
to get latest
version)loadProperties
- if true, an additional request is performed to get object
properties assigned to the specified objectreqCtx
- common parameters to all requestsObjectInfo
io.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.ObjectNotFoundException
- if the specified object doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public java.io.InputStream downloadObject(io.openio.sds.models.ObjectInfo oinf)
Client
downloadObject
in interface Client
oinf
- the information about object to downloadpublic java.io.InputStream downloadObject(io.openio.sds.models.ObjectInfo oinf, io.openio.sds.models.Range range)
Client
downloadObject
in interface Client
oinf
- the information about object to downloadrange
- the wanted data rangeInputStream
formatpublic java.io.InputStream downloadObject(io.openio.sds.models.ObjectInfo oinf, io.openio.sds.models.Range range, RequestContext reqCtx)
AdvancedClient
downloadObject
in interface AdvancedClient
oinf
- the information about object to downloadrange
- the wanted data rangereqCtx
- common parameters to all requestspublic void deleteObject(io.openio.sds.models.OioUrl url)
Client
deleteObject
in interface Client
url
- the url of the object to deletepublic void deleteObject(io.openio.sds.models.OioUrl url, RequestContext reqCtx) throws io.openio.sds.exceptions.OioException
AdvancedClient
deleteObject
in interface AdvancedClient
url
- the URL of the object to deletereqCtx
- common parameters to all requestsio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.ObjectNotFoundException
- if the specified object doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
@Deprecated public void deleteObject(io.openio.sds.models.OioUrl url, java.lang.Long version)
Client
deleteObject
in interface Client
url
- the url of the object to deleteversion
- the version to delete (could be null
to delete latest
version)@Deprecated public void deleteObject(io.openio.sds.models.OioUrl url, java.lang.Long version, RequestContext reqCtx) throws io.openio.sds.exceptions.OioException
AdvancedClient
deleteObject
in interface AdvancedClient
url
- the URL of the object to deleteversion
- the version to delete (could be null
to delete latest
version)reqCtx
- common parameters to all requestsio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.ObjectNotFoundException
- if the specified object doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public void deleteObject(io.openio.sds.models.OioUrl url, io.openio.sds.models.ObjectDeletionOptions options) throws io.openio.sds.exceptions.OioException
Client
deleteObject
in interface Client
url
- the url of the object to deleteoptions
- the options of object to deleteio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.ObjectNotFoundException
- if the specified object doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public void deleteObject(io.openio.sds.models.OioUrl url, io.openio.sds.models.ObjectDeletionOptions options, RequestContext reqCtx) throws io.openio.sds.exceptions.OioException
AdvancedClient
deleteObject
in interface AdvancedClient
url
- the URL of the object to deleteoptions
- the options of object to deletereqCtx
- common parameters to all requestsio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.ObjectNotFoundException
- if the specified object doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public void setContainerProperties(io.openio.sds.models.OioUrl url, java.util.Map<java.lang.String,java.lang.String> props) throws io.openio.sds.exceptions.OioException
Client
setContainerProperties
in interface Client
url
- the URL of the container to set propertiesprops
- the properties to setio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public void setContainerProperties(io.openio.sds.models.OioUrl url, java.util.Map<java.lang.String,java.lang.String> props, boolean clear) throws io.openio.sds.exceptions.OioException
Client
setContainerProperties
in interface Client
url
- the URL of the container to set propertiesprops
- the properties to setclear
- clear previous propertiesio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public void setContainerProperties(io.openio.sds.models.OioUrl url, java.util.Map<java.lang.String,java.lang.String> props, java.util.Map<java.lang.String,java.lang.String> sys) throws io.openio.sds.exceptions.OioException
Client
setContainerProperties
in interface Client
url
- the URL of the container to set propertiesprops
- the properties to setsys
- the system properties to setio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public void setContainerProperties(io.openio.sds.models.OioUrl url, java.util.Map<java.lang.String,java.lang.String> props, boolean clear, java.util.Map<java.lang.String,java.lang.String> sys) throws io.openio.sds.exceptions.OioException
Client
setContainerProperties
in interface Client
url
- the URL of the container to set propertiesprops
- the properties to setclear
- clear previous propertiessys
- the system properties to setio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public void setContainerProperties(io.openio.sds.models.OioUrl url, java.util.Map<java.lang.String,java.lang.String> props, RequestContext reqCtx) throws io.openio.sds.exceptions.OioException
AdvancedClient
setContainerProperties
in interface AdvancedClient
url
- the URL of the container to set propertiesprops
- the properties to setreqCtx
- common parameters to all requestsio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public void setContainerProperties(io.openio.sds.models.OioUrl url, java.util.Map<java.lang.String,java.lang.String> props, boolean clear, RequestContext reqCtx) throws io.openio.sds.exceptions.OioException
AdvancedClient
setContainerProperties
in interface AdvancedClient
url
- the URL of the container to set propertiesprops
- the properties to setclear
- clear previous propertiesreqCtx
- common parameters to all requestsio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public void setContainerProperties(io.openio.sds.models.OioUrl url, java.util.Map<java.lang.String,java.lang.String> props, java.util.Map<java.lang.String,java.lang.String> sys, RequestContext reqCtx) throws io.openio.sds.exceptions.OioException
AdvancedClient
setContainerProperties
in interface AdvancedClient
url
- the URL of the container to set propertiesprops
- the properties to setsys
- the system properties to setreqCtx
- common parameters to all requestsio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public void setContainerProperties(io.openio.sds.models.OioUrl url, java.util.Map<java.lang.String,java.lang.String> props, boolean clear, java.util.Map<java.lang.String,java.lang.String> sys, RequestContext reqCtx) throws io.openio.sds.exceptions.OioException
AdvancedClient
setContainerProperties
in interface AdvancedClient
url
- the URL of the container to set propertiesprops
- the properties to setclear
- clear previous propertiessys
- the system properties to setreqCtx
- common parameters to all requestsio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public java.util.Map<java.lang.String,java.lang.String> getContainerProperties(io.openio.sds.models.OioUrl url) throws io.openio.sds.exceptions.OioException
Client
getContainerProperties
in interface Client
url
- the url of the containerio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public java.util.Map<java.lang.String,java.lang.String> getContainerProperties(io.openio.sds.models.OioUrl url, RequestContext reqCtx) throws io.openio.sds.exceptions.OioException
AdvancedClient
getContainerProperties
in interface AdvancedClient
url
- the url of the containerreqCtx
- common parameters to all requestsio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> getAllContainerProperties(io.openio.sds.models.OioUrl url) throws io.openio.sds.exceptions.OioException
Client
getAllContainerProperties
in interface Client
url
- the url of the containerio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> getAllContainerProperties(io.openio.sds.models.OioUrl url, RequestContext reqCtx) throws io.openio.sds.exceptions.OioException
AdvancedClient
getAllContainerProperties
in interface AdvancedClient
url
- the url of the containerreqCtx
- common parameters to all requestsio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public void deleteContainerProperties(io.openio.sds.models.OioUrl url, java.lang.String... keys) throws io.openio.sds.exceptions.OioException
Client
deleteContainerProperties
in interface Client
url
- the url of the containerkeys
- the property keys to dropio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public void deleteContainerProperties(io.openio.sds.models.OioUrl url, RequestContext reqCtx, java.lang.String... keys) throws io.openio.sds.exceptions.OioException
AdvancedClient
deleteContainerProperties
in interface AdvancedClient
url
- the url of the containerreqCtx
- common parameters to all requestskeys
- the property keys to dropio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public void deleteContainerProperties(io.openio.sds.models.OioUrl url, java.util.List<java.lang.String> keys) throws io.openio.sds.exceptions.OioException
Client
deleteContainerProperties
in interface Client
url
- the url of the containerkeys
- the property keys to dropio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public void deleteContainerProperties(io.openio.sds.models.OioUrl url, java.util.List<java.lang.String> keys, RequestContext reqCtx) throws io.openio.sds.exceptions.OioException
AdvancedClient
deleteContainerProperties
in interface AdvancedClient
url
- the url of the containerkeys
- the property keys to dropreqCtx
- common parameters to all requestsio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public void setObjectProperties(io.openio.sds.models.OioUrl url, java.util.Map<java.lang.String,java.lang.String> props) throws io.openio.sds.exceptions.OioException
Client
setObjectProperties
in interface Client
url
- the url of the objectprops
- the properties to setio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.ObjectNotFoundException
- if the specified object doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public void setObjectProperties(io.openio.sds.models.OioUrl url, java.lang.Long version, java.util.Map<java.lang.String,java.lang.String> props) throws io.openio.sds.exceptions.OioException
Client
setObjectProperties
in interface Client
url
- the url of the objectversion
- the version to manipulate
(could be null
to manipulate latest version)props
- the properties to setio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.ObjectNotFoundException
- if the specified object doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public void setObjectProperties(io.openio.sds.models.OioUrl url, java.util.Map<java.lang.String,java.lang.String> props, boolean clear) throws io.openio.sds.exceptions.OioException
Client
setObjectProperties
in interface Client
url
- the url of the objectprops
- the properties to setclear
- clear previous propertiesio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.ObjectNotFoundException
- if the specified object doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public void setObjectProperties(io.openio.sds.models.OioUrl url, java.lang.Long version, java.util.Map<java.lang.String,java.lang.String> props, boolean clear) throws io.openio.sds.exceptions.OioException
Client
setObjectProperties
in interface Client
url
- the url of the objectversion
- the version to manipulate
(could be null
to manipulate latest version)props
- the properties to setclear
- clear previous propertiesio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.ObjectNotFoundException
- if the specified object doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public void setObjectProperties(io.openio.sds.models.OioUrl url, java.util.Map<java.lang.String,java.lang.String> props, RequestContext reqCtx) throws io.openio.sds.exceptions.OioException
AdvancedClient
setObjectProperties
in interface AdvancedClient
url
- the URL of the objectprops
- the properties to setreqCtx
- common parameters to all requestsio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.ObjectNotFoundException
- if the specified object doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public void setObjectProperties(io.openio.sds.models.OioUrl url, java.lang.Long version, java.util.Map<java.lang.String,java.lang.String> props, RequestContext reqCtx) throws io.openio.sds.exceptions.OioException
AdvancedClient
setObjectProperties
in interface AdvancedClient
url
- the URL of the objectversion
- the version to manipulate
(could be null
to manipulate latest version)props
- the properties to setreqCtx
- common parameters to all requestsio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.ObjectNotFoundException
- if the specified object doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public void setObjectProperties(io.openio.sds.models.OioUrl url, java.util.Map<java.lang.String,java.lang.String> props, boolean clear, RequestContext reqCtx) throws io.openio.sds.exceptions.OioException
AdvancedClient
setObjectProperties
in interface AdvancedClient
url
- the URL of the objectprops
- the properties to setclear
- clear previous propertiesreqCtx
- common parameters to all requestsio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.ObjectNotFoundException
- if the specified object doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public void setObjectProperties(io.openio.sds.models.OioUrl url, java.lang.Long version, java.util.Map<java.lang.String,java.lang.String> props, boolean clear, RequestContext reqCtx) throws io.openio.sds.exceptions.OioException
AdvancedClient
setObjectProperties
in interface AdvancedClient
url
- the URL of the objectversion
- the version to manipulate
(could be null
to manipulate latest version)props
- the properties to setclear
- clear previous propertiesreqCtx
- common parameters to all requestsio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.ObjectNotFoundException
- if the specified object doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public java.util.Map<java.lang.String,java.lang.String> getObjectProperties(io.openio.sds.models.OioUrl url) throws io.openio.sds.exceptions.OioException
Client
getObjectProperties
in interface Client
url
- the url of the objectio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.ObjectNotFoundException
- if the specified object doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public java.util.Map<java.lang.String,java.lang.String> getObjectProperties(io.openio.sds.models.OioUrl url, java.lang.Long version) throws io.openio.sds.exceptions.OioException
Client
getObjectProperties
in interface Client
url
- the url of the objectversion
- the version to manipulate
(could be null
to manipulate latest version)io.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.ObjectNotFoundException
- if the specified object doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public java.util.Map<java.lang.String,java.lang.String> getObjectProperties(io.openio.sds.models.OioUrl url, RequestContext reqCtx) throws io.openio.sds.exceptions.OioException
AdvancedClient
getObjectProperties
in interface AdvancedClient
url
- the URL of the objectreqCtx
- common parameters to all requestsio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.ObjectNotFoundException
- if the specified object doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public java.util.Map<java.lang.String,java.lang.String> getObjectProperties(io.openio.sds.models.OioUrl url, java.lang.Long version, RequestContext reqCtx) throws io.openio.sds.exceptions.OioException
AdvancedClient
getObjectProperties
in interface AdvancedClient
url
- the URL of the objectversion
- the version to manipulate
(could be null
to manipulate latest version)reqCtx
- common parameters to all requestsio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.ObjectNotFoundException
- if the specified object doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public void deleteObjectProperties(io.openio.sds.models.OioUrl url, java.lang.String... keys) throws io.openio.sds.exceptions.OioException
Client
deleteObjectProperties
in interface Client
url
- the url of the objectkeys
- the property keys to dropio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.ObjectNotFoundException
- if the specified object doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public void deleteObjectProperties(io.openio.sds.models.OioUrl url, java.util.List<java.lang.String> keys) throws io.openio.sds.exceptions.OioException
Client
deleteObjectProperties
in interface Client
url
- the url of the objectkeys
- the property keys to dropio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.ObjectNotFoundException
- if the specified object doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public void deleteObjectProperties(io.openio.sds.models.OioUrl url, java.lang.Long version, java.lang.String... keys) throws io.openio.sds.exceptions.OioException
Client
deleteObjectProperties
in interface Client
url
- the url of the objectversion
- the version to manipulate
(could be null
to manipulate latest version)keys
- the property keys to dropio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.ObjectNotFoundException
- if the specified object doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public void deleteObjectProperties(io.openio.sds.models.OioUrl url, java.lang.Long version, java.util.List<java.lang.String> keys) throws io.openio.sds.exceptions.OioException
Client
deleteObjectProperties
in interface Client
url
- the url of the objectversion
- the version to manipulate
(could be null
to manipulate latest version)keys
- the property keys to dropio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.ObjectNotFoundException
- if the specified object doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public void deleteObjectProperties(io.openio.sds.models.OioUrl url, RequestContext reqCtx, java.lang.String... keys) throws io.openio.sds.exceptions.OioException
AdvancedClient
deleteObjectProperties
in interface AdvancedClient
url
- the url of the objectreqCtx
- common parameters to all requestskeys
- the property keys to dropio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.ObjectNotFoundException
- if the specified object doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public void deleteObjectProperties(io.openio.sds.models.OioUrl url, java.util.List<java.lang.String> keys, RequestContext reqCtx) throws io.openio.sds.exceptions.OioException
AdvancedClient
deleteObjectProperties
in interface AdvancedClient
url
- the url of the objectkeys
- the property keys to dropreqCtx
- common parameters to all requestsio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.ObjectNotFoundException
- if the specified object doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public void deleteObjectProperties(io.openio.sds.models.OioUrl url, java.lang.Long version, RequestContext reqCtx, java.lang.String... keys) throws io.openio.sds.exceptions.OioException
AdvancedClient
deleteObjectProperties
in interface AdvancedClient
url
- the url of the objectversion
- the version to manipulate
(could be null
to manipulate latest version)reqCtx
- common parameters to all requestskeys
- the property keys to dropio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.ObjectNotFoundException
- if the specified object doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException
public void deleteObjectProperties(io.openio.sds.models.OioUrl url, java.lang.Long version, java.util.List<java.lang.String> keys, RequestContext reqCtx) throws io.openio.sds.exceptions.OioException
AdvancedClient
deleteObjectProperties
in interface AdvancedClient
url
- the url of the objectversion
- the version to manipulate
(could be null
to manipulate latest version)keys
- the property keys to dropreqCtx
- common parameters to all requestsio.openio.sds.exceptions.ContainerNotFoundException
- if the specified container doesn't existio.openio.sds.exceptions.ObjectNotFoundException
- if the specified object doesn't existio.openio.sds.exceptions.OioSystemException
- if any error occurs during request executionio.openio.sds.exceptions.OioException