| Package | Description |
|---|---|
| org.kitesdk.data |
Provides interfaces and classes for reading and writing datasets.
|
| org.kitesdk.data.spi |
Provides a service provider interface for implementors of Kite Data APIs.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Dataset<E>
A logical representation of a set of data entities.
|
interface |
PartitionView<E>
A
PartitionView is a subset of a Dataset that corresponds to
a single partition, with a location. |
interface |
RandomAccessDataset<E>
A
Dataset that supports random access operations on entities. |
interface |
RefinableView<E>
A
RefinableView specifies a subset of a Dataset by one or
more logical constraints. |
interface |
Signalable<E>
Signalable views may signal consumers when their underlying data is ready for
consumption.
|
| Modifier and Type | Method and Description |
|---|---|
static <V extends View<GenericRecord>> |
Datasets.create(String uri,
DatasetDescriptor descriptor)
Create a
Dataset for the given dataset or view URI string. |
static <E,V extends View<E>> |
Datasets.create(String uri,
DatasetDescriptor descriptor,
Class<E> type)
Create a
Dataset for the given dataset or view URI string. |
static <V extends View<GenericRecord>> |
Datasets.create(URI uri,
DatasetDescriptor descriptor)
Create a
Dataset for the given dataset or view URI. |
static <E,V extends View<E>> |
Datasets.create(URI uri,
DatasetDescriptor descriptor,
Class<E> type)
Create a
Dataset for the given dataset or view URI. |
static <V extends View<GenericRecord>> |
Datasets.load(String uriString)
|
static <E,V extends View<E>> |
Datasets.load(String uriString,
Class<E> type)
|
static <V extends View<GenericRecord>> |
Datasets.load(URI uri)
|
static <E,V extends View<E>> |
Datasets.load(URI uri,
Class<E> type)
|
| Modifier and Type | Method and Description |
|---|---|
View<GenericRecord> |
View.asSchema(Schema schema)
Creates a copy of this
View that projects entities to the given
Schema. |
<T> View<T> |
View.asType(Class<T> type)
Creates a copy of this
View that reads and writes entities of the
given type class. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
PartitionedDataset<E> |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractDataset<E>
A common Dataset base class to simplify implementations.
|
class |
AbstractRefinableView<E>
A common View base class to simplify implementations of Views created from ranges.
|
| Modifier and Type | Method and Description |
|---|---|
View<GenericRecord> |
AbstractDataset.asSchema(Schema schema) |
<T> View<T> |
AbstractRefinableView.asType(Class<T> type) |
Copyright © 2013–2015. All rights reserved.