public class TabixRepository extends AbstractRepository
| Constructor and Description |
|---|
TabixRepository(File file,
EntityType entityType)
Creates a new
TabixRepository |
TabixRepository(File file,
EntityType entityType,
String chromosomeAttributeName,
String positionAttributeName) |
| Modifier and Type | Method and Description |
|---|---|
Stream<Entity> |
findAll(Query<Entity> q) |
Set<RepositoryCapability> |
getCapabilities() |
static au.com.bytecode.opencsv.CSVParser |
getCsvParser() |
EntityType |
getEntityType() |
Iterator<Entity> |
iterator() |
protected Entity |
toEntity(String line) |
add, add, aggregate, close, count, count, delete, delete, deleteAll, deleteAll, deleteById, findAll, findAll, findOne, findOneById, findOneById, forEachBatched, getName, getQueryOperators, query, update, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachBatched, getExistingIDs, upsertBatchforEach, spliteratorpublic TabixRepository(File file, EntityType entityType) throws IOException
TabixRepositoryfile - the Tabix fileentityType - EntityType for the tabix file. Attributes should be in the order of the file's columnsIOException - if something goes wrong creating the TabixReader for the filepublic TabixRepository(File file, EntityType entityType, String chromosomeAttributeName, String positionAttributeName) throws IOException
IOExceptionpublic static au.com.bytecode.opencsv.CSVParser getCsvParser()
public Set<RepositoryCapability> getCapabilities()
public EntityType getEntityType()
public Stream<Entity> findAll(Query<Entity> q)
findAll in interface Repository<Entity>findAll in class AbstractRepositoryprotected Entity toEntity(String line) throws IOException
IOExceptionCopyright © 2017. All rights reserved.