public class GenerateEntityFromDataset extends Object
Modifier and Type | Class and Description |
---|---|
static class |
GenerateEntityFromDataset.FieldTypeSelectionMode |
Constructor and Description |
---|
GenerateEntityFromDataset() |
public EntityDef generateEntity(DataReader reader)
public long getMinRecords()
public GenerateEntityFromDataset setMinRecords(long minRecords)
public long getMaxWaitTimeMillis()
public GenerateEntityFromDataset setMaxWaitTimeMillis(long maxWaitTimeMillis)
public String getEntityName()
public GenerateEntityFromDataset setEntityName(String entityName)
public int getColumnStatsReaderThreads()
public GenerateEntityFromDataset setColumnStatsReaderThreads(int columnStatsReaderThreads)
@Deprecated public boolean isUseInferredType()
getFieldTypeSelectionMode()
instead.* For example: if a column contains strings which appears to be dates the inferred field type for that column will be date and the best fit would be string.
@Deprecated public GenerateEntityFromDataset setUseInferredType(boolean useInferredType)
setFieldTypeSelectionMode(FieldTypeSelectionMode)
instead.* For example: if a column contains strings which appears to be dates the inferred field type for that column will be date and the best fit would be string.
public GenerateEntityFromDataset.FieldTypeSelectionMode getFieldTypeSelectionMode()
The default is GenerateEntityFromDataset.FieldTypeSelectionMode.INFERRED
.
public GenerateEntityFromDataset setFieldTypeSelectionMode(GenerateEntityFromDataset.FieldTypeSelectionMode fieldTypeSelectionMode)
The default is GenerateEntityFromDataset.FieldTypeSelectionMode.INFERRED
.
Copyright (c) 2006-2025 North Concepts Inc. All Rights Reserved.