public class ComputeDaoCassandraImpl extends org.openecomp.core.dao.impl.CassandraBaseDao<ComputeEntity> implements ComputeDao
Constructor and Description |
---|
ComputeDaoCassandraImpl() |
Modifier and Type | Method and Description |
---|---|
void |
deleteAll(String vspId,
org.openecomp.sdc.versioning.dao.types.Version version) |
protected Object[] |
getKeys(ComputeEntity entity) |
protected com.datastax.driver.mapping.Mapper<ComputeEntity> |
getMapper() |
ComputeEntity |
getQuestionnaireData(String vspId,
org.openecomp.sdc.versioning.dao.types.Version version,
String componentId,
String computeId) |
Collection<ComputeEntity> |
list(ComputeEntity entity) |
Collection<ComputeEntity> |
listByVsp(String vspId,
org.openecomp.sdc.versioning.dao.types.Version version) |
void |
registerVersioning(String versionableEntityType) |
void |
update(ComputeEntity entity) |
void |
updateQuestionnaireData(String vspId,
org.openecomp.sdc.versioning.dao.types.Version version,
String componentId,
String computeId,
String questionnaireData) |
create, delete, get
public void registerVersioning(String versionableEntityType)
registerVersioning
in interface org.openecomp.sdc.versioning.dao.VersionableDao
public Collection<ComputeEntity> list(ComputeEntity entity)
list
in interface BaseDao<ComputeEntity>
protected com.datastax.driver.mapping.Mapper<ComputeEntity> getMapper()
getMapper
in class org.openecomp.core.dao.impl.CassandraBaseDao<ComputeEntity>
protected Object[] getKeys(ComputeEntity entity)
getKeys
in class org.openecomp.core.dao.impl.CassandraBaseDao<ComputeEntity>
public Collection<ComputeEntity> listByVsp(String vspId, org.openecomp.sdc.versioning.dao.types.Version version)
listByVsp
in interface ComputeDao
public void update(ComputeEntity entity)
update
in interface BaseDao<ComputeEntity>
update
in class org.openecomp.core.dao.impl.CassandraBaseDao<ComputeEntity>
public void updateQuestionnaireData(String vspId, org.openecomp.sdc.versioning.dao.types.Version version, String componentId, String computeId, String questionnaireData)
updateQuestionnaireData
in interface ComputeDao
public void deleteAll(String vspId, org.openecomp.sdc.versioning.dao.types.Version version)
deleteAll
in interface ComputeDao
public ComputeEntity getQuestionnaireData(String vspId, org.openecomp.sdc.versioning.dao.types.Version version, String componentId, String computeId)
getQuestionnaireData
in interface ComputeDao
Copyright © 2017. All rights reserved.