Package org.molgenis.data.vcf
Class VcfRepository
- java.lang.Object
-
- org.molgenis.data.support.AbstractRepository
-
- org.molgenis.data.vcf.VcfRepository
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,java.lang.Iterable<org.molgenis.data.Entity>,org.molgenis.data.Repository<org.molgenis.data.Entity>
public class VcfRepository extends org.molgenis.data.support.AbstractRepositoryRepository 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 java.lang.StringDEFAULT_ATTRIBUTE_DESCRIPTIONstatic java.lang.StringNAMEstatic java.lang.StringORIGINAL_NAMEstatic java.lang.StringPREFIX
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longcount()voidforEachBatched(java.util.function.Consumer<java.util.List<org.molgenis.data.Entity>> consumer, int batchSize)java.util.Set<org.molgenis.data.RepositoryCapability>getCapabilities()org.molgenis.data.meta.model.EntityTypegetEntityType()java.util.Iterator<org.molgenis.data.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
-
-
-
-
Field Detail
-
DEFAULT_ATTRIBUTE_DESCRIPTION
public static final java.lang.String DEFAULT_ATTRIBUTE_DESCRIPTION
- See Also:
- Constant Field Values
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
ORIGINAL_NAME
public static final java.lang.String ORIGINAL_NAME
- See Also:
- Constant Field Values
-
PREFIX
public static final java.lang.String PREFIX
- See Also:
- Constant Field Values
-
BATCH_SIZE
public static final int BATCH_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
iterator
public java.util.Iterator<org.molgenis.data.Entity> iterator()
-
getEntityType
public org.molgenis.data.meta.model.EntityType getEntityType()
-
getCapabilities
public java.util.Set<org.molgenis.data.RepositoryCapability> getCapabilities()
-
count
public long count()
- Specified by:
countin interfaceorg.molgenis.data.Repository<org.molgenis.data.Entity>- Overrides:
countin classorg.molgenis.data.support.AbstractRepository
-
forEachBatched
public void forEachBatched(java.util.function.Consumer<java.util.List<org.molgenis.data.Entity>> consumer, int batchSize)
-
-