public class DnaMoleculeArchive extends AbstractMoleculeArchive<DnaMolecule,MarsOMEMetadata,DnaMoleculeArchiveProperties,DnaMoleculeArchiveIndex>
archiveIndex, archiveProperties, jFactory, metadataMap, moleculeMap, name, recordLocks, smileEncoding, source, virtual, win
Constructor and Description |
---|
DnaMoleculeArchive(java.io.File file) |
DnaMoleculeArchive(MoleculeArchiveSource source)
Constructor for loading a MoleculeArchive from a MoleculeArchiveSource.
|
DnaMoleculeArchive(java.lang.String name) |
DnaMoleculeArchive(java.lang.String name,
java.io.File file) |
DnaMoleculeArchive(java.lang.String name,
MarsTable table) |
DnaMoleculeArchive(java.net.URI uri)
Constructor for loading a MoleculeArchive.
|
Modifier and Type | Method and Description |
---|---|
DnaMoleculeArchiveIndex |
createIndex()
Create empty MoleculeArchiveIndex.
|
DnaMoleculeArchiveIndex |
createIndex(com.fasterxml.jackson.core.JsonParser jParser)
Create MoleculeArchiveIndex using JsonParser stream.
|
MarsOMEMetadata |
createMetadata(com.fasterxml.jackson.core.JsonParser jParser)
Create MarsOMEMetadata record using JsonParser stream.
|
MarsOMEMetadata |
createMetadata(java.lang.String metaUID)
Create empty MarsMetadata record with the metaUID specified.
|
DnaMolecule |
createMolecule()
Create empty Molecule record.
|
DnaMolecule |
createMolecule(com.fasterxml.jackson.core.JsonParser jParser)
Create Molecule record using the JsonParser stream given.
|
DnaMolecule |
createMolecule(java.lang.String UID)
Create empty Molecule record with the UID specified.
|
DnaMolecule |
createMolecule(java.lang.String UID,
MarsTable table)
Create Molecule record using the UID and
MarsTable specified. |
DnaMoleculeArchiveProperties |
createProperties()
Create empty MoleculeArchiveProperties record.
|
DnaMoleculeArchiveProperties |
createProperties(com.fasterxml.jackson.core.JsonParser jParser)
Create MoleculeArchiveProperties record using JsonParser stream.
|
addMoleculeTags, contains, containsMetadata, createIOMaps, deleteMetadatasWithTag, deleteMoleculesWithTag, detectEncoding, get, get, getChannel, getComments, getImage, getMetadata, getMetadata, getMetadataTagList, getMetadataTagSet, getMetadataUIDforMolecule, getMetadataUIDs, getMoleculeBatch, getMoleculeUIDs, getName, getNumberOfMetadatas, getNumberOfMolecules, getSource, getTagList, getTagSet, getWindow, isVirtual, load, loadVirtualStore, log, logln, metadata, metadataHasTag, moleculeHasNoTags, moleculeHasTag, moleculeHasTags, molecules, moleculeTags, parallelMetadata, parallelMolecules, properties, put, putMetadata, rebuildIndexes, rebuildIndexes, remove, remove, removeMetadata, removeMetadata, save, saveAs, saveAs, saveAsJson, saveAsJson, saveAsJsonVirtualStore, saveAsJsonVirtualStore, saveAsJsonVirtualStore, saveAsJsonVirtualStore, saveAsVirtualStore, saveAsVirtualStore, saveAsVirtualStore, saveAsVirtualStore, saveMetadataToSource, saveMoleculeToSource, setComments, setName, setWindow, toString
dumpJSON, fromJSON, getJsonGenerator, getJsonParser, setJsonField, setShowWarnings, toJSON
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
dumpJSON, fromJSON, getJsonGenerator, getJsonParser, setJsonField, setShowWarnings, toJSON
public DnaMoleculeArchive(java.lang.String name)
public DnaMoleculeArchive(java.io.File file) throws java.io.IOException
java.io.IOException
public DnaMoleculeArchive(java.lang.String name, MarsTable table)
public DnaMoleculeArchive(java.lang.String name, java.io.File file) throws java.io.IOException
java.io.IOException
public DnaMoleculeArchive(java.net.URI uri) throws java.io.IOException
uri
- The URI to load the archive from.java.io.IOException
- if there is a problem with the file location.public DnaMoleculeArchive(MoleculeArchiveSource source) throws java.io.IOException
source
- The MoleculeArchiveSource to load the archive from.java.io.IOException
- if there is a problem with the file location.public DnaMoleculeArchiveProperties createProperties()
AbstractMoleculeArchive
createProperties
in interface MoleculeArchive<DnaMolecule,MarsOMEMetadata,DnaMoleculeArchiveProperties,DnaMoleculeArchiveIndex>
createProperties
in class AbstractMoleculeArchive<DnaMolecule,MarsOMEMetadata,DnaMoleculeArchiveProperties,DnaMoleculeArchiveIndex>
public DnaMoleculeArchiveProperties createProperties(com.fasterxml.jackson.core.JsonParser jParser) throws java.io.IOException
AbstractMoleculeArchive
createProperties
in interface MoleculeArchive<DnaMolecule,MarsOMEMetadata,DnaMoleculeArchiveProperties,DnaMoleculeArchiveIndex>
createProperties
in class AbstractMoleculeArchive<DnaMolecule,MarsOMEMetadata,DnaMoleculeArchiveProperties,DnaMoleculeArchiveIndex>
jParser
- JsonParser to use to create archive properties.java.io.IOException
- Thrown if unable to read Json from JsonParser stream.public MarsOMEMetadata createMetadata(com.fasterxml.jackson.core.JsonParser jParser) throws java.io.IOException
createMetadata
in interface MoleculeArchive<DnaMolecule,MarsOMEMetadata,DnaMoleculeArchiveProperties,DnaMoleculeArchiveIndex>
createMetadata
in class AbstractMoleculeArchive<DnaMolecule,MarsOMEMetadata,DnaMoleculeArchiveProperties,DnaMoleculeArchiveIndex>
jParser
- JsonParser to use to create metadata.java.io.IOException
- Thrown if unable to read Json from JsonParser stream.public MarsOMEMetadata createMetadata(java.lang.String metaUID)
AbstractMoleculeArchive
createMetadata
in interface MoleculeArchive<DnaMolecule,MarsOMEMetadata,DnaMoleculeArchiveProperties,DnaMoleculeArchiveIndex>
createMetadata
in class AbstractMoleculeArchive<DnaMolecule,MarsOMEMetadata,DnaMoleculeArchiveProperties,DnaMoleculeArchiveIndex>
metaUID
- The metaUID to use during creation of the empty MarsMetadata
record.public DnaMolecule createMolecule()
AbstractMoleculeArchive
createMolecule
in interface MoleculeArchive<DnaMolecule,MarsOMEMetadata,DnaMoleculeArchiveProperties,DnaMoleculeArchiveIndex>
createMolecule
in class AbstractMoleculeArchive<DnaMolecule,MarsOMEMetadata,DnaMoleculeArchiveProperties,DnaMoleculeArchiveIndex>
public DnaMolecule createMolecule(com.fasterxml.jackson.core.JsonParser jParser) throws java.io.IOException
AbstractMoleculeArchive
createMolecule
in interface MoleculeArchive<DnaMolecule,MarsOMEMetadata,DnaMoleculeArchiveProperties,DnaMoleculeArchiveIndex>
createMolecule
in class AbstractMoleculeArchive<DnaMolecule,MarsOMEMetadata,DnaMoleculeArchiveProperties,DnaMoleculeArchiveIndex>
jParser
- JsonParser to use to create the molecule.java.io.IOException
- Thrown if unable to read Json from JsonParser stream.public DnaMolecule createMolecule(java.lang.String UID)
AbstractMoleculeArchive
createMolecule
in interface MoleculeArchive<DnaMolecule,MarsOMEMetadata,DnaMoleculeArchiveProperties,DnaMoleculeArchiveIndex>
createMolecule
in class AbstractMoleculeArchive<DnaMolecule,MarsOMEMetadata,DnaMoleculeArchiveProperties,DnaMoleculeArchiveIndex>
UID
- The UID to use during creation.public DnaMolecule createMolecule(java.lang.String UID, MarsTable table)
AbstractMoleculeArchive
MarsTable
specified.createMolecule
in interface MoleculeArchive<DnaMolecule,MarsOMEMetadata,DnaMoleculeArchiveProperties,DnaMoleculeArchiveIndex>
createMolecule
in class AbstractMoleculeArchive<DnaMolecule,MarsOMEMetadata,DnaMoleculeArchiveProperties,DnaMoleculeArchiveIndex>
UID
- The UID to use during molecule creation.table
- The MarsTable set as the DataTable during creation.public DnaMoleculeArchiveIndex createIndex()
AbstractMoleculeArchive
createIndex
in interface MoleculeArchive<DnaMolecule,MarsOMEMetadata,DnaMoleculeArchiveProperties,DnaMoleculeArchiveIndex>
createIndex
in class AbstractMoleculeArchive<DnaMolecule,MarsOMEMetadata,DnaMoleculeArchiveProperties,DnaMoleculeArchiveIndex>
public DnaMoleculeArchiveIndex createIndex(com.fasterxml.jackson.core.JsonParser jParser) throws java.io.IOException
AbstractMoleculeArchive
createIndex
in interface MoleculeArchive<DnaMolecule,MarsOMEMetadata,DnaMoleculeArchiveProperties,DnaMoleculeArchiveIndex>
createIndex
in class AbstractMoleculeArchive<DnaMolecule,MarsOMEMetadata,DnaMoleculeArchiveProperties,DnaMoleculeArchiveIndex>
jParser
- JsonParser to use to create the MoleculeArchiveIndex.java.io.IOException
- Thrown if unable to read Json from JsonParser stream.