public class CsvRepository extends AbstractRepository
The filename without the extension is considered to be the entityname
| Constructor and Description |
|---|
CsvRepository(File file,
EntityTypeFactory entityTypeFactory,
AttributeFactory attrMetaFactory,
List<CellProcessor> cellProcessors) |
CsvRepository(File file,
EntityTypeFactory entityTypeFactory,
AttributeFactory attrMetaFactory,
List<CellProcessor> cellProcessors,
Character separator) |
CsvRepository(File file,
EntityTypeFactory entityTypeFactory,
AttributeFactory attrMetaFactory,
String sheetName,
List<CellProcessor> cellProcessors) |
CsvRepository(String file,
EntityTypeFactory entityTypeFactory,
AttributeFactory attrMetaFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCellProcessor(CellProcessor cellProcessor) |
long |
count() |
Set<RepositoryCapability> |
getCapabilities() |
EntityType |
getEntityType() |
Iterator<Entity> |
iterator() |
add, add, aggregate, close, count, delete, delete, deleteAll, deleteAll, deleteById, findAll, findAll, findAll, findOne, findOneById, findOneById, forEachBatched, getName, getQueryOperators, query, update, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachBatchedforEach, spliteratorpublic CsvRepository(String file, EntityTypeFactory entityTypeFactory, AttributeFactory attrMetaFactory)
public CsvRepository(File file, EntityTypeFactory entityTypeFactory, AttributeFactory attrMetaFactory, @Nullable List<CellProcessor> cellProcessors, Character separator)
public CsvRepository(File file, EntityTypeFactory entityTypeFactory, AttributeFactory attrMetaFactory, @Nullable List<CellProcessor> cellProcessors)
public CsvRepository(File file, EntityTypeFactory entityTypeFactory, AttributeFactory attrMetaFactory, String sheetName, @Nullable List<CellProcessor> cellProcessors)
public EntityType getEntityType()
public void addCellProcessor(CellProcessor cellProcessor)
public Set<RepositoryCapability> getCapabilities()
public long count()
count in interface Repository<Entity>count in class AbstractRepositoryCopyright © 2017. All Rights Reserved.