E
- The type of entities stored in this Dataset
.@Immutable public interface Dataset<E> extends RefinableView<E>
A logical representation of a set of data entities.
Logically, all datasets have two generic properties: a name, and a descriptor
that holds information such as the dataset's schema and its partitioning
information. Concrete implementations of Dataset
can support
additional properties, mandatory or otherwise, as needed. Dataset
s
are not normally instantiated directly, but managed by a repository (also
implementation-specific).
Implementations of Dataset
are immutable.
View
,
DatasetWriter
,
DatasetReader
,
PartitionStrategy
,
DatasetDescriptor
,
Schema
Modifier and Type | Method and Description |
---|---|
DatasetDescriptor |
getDescriptor()
Get the
DatasetDescriptor associated with this dataset. |
String |
getName()
Get the name of a
Dataset . |
String |
getNamespace()
Get the namespace that contains this
Dataset . |
URI |
getUri()
Return a
URI for this Dataset . |
String getName()
Dataset
. No guarantees are made about the format
of this name.String getNamespace()
Dataset
. A namespace is a
string that identifies a logical group of datasets.DatasetDescriptor getDescriptor()
DatasetDescriptor
associated with this dataset.URI getUri()
URI
for this Dataset
.
The returned URI should load a copy of this dataset when passed to
Datasets.load(java.net.URI, java.lang.Class)
.Copyright © 2013–2015. All rights reserved.