org.springframework.data.hadoop.store.dataset
Class DatasetDefinition
java.lang.Object
org.springframework.data.hadoop.store.dataset.DatasetDefinition
public class DatasetDefinition
- extends java.lang.Object
Class to define the options for a Dataset
- Since:
- 2.0
- Author:
- Thomas Risberg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DatasetDefinition
public DatasetDefinition(boolean allowNullValues)
DatasetDefinition
public DatasetDefinition()
DatasetDefinition
public DatasetDefinition(boolean allowNullValues,
java.lang.String format)
DatasetDefinition
public DatasetDefinition(boolean allowNullValues,
java.lang.String format,
org.kitesdk.data.PartitionStrategy partitionStrategy)
setAllowNullValues
public void setAllowNullValues(boolean allowNullValues)
setFormat
public void setFormat(java.lang.String format)
setPartitionStrategy
public void setPartitionStrategy(org.kitesdk.data.PartitionStrategy partitionStrategy)
isAllowNullValues
public boolean isAllowNullValues()
getFormat
public org.kitesdk.data.Format getFormat()
getPartitionStrategy
public org.kitesdk.data.PartitionStrategy getPartitionStrategy()
getSchema
public org.apache.avro.Schema getSchema(java.lang.Class<?> datasetClass)