| 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 | Method and Description |
|---|---|
DatasetDescriptor |
DatasetDescriptor.Builder.build()
Build an instance of the configured dataset descriptor.
|
DatasetDescriptor |
Dataset.getDescriptor()
Get the
DatasetDescriptor associated with this dataset. |
| 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 <D extends Dataset<GenericRecord>> |
Datasets.update(String uri,
DatasetDescriptor descriptor)
Update a
Dataset for the given dataset or view URI string. |
static <E,D extends Dataset<E>> |
Datasets.update(String uri,
DatasetDescriptor descriptor,
Class<E> type)
Update a
Dataset for the given dataset or view URI string. |
static <D extends Dataset<GenericRecord>> |
Datasets.update(URI uri,
DatasetDescriptor descriptor)
Update a
Dataset for the given dataset or view URI. |
static <E,D extends Dataset<E>> |
Datasets.update(URI uri,
DatasetDescriptor descriptor,
Class<E> type)
Update a
Dataset for the given dataset or view URI. |
| Constructor and Description |
|---|
DatasetDescriptor.Builder(DatasetDescriptor descriptor)
Creates a Builder configured to copy
descriptor, if it is not
modified. |
| Modifier and Type | Method and Description |
|---|---|
DatasetDescriptor |
MetadataProvider.create(String namespace,
String name,
DatasetDescriptor descriptor)
Create a
DatasetDescriptor for the dataset named name. |
DatasetDescriptor |
MetadataProvider.load(String namespace,
String name)
Load the dataset descriptor for the dataset
name. |
DatasetDescriptor |
MetadataProvider.update(String namespace,
String name,
DatasetDescriptor descriptor)
Update a
DatasetDescriptor for the dataset named name. |
| Modifier and Type | Method and Description |
|---|---|
static void |
Compatibility.check(String namespace,
String name,
DatasetDescriptor descriptor)
Checks the name and descriptor for known compatibility issues and throws an
exception if an incompatibility is found.
|
static void |
Compatibility.checkCompatible(DatasetDescriptor existing,
DatasetDescriptor test)
|
static void |
Compatibility.checkDescriptor(DatasetDescriptor descriptor)
Precondition-style validation that the DatasetDescriptor is compatible.
|
static void |
SchemaUtil.checkPartitionedBy(DatasetDescriptor descriptor,
String fieldName) |
static void |
Compatibility.checkUpdate(DatasetDescriptor existing,
DatasetDescriptor updated)
|
DatasetDescriptor |
MetadataProvider.create(String namespace,
String name,
DatasetDescriptor descriptor)
Create a
DatasetDescriptor for the dataset named name. |
<E> Dataset<E> |
DatasetRepository.create(String namespace,
String name,
DatasetDescriptor descriptor)
/**
Create a
Dataset with the supplied descriptor. |
<E> Dataset<E> |
AbstractDatasetRepository.create(String namespace,
String name,
DatasetDescriptor descriptor) |
<E> Dataset<E> |
DatasetRepository.create(String namespace,
String name,
DatasetDescriptor descriptor,
Class<E> type)
Create a
Dataset with the supplied descriptor. |
static boolean |
DescriptorUtil.isDisabled(String property,
DatasetDescriptor descriptor)
Returns whether the value of the descriptor property is
false. |
static boolean |
DescriptorUtil.isEnabled(String property,
DatasetDescriptor descriptor)
Returns whether the value of the descriptor property is
true. |
DatasetDescriptor |
MetadataProvider.update(String namespace,
String name,
DatasetDescriptor descriptor)
Update a
DatasetDescriptor for the dataset named name. |
<E> Dataset<E> |
DatasetRepository.update(String namespace,
String name,
DatasetDescriptor descriptor)
Update an existing
Dataset to reflect the supplied
descriptor. |
<E> Dataset<E> |
AbstractDatasetRepository.update(String namespace,
String name,
DatasetDescriptor descriptor) |
<E> Dataset<E> |
DatasetRepository.update(String namespace,
String name,
DatasetDescriptor descriptor,
Class<E> type)
Update an existing
Dataset to reflect the supplied
descriptor. |
Copyright © 2013–2015. All rights reserved.