info.archinnov.achilles.internal.async.EntitiesWithExecutionInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of achilles-core Show documentation
Show all versions of achilles-core Show documentation
CQL implementation for Achilles using Datastax Java driver
package info.archinnov.achilles.internal.async;
import com.datastax.driver.core.ExecutionInfo;
import info.archinnov.achilles.query.typed.EntitiesWithPagingState;
import java.util.List;
public class EntitiesWithExecutionInfo {
private final List entities;
private final ExecutionInfo executionInfo;
public EntitiesWithExecutionInfo(List entities, ExecutionInfo executionInfo) {
this.entities = entities;
this.executionInfo = executionInfo;
}
public List getEntities() {
return entities;
}
public ExecutionInfo getExecutionInfo() {
return executionInfo;
}
public EntitiesWithPagingState toEntitiesWithPagingState() {
return new EntitiesWithPagingState<>(entities, executionInfo.getPagingState());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy