gr.grnet.pithosj.core

command

package command

Visibility
  1. Public
  2. All

Type Members

  1. case class CheckExistsObjectCommand(serviceInfo: ServiceInfo, container: String, path: String, contentTypeIsDirectory: (String) ⇒ Boolean = ...) extends PithosCommandSkeleton[CheckExistsObjectResultData] with Product with Serializable

    Checks that a directory exists.

  2. case class CheckExistsObjectResultData(exists: Boolean, isContainer: Boolean, container: String, path: String, contentType: Option[String], contentTypeIsDirectory: (String) ⇒ Boolean) extends Product with Serializable

  3. case class CopyObjectCommand(serviceInfo: ServiceInfo, fromContainer: String, fromPath: String, toContainer: String, toPath: String) extends PithosCommandSkeleton[Unit] with Product with Serializable

    Copies an object around.

  4. case class CreateDirectoryCommand(serviceInfo: ServiceInfo, container: String, path: String) extends PithosCommandSkeleton[Unit] with Product with Serializable

  5. case class DeleteDirectoryCommand(serviceInfo: ServiceInfo, container: String, path: String, delimiterOpt: Option[String] = Some("/")) extends PithosCommandSkeleton[Unit] with Product with Serializable

  6. case class DeleteFileCommand(serviceInfo: ServiceInfo, container: String, path: String) extends PithosCommandSkeleton[Unit] with Product with Serializable

  7. case class GetAccountInfoCommand(serviceInfo: ServiceInfo) extends PithosCommandSkeleton[GetAccountInfoResultData] with Product with Serializable

  8. case class GetAccountInfoResultData(X_Account_Bytes_Used: Option[Long], X_Account_Container_Count: Option[Int], X_Account_Policy_Quota: Option[Long]) extends Product with Serializable

  9. case class GetObject2Command(serviceInfo: ServiceInfo, container: String, path: String, version: String) extends PithosCommandSkeleton[GetObject2ResultData] with Product with Serializable

  10. case class GetObject2ResultData(objBuf: Buf, container: String, path: String, ETag: Option[String], Content_Type: Option[String], Content_Length: Option[Long], Last_Modified: Option[ParsedDate], X_Object_Hash: Option[String], X_Object_Modified_By: Option[String], X_Object_Version_Timestamp: Option[ParsedDate], X_Object_UUID: Option[String], X_Object_Version: Option[String]) extends Product with Serializable

  11. case class GetObjectCommand(serviceInfo: ServiceInfo, container: String, path: String, version: String, out: OutputStream) extends PithosCommandSkeleton[GetObjectResultData] with Product with Serializable

  12. case class GetObjectInfoCommand(serviceInfo: ServiceInfo, container: String, path: String) extends PithosCommandSkeleton[GetObjectInfoResultData] with Product with Serializable

  13. case class GetObjectInfoResultData(container: String, path: String, ETag: Option[String], Content_Type: Option[String], Content_Length: Option[Long], Last_Modified: Option[ParsedDate], X_Object_Hash: Option[String], X_Object_Modified_By: Option[String], X_Object_Version_Timestamp: Option[ParsedDate], X_Object_UUID: Option[String], X_Object_Version: Option[String]) extends Product with Serializable

  14. case class GetObjectResultData(stream: OutputStream, container: String, path: String, ETag: Option[String], Content_Type: Option[String], Content_Length: Option[Long], Last_Modified: Option[ParsedDate], X_Object_Hash: Option[String], X_Object_Modified_By: Option[String], X_Object_Version_Timestamp: Option[ParsedDate], X_Object_UUID: Option[String], X_Object_Version: Option[String]) extends Product with Serializable

  15. case class ListContainersCommand(serviceInfo: ServiceInfo) extends PithosCommandSkeleton[ListContainersResultData] with Product with Serializable

  16. case class ListContainersResultData(containers: Seq[ContainerData]) extends Product with Serializable

  17. case class ListObjectsInPathCommand(serviceInfo: ServiceInfo, container: String, path: String) extends PithosCommandSkeleton[ListObjectsInPathResultData] with Product with Serializable

  18. case class ListObjectsInPathResultData(objects: Seq[ObjectInPathData]) extends Product with Serializable

  19. case class PingCommand(serviceInfo: ServiceInfo) extends PithosCommandSkeleton[Unit] with Product with Serializable

  20. trait PithosCommand[T] extends Command[T]

    A command to be executed via the Pithos+ REST API.

    A command to be executed via the Pithos+ REST API. Each command specifies its own input data, which will be used to build up an HTTP request.

  21. trait PithosCommandSkeleton[T] extends PithosCommand[T]

  22. case class PutObjectCommand(serviceInfo: ServiceInfo, container: String, path: String, payload: Buf, contentType: String) extends PithosCommandSkeleton[Unit] with Product with Serializable

Value Members

  1. object CheckExistsObjectCommand extends Serializable

  2. package result

Ungrouped