Package | Description |
---|---|
org.kitesdk.data |
Provides interfaces and classes for reading and writing datasets.
|
Modifier and Type | Method and Description |
---|---|
DatasetDescriptor.Builder |
DatasetDescriptor.Builder.columnMapping(ColumnMapping columnMappings)
Configure the dataset's column mapping descriptor (optional)
|
DatasetDescriptor.Builder |
DatasetDescriptor.Builder.columnMapping(File file)
Configure the dataset's column mapping descriptor from a File.
|
DatasetDescriptor.Builder |
DatasetDescriptor.Builder.columnMapping(InputStream in)
Configure the dataset's column mapping descriptor from an InputStream.
|
DatasetDescriptor.Builder |
DatasetDescriptor.Builder.columnMappingLiteral(String literal)
Configure the dataset's column mappings from a String literal.
|
DatasetDescriptor.Builder |
DatasetDescriptor.Builder.columnMappingUri(String uri)
Configure the dataset's column mappings from a String URI.
|
DatasetDescriptor.Builder |
DatasetDescriptor.Builder.columnMappingUri(URI uri)
Configure the dataset's column mappings from a URI.
|
DatasetDescriptor.Builder |
DatasetDescriptor.Builder.compressionType(CompressionType compressionType)
Configure the dataset's compression format (optional).
|
DatasetDescriptor.Builder |
DatasetDescriptor.Builder.compressionType(String compressionTypeName)
Configure the dataset's compression format (optional).
|
DatasetDescriptor.Builder |
DatasetDescriptor.Builder.format(Format format)
Configure the dataset's format (optional).
|
DatasetDescriptor.Builder |
DatasetDescriptor.Builder.format(String formatName)
Configure the dataset's format from a format name String (optional).
|
DatasetDescriptor.Builder |
DatasetDescriptor.Builder.location(Path uri)
Configure the dataset's location (optional).
|
DatasetDescriptor.Builder |
DatasetDescriptor.Builder.location(String uri)
Configure the dataset's location (optional).
|
DatasetDescriptor.Builder |
DatasetDescriptor.Builder.location(URI uri)
Configure the dataset's location (optional).
|
DatasetDescriptor.Builder |
DatasetDescriptor.Builder.partitionStrategy(File file)
Configure the dataset's partition strategy from a File.
|
DatasetDescriptor.Builder |
DatasetDescriptor.Builder.partitionStrategy(InputStream in)
Configure the dataset's partition strategy from an InputStream.
|
DatasetDescriptor.Builder |
DatasetDescriptor.Builder.partitionStrategy(PartitionStrategy partitionStrategy)
Configure the dataset's partitioning strategy (optional).
|
DatasetDescriptor.Builder |
DatasetDescriptor.Builder.partitionStrategyLiteral(String literal)
Configure the dataset's partition strategy from a String literal.
|
DatasetDescriptor.Builder |
DatasetDescriptor.Builder.partitionStrategyUri(String uri)
Configure the dataset's partition strategy from a String URI.
|
DatasetDescriptor.Builder |
DatasetDescriptor.Builder.partitionStrategyUri(URI uri)
Configure the dataset's partition strategy from a URI.
|
DatasetDescriptor.Builder |
DatasetDescriptor.Builder.property(String name,
String value)
Add a key-value property to the descriptor.
|
<T> DatasetDescriptor.Builder |
DatasetDescriptor.Builder.schema(Class<T> type)
Configure the dataset's schema via a Java class type.
|
DatasetDescriptor.Builder |
DatasetDescriptor.Builder.schema(File file)
Configure the dataset's schema from a
File . |
DatasetDescriptor.Builder |
DatasetDescriptor.Builder.schema(InputStream in)
Configure the dataset's schema from an
InputStream . |
DatasetDescriptor.Builder |
DatasetDescriptor.Builder.schema(Schema schema)
Configure the dataset's schema.
|
DatasetDescriptor.Builder |
DatasetDescriptor.Builder.schemaFromAvroDataFile(File file)
Configure the dataset's schema by using the schema from an existing Avro
data file.
|
DatasetDescriptor.Builder |
DatasetDescriptor.Builder.schemaFromAvroDataFile(InputStream in)
Configure the dataset's schema by using the schema from an existing Avro
data file.
|
DatasetDescriptor.Builder |
DatasetDescriptor.Builder.schemaFromAvroDataFile(URI uri)
Configure the dataset's schema by using the schema from an existing Avro
data file.
|
DatasetDescriptor.Builder |
DatasetDescriptor.Builder.schemaLiteral(String s)
Configure the dataset's schema from a
String . |
DatasetDescriptor.Builder |
DatasetDescriptor.Builder.schemaUri(String uri)
Configure the
Dataset 's schema from a String URI. |
DatasetDescriptor.Builder |
DatasetDescriptor.Builder.schemaUri(URI uri)
Configure the
Dataset 's schema from a URI. |
Copyright © 2013–2015. All rights reserved.