public class SimpleDataSourceProvenance extends Object implements DataSourceProvenance
DataSource
implementation with a specific provenance, rather than using this
to construct an empty MutableDataset
.Modifier and Type | Field and Description |
---|---|
static String |
DESCRIPTION |
DATASOURCE_CREATION_TIME, FILE_MODIFIED_TIME, OUTPUT_FACTORY, RESOURCE_HASH
Constructor and Description |
---|
SimpleDataSourceProvenance(Map<String,com.oracle.labs.mlrg.olcut.provenance.Provenance> map)
Used for provenance deserialization.
|
SimpleDataSourceProvenance(String description,
OffsetDateTime creationTime,
OutputFactory<T> outputFactory)
This constructor initialises the provenance using the supplied description, time and output factory.
|
SimpleDataSourceProvenance(String description,
OutputFactory<T> outputFactory)
This constructor initialises the provenance using the current time in the system timezone.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getClassName() |
int |
hashCode() |
Iterator<com.oracle.labs.mlrg.olcut.util.Pair<String,com.oracle.labs.mlrg.olcut.provenance.Provenance>> |
iterator() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
checkAndExtractProvenance, generateString
forEach, spliterator
public static final String DESCRIPTION
public SimpleDataSourceProvenance(String description, OutputFactory<T> outputFactory)
T
- The type of the output.description
- The description of the data.outputFactory
- The output factory used to process it.public SimpleDataSourceProvenance(String description, OffsetDateTime creationTime, OutputFactory<T> outputFactory)
T
- The type of the output.description
- The description of the data.creationTime
- The time the data was created or processed.outputFactory
- The output factory used to process it.Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.