Package | Description |
---|---|
org.kitesdk.data |
Provides interfaces and classes for reading and writing datasets.
|
Modifier and Type | Method and Description |
---|---|
PartitionStrategy.Builder |
PartitionStrategy.Builder.dateFormat(String sourceName,
String name,
String format)
Configure a partitioner that applies a custom date format to a timestamp
field.
|
PartitionStrategy.Builder |
PartitionStrategy.Builder.day(String sourceName)
Configure a partitioner for extracting the day from a timestamp field.
|
PartitionStrategy.Builder |
PartitionStrategy.Builder.day(String sourceName,
String name)
Configure a partitioner for extracting the day from a timestamp field.
|
PartitionStrategy.Builder |
PartitionStrategy.Builder.hash(String sourceName,
int buckets)
Configure a hash partitioner with the specified number of
buckets . |
PartitionStrategy.Builder |
PartitionStrategy.Builder.hash(String sourceName,
String name,
int buckets)
Configure a hash partitioner with the specified number of
buckets . |
PartitionStrategy.Builder |
PartitionStrategy.Builder.hour(String sourceName)
Configure a partitioner for extracting the hour from a timestamp field.
|
PartitionStrategy.Builder |
PartitionStrategy.Builder.hour(String sourceName,
String name)
Configure a partitioner for extracting the hour from a timestamp field.
|
PartitionStrategy.Builder |
PartitionStrategy.Builder.identity(String sourceName)
Configure an identity partitioner.
|
PartitionStrategy.Builder |
PartitionStrategy.Builder.identity(String sourceName,
int cardinalityHint)
Configure an identity partitioner with a cardinality hint of
cardinalityHint . |
PartitionStrategy.Builder |
PartitionStrategy.Builder.identity(String sourceName,
String name)
Configure an identity partitioner.
|
PartitionStrategy.Builder |
PartitionStrategy.Builder.identity(String sourceName,
String name,
int cardinalityHint)
Configure an identity partitioner with a cardinality hint of
cardinalityHint . |
PartitionStrategy.Builder |
PartitionStrategy.Builder.minute(String sourceName)
Configure a partitioner for extracting the minute from a timestamp field.
|
PartitionStrategy.Builder |
PartitionStrategy.Builder.minute(String sourceName,
String name)
Configure a partitioner for extracting the minute from a timestamp field.
|
PartitionStrategy.Builder |
PartitionStrategy.Builder.month(String sourceName)
Configure a partitioner for extracting the month from a timestamp field.
|
PartitionStrategy.Builder |
PartitionStrategy.Builder.month(String sourceName,
String name)
Configure a partitioner for extracting the month from a timestamp field.
|
PartitionStrategy.Builder |
PartitionStrategy.Builder.provided(String name)
Configure a partitioner that uses values always provided at runtime.
|
PartitionStrategy.Builder |
PartitionStrategy.Builder.provided(String name,
String valuesType)
Configure a partitioner that uses values always provided at runtime.
|
PartitionStrategy.Builder |
PartitionStrategy.Builder.range(String sourceName,
int... upperBounds)
Configure a range partitioner with a set of
upperBounds . |
PartitionStrategy.Builder |
PartitionStrategy.Builder.range(String sourceName,
String... upperBounds)
Configure a range partitioner for strings with a set of
upperBounds . |
PartitionStrategy.Builder |
PartitionStrategy.Builder.year(String sourceName)
Configure a partitioner for extracting the year from a timestamp field.
|
PartitionStrategy.Builder |
PartitionStrategy.Builder.year(String sourceName,
String name)
Configure a partitioner for extracting the year from a timestamp field.
|
Copyright © 2013–2015. All rights reserved.