| 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 |
|---|---|
ColumnMapping |
ColumnMapping.Builder.build()
Builds and returns a
ColumnMapping from the fields
mappings added to this builder. |
ColumnMapping |
DatasetDescriptor.getColumnMapping()
Get the
ColumnMapping. |
| Modifier and Type | Method and Description |
|---|---|
DatasetDescriptor.Builder |
DatasetDescriptor.Builder.columnMapping(ColumnMapping columnMappings)
Configure the dataset's column mapping descriptor (optional)
|
| Constructor and Description |
|---|
DatasetDescriptor(Schema schema,
URI schemaUri,
Format format,
URI location,
Map<String,String> properties,
PartitionStrategy partitionStrategy,
ColumnMapping columnMapping,
CompressionType compressionType)
Create an instance of this class with the supplied
Schema, optional
URL, Format, optional location URL, optional
PartitionStrategy, optional ColumnMapping, and optional
CompressionType. |
DatasetDescriptor(Schema schema,
URL schemaUrl,
Format format,
URI location,
Map<String,String> properties,
PartitionStrategy partitionStrategy,
ColumnMapping columnMapping)
Create an instance of this class with the supplied
Schema, optional
URL, Format, optional location URL, optional
PartitionStrategy, and optional ColumnMapping. |
| Modifier and Type | Method and Description |
|---|---|
static ColumnMapping |
ColumnMappingParser.parse(File file)
Parses the Mapping Descriptor from a File
|
static ColumnMapping |
ColumnMappingParser.parse(InputStream in)
Parses the Mapping Descriptor from an input stream
|
static ColumnMapping |
ColumnMappingParser.parse(String mappingDescriptor)
Parses the Mapping Descriptor as a JSON string.
|
static ColumnMapping |
ColumnMappingParser.parseFromSchema(Schema schema) |
static ColumnMapping |
ColumnMappingParser.parseFromSchemaFields(Schema schema) |
| Modifier and Type | Method and Description |
|---|---|
static Schema |
ColumnMappingParser.embedColumnMapping(Schema schema,
ColumnMapping mapping) |
static String |
ColumnMappingParser.toString(ColumnMapping mapping,
boolean pretty) |
Copyright © 2013–2015. All rights reserved.