Package | Description |
---|---|
org.kitesdk.data |
Provides interfaces and classes for reading and writing datasets.
|
Modifier and Type | Field and Description |
---|---|
static Format |
Formats.AVRO
AVRO: the
Avro row-oriented format
|
static Format |
Formats.CSV
CSV: comma-separated values (read-only).
|
static Format |
Formats.INPUTFORMAT
INPUTFORMAT: a mapreduce InputFormat (read-only).
|
static Format |
Formats.JSON
JSON: white-space separated json values (read-only).
|
static Format |
Formats.PARQUET
PARQUET: the Parquet columnar format
|
Modifier and Type | Method and Description |
---|---|
static Format |
Formats.fromString(String formatName)
Return a
Format for the format name specified. |
Format |
DatasetDescriptor.getFormat()
Get the associated
Format the data is stored in. |
Modifier and Type | Method and Description |
---|---|
DatasetDescriptor.Builder |
DatasetDescriptor.Builder.format(Format format)
Configure the dataset's format (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)
Create an instance of this class with the supplied
Schema ,
optional URL, Format , optional location URL, and optional
PartitionStrategy . |
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 . |
Copyright © 2013–2015. All rights reserved.