public abstract class StreamImportStateBase<CONFIG extends StreamImportConfiguratorBase,IO extends StreamImportBase> extends ImportStateBase<CONFIG,IO>
service, stores
config
Constructor and Description |
---|
StreamImportStateBase(CONFIG config) |
Modifier and Type | Method and Description |
---|---|
void |
addRelatedObject(java.lang.String sourceNamespace,
java.lang.String sourceKey,
IdentifiableEntity<?> cdmEntity) |
boolean |
exists(java.lang.String namespace,
java.lang.String sourceKey,
java.lang.Class<?> destinationClass) |
void |
finish() |
java.util.List<IdentifiableEntity> |
get(java.lang.String namespace,
java.lang.String sourceKey) |
<CLASS extends IdentifiableEntity> |
get(java.lang.String namespace,
java.lang.String sourceKey,
java.lang.Class<CLASS> destinationClass) |
IImportMapping |
getMapping() |
Reference |
getTransactionalSourceReference()
Returns the source reference object that is attached to the current transaction.
|
boolean |
isTaxaCreated()
True, if taxa have been fully created.
|
void |
loadRelatedObjects(InMemoryMapping mapping) |
void |
putMapping(MappedCdmBase mappedCdmBase) |
void |
putMapping(java.lang.String namespace,
java.lang.Integer sourceKey,
IdentifiableEntity<?> destinationObject) |
void |
putMapping(java.lang.String namespace,
java.lang.String sourceKey,
IdentifiableEntity<?> destinationObject) |
void |
setTaxaCreated(boolean taxaCreated) |
void |
unloadPartitionStore(java.util.Map<java.lang.String,java.util.Map<java.lang.String,IdentifiableEntity>> partitionStore) |
countTrees, countTreeUuids, getAnnotationType, getExtensionType, getFeature, getIdentifierType, getKindOfUnit, getLanguage, getMarkerType, getMeasurementUnit, getModifier, getNamedArea, getNamedAreaLevel, getNomenclaturalStatusType, getPresenceAbsenceTerm, getRank, getReferenceSystem, getReportAsByteArray, getStateTerm, getStatisticalMeasure, getStatusItem, getStore, getStores, getTaxonRelationshipType, getTermedVocabulary, getTransformer, getTree, getTreeUuid, getTreeUuidByIntTreeKey, getTreeUuidByTreeKey, isCheck, isSuccess, putAnnotationType, putClassificationUuid, putClassificationUuidInt, putExtensionType, putFeature, putIdentifierType, putKindOfUnit, putLanguage, putMarkerType, putMeasurementUnit, putModifier, putNamedArea, putNamedAreaLevel, putNomenclaturalStatusType, putPresenceAbsenceTerm, putRank, putReferenceSystem, putStateTerm, putStatisticalMeasure, putStatusItem, putTaxonRelationshipType, putTermedVocabularyMap, putTree, putTreeUuid, resetUuidTermMaps, setCheck, setStores, setSuccess, setTransformer, setUnsuccessfull
getConfig, getCurrentIO, getResult, initialize, setConfig, setCurrentIO, setResult
public StreamImportStateBase(CONFIG config)
public boolean isTaxaCreated()
public void setTaxaCreated(boolean taxaCreated)
taxaCreated
- the taxaCreated to setpublic void finish()
public void putMapping(MappedCdmBase mappedCdmBase) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public void putMapping(java.lang.String namespace, java.lang.Integer sourceKey, IdentifiableEntity<?> destinationObject)
public void putMapping(java.lang.String namespace, java.lang.String sourceKey, IdentifiableEntity<?> destinationObject)
public java.util.List<IdentifiableEntity> get(java.lang.String namespace, java.lang.String sourceKey)
public <CLASS extends IdentifiableEntity> java.util.List<CLASS> get(java.lang.String namespace, java.lang.String sourceKey, java.lang.Class<CLASS> destinationClass)
public boolean exists(java.lang.String namespace, java.lang.String sourceKey, java.lang.Class<?> destinationClass)
public void loadRelatedObjects(InMemoryMapping mapping)
public void addRelatedObject(java.lang.String sourceNamespace, java.lang.String sourceKey, IdentifiableEntity<?> cdmEntity)
public void unloadPartitionStore(java.util.Map<java.lang.String,java.util.Map<java.lang.String,IdentifiableEntity>> partitionStore)
public IImportMapping getMapping()
public Reference getTransactionalSourceReference()
Copyright © 2007-2020 EDIT. All Rights Reserved.