public class DatasetDefinition
extends java.lang.Object
Dataset
Constructor and Description |
---|
DatasetDefinition() |
DatasetDefinition(boolean allowNullValues) |
DatasetDefinition(boolean allowNullValues,
java.lang.String format) |
DatasetDefinition(java.lang.Class<?> targetClass,
boolean allowNullValues,
java.lang.String format) |
DatasetDefinition(java.lang.Class<?> targetClass,
org.kitesdk.data.PartitionStrategy partitionStrategy) |
DatasetDefinition(java.lang.Class<?> targetClass,
java.lang.String format,
org.kitesdk.data.PartitionStrategy partitionStrategy) |
Modifier and Type | Method and Description |
---|---|
org.kitesdk.data.CompressionType |
getCompressionType() |
org.kitesdk.data.Format |
getFormat() |
org.kitesdk.data.PartitionStrategy |
getPartitionStrategy() |
org.apache.avro.Schema |
getSchema(java.lang.Class<?> datasetClass) |
java.lang.Class<?> |
getTargetClass() |
java.lang.Integer |
getWriterCacheSize() |
boolean |
isAllowNullValues() |
void |
setAllowNullValues(boolean allowNullValues) |
void |
setCompressionType(java.lang.String compressionType) |
void |
setFormat(java.lang.String format) |
void |
setPartitionStrategy(org.kitesdk.data.PartitionStrategy partitionStrategy) |
void |
setSchema(org.apache.avro.Schema schema) |
void |
setTargetClass(java.lang.Class<?> targetClass) |
void |
setWriterCacheSize(java.lang.Integer writerCacheSize) |
public DatasetDefinition()
public DatasetDefinition(boolean allowNullValues)
public DatasetDefinition(boolean allowNullValues, java.lang.String format)
public DatasetDefinition(java.lang.Class<?> targetClass, boolean allowNullValues, java.lang.String format)
public DatasetDefinition(java.lang.Class<?> targetClass, org.kitesdk.data.PartitionStrategy partitionStrategy)
public DatasetDefinition(java.lang.Class<?> targetClass, java.lang.String format, org.kitesdk.data.PartitionStrategy partitionStrategy)
public void setTargetClass(java.lang.Class<?> targetClass)
public void setAllowNullValues(boolean allowNullValues)
public void setFormat(java.lang.String format)
public void setPartitionStrategy(org.kitesdk.data.PartitionStrategy partitionStrategy)
public void setWriterCacheSize(java.lang.Integer writerCacheSize)
public void setCompressionType(java.lang.String compressionType)
public void setSchema(org.apache.avro.Schema schema)
public java.lang.Class<?> getTargetClass()
public boolean isAllowNullValues()
public org.kitesdk.data.Format getFormat()
public org.kitesdk.data.PartitionStrategy getPartitionStrategy()
public java.lang.Integer getWriterCacheSize()
public org.kitesdk.data.CompressionType getCompressionType()
public org.apache.avro.Schema getSchema(java.lang.Class<?> datasetClass)