object ZippedToolDataProvider extends Loggable
- Alphabetic
- By Inheritance
- ZippedToolDataProvider
- Loggable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
trait
NamingConventions extends AnyRef
- Attributes
- protected
- class Reader[DataTypes] extends ToolDataProvider[DataTypes] with NamingConventions
- class Writer[DataTypes] extends ToolDataProvider[DataTypes] with NamingConventions
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
-
implicit
val
logger: Logger
- Attributes
- protected
- Definition Classes
- Loggable
- Annotations
- @transient()
-
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()
-
def
reader[DataTypes](zipLocation: File, naming: (DataTypes) ⇒ String)(implicit zfsp: ZfsProviderLike): ToolDataProvider[DataTypes]
Create a new ToolDataProvider that reads its data from a zip file that was created by a corresponding
writer
provider.Create a new ToolDataProvider that reads its data from a zip file that was created by a corresponding
writer
provider.- DataTypes
The type of "aux" data entries stored in the zip
- zipLocation
The location of the zip file to read
- naming
A function used to determine the location of the zip entries corresponding to the "aux" data
-
def
reader(zipLocation: File)(implicit zfsp: ZfsProviderLike): ToolDataProvider[Nothing]
Create a new ToolDataProvider that reads its data from a zip file that was created by a corresponding
writer
provider.Create a new ToolDataProvider that reads its data from a zip file that was created by a corresponding
writer
provider.- zipLocation
The location of the zip file to read
-
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()
-
def
writer(source: ToolDataProvider[Nothing], zipLocation: File, metadata: Map[String, String] = Map.empty)(implicit zfsp: ZfsProviderLike): ToolDataProvider[Nothing]
Create a new ToolDataProvider that acts as a proxy to a
source
provider, saving all loaded data to a zip file for future access.Create a new ToolDataProvider that acts as a proxy to a
source
provider, saving all loaded data to a zip file for future access. WhengetPrimaryEntries
is run for the first time, its data will be saved into the zip. All subsequent times, the data will be read from the saved zip entry.To get a ToolDataProvider that can read from the generated zip file, use
reader(zipLocation)
.- source
The underlying data provider responsible for loading data
- zipLocation
The location of the zip file to create
- metadata
A set of key-value pairs that will be added to a "props" entry in the zip. Defaults to empty
- returns
A ToolDataProvider that proxies the
source
and saves its data to thezipLocation
-
def
writerT[DataTypes](source: ToolDataProvider[DataTypes], zipLocation: File, naming: (DataTypes) ⇒ String, metadata: Map[String, String] = Map.empty)(implicit zfsp: ZfsProviderLike): ToolDataProvider[DataTypes]
Create a new ToolDataProvider that acts as a proxy to a
source
provider, saving all loaded data to a zip file for future access.Create a new ToolDataProvider that acts as a proxy to a
source
provider, saving all loaded data to a zip file for future access. WhengetPrimaryEntries
is run for the first time, and whenget
is run for the first time for each respectiveDataType
instance, the loaded data will be saved into the zip. All subsequent times, the data will be read from the saved zip entry.To get a ToolDataProvider that can read from the generated zip file, use
reader[DataTypes](zipLocation, naming)
.- source
The underlying data provider responsible for loading data
- zipLocation
The location of the zip file to create
- naming
A function used to determine the location of the zip entries corresponding to the "aux" data
- metadata
A set of key-value pairs that will be added to a "props" entry in the zip. Defaults to empty