E- The type of entities stored in the
@Immutable public interface PartitionView<E> extends View<E>
PartitionViewis a subset of a
Datasetthat corresponds to a single partition, with a location.
|Modifier and Type||Method and Description|
Deletes the entities included in this
Returns the location of this partition as a
Get an appropriate
URIfor the location of this partition.
View.deleteAll(), implementations are not allowed to throw
UnsupportedOperationException and must support this method in all
DatasetIOException- if the requested delete failed because of an IOException
DatasetWriterimplementation based on the constraints for this
Viewof the underlying
view is limited to a particular location in the
dataset when reading, writers returned by this method will not necessarily
write to that location. Instead, writers are subject to the logical
constraints of this
Implementations are free to return different types of writers depending on the disposition of the data. For example, a partitioned dataset may use a different writer than that of a non-partitioned dataset. Clients should not make any assumptions about the returned implementations: implementations are free to change their internal structure at any time.
Copyright © 2013–2015. All rights reserved.