Package org.molgenis.data.vcf
Class VcfRepository
- java.lang.Object
-
- org.molgenis.data.support.AbstractRepository
-
- org.molgenis.data.vcf.VcfRepository
-
- All Implemented Interfaces:
Closeable,AutoCloseable,Iterable<Entity>,Repository<Entity>
public class VcfRepository extends AbstractRepository
Repository implementation for vcf files.The filename without the extension is considered to be the entityname
-
-
Field Summary
Fields Modifier and Type Field Description static intBATCH_SIZEstatic StringDEFAULT_ATTRIBUTE_DESCRIPTIONstatic StringNAMEstatic StringORIGINAL_NAME
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longcount()voidforEachBatched(Consumer<List<Entity>> consumer, int batchSize)Set<RepositoryCapability>getCapabilities()EntityTypegetEntityType()Iterator<Entity>iterator()-
Methods inherited from class org.molgenis.data.support.AbstractRepository
add, add, aggregate, close, count, delete, delete, deleteAll, deleteAll, deleteById, findAll, findAll, findAll, findOne, findOneById, findOneById, forEachBatched, getName, getQueryOperators, query, update, update
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Methods inherited from interface org.molgenis.data.Repository
getExistingIDs, upsertBatch
-
-
-
-
Field Detail
-
DEFAULT_ATTRIBUTE_DESCRIPTION
public static final String DEFAULT_ATTRIBUTE_DESCRIPTION
- See Also:
- Constant Field Values
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
ORIGINAL_NAME
public static final String ORIGINAL_NAME
- See Also:
- Constant Field Values
-
BATCH_SIZE
public static final int BATCH_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getEntityType
public EntityType getEntityType()
-
getCapabilities
public Set<RepositoryCapability> getCapabilities()
-
count
public long count()
- Specified by:
countin interfaceRepository<Entity>- Overrides:
countin classAbstractRepository
-
-