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.Format |
getFormat() |
org.kitesdk.data.PartitionStrategy |
getPartitionStrategy() |
org.apache.avro.Schema |
getSchema(java.lang.Class<?> datasetClass) |
java.lang.Class<?> |
getTargetClass() |
boolean |
isAllowNullValues() |
void |
setAllowNullValues(boolean allowNullValues) |
void |
setFormat(java.lang.String format) |
void |
setPartitionStrategy(org.kitesdk.data.PartitionStrategy partitionStrategy) |
void |
setTargetClass(java.lang.Class<?> targetClass) |
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 java.lang.Class<?> getTargetClass()
public boolean isAllowNullValues()
public org.kitesdk.data.Format getFormat()
public org.kitesdk.data.PartitionStrategy getPartitionStrategy()
public org.apache.avro.Schema getSchema(java.lang.Class<?> datasetClass)