trait Archiver extends AnyRef
- Alphabetic
- By Inheritance
- Archiver
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
addConnector(connector: FileConnector, name: Option[String] = None): Archiver.this.type
Add the connector's data to the consolidator.
Add the connector's data to the consolidator. For a directory with the following structure:
base_path |-- dir_1 | |-- file1 |-- dir_2 |-- file2
After calling
addConnector(connector, Some("new_name"))
, the structure in the compressed zip file will be:outputPath.zip // outputPath.zip is given during the instantiation of FileConsolidator |--new_name |-- dir_1 | |-- file1 |-- dir_2 |-- file2
- connector
FileConnector that will be used to load data
- name
name of the directory in the zip output. default is the name of the base directory of the connector
- abstract def addFile(file: Path, name: Option[String] = None): Archiver.this.type
-
abstract
def
addRepository(repository: SparkRepository[_], name: Option[String] = None): Archiver.this.type
Add the connector's data to the consolidator.
Add the connector's data to the consolidator. For a directory with the following structure:
base_path |-- dir_1 | |-- file1 |-- dir_2 |-- file2
After calling
addConnector(connector, Some("new_name"))
, the structure in the compressed zip file will be:outputPath.zip // outputPath.zip is given during the instantiation of FileConsolidator |--new_name |-- dir_1 | |-- file1 |-- dir_2 |-- file2
- repository
Repository that will be used to load data
- name
name of the directory in the zip output. default is the name of the base directory of the connector
- Annotations
- @throws( ... )
- abstract def archive(outputPath: Path): Archiver.this.type
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()