com.aliyun.openservices.ots.internal.DeleteRowAsyncResponseConsumer Maven / Gradle / Ivy
package com.aliyun.openservices.ots.internal;
import com.aliyun.openservices.ots.internal.model.ResponseContentWithMeta;
import com.aliyun.openservices.ots.model.DeleteRowResult;
import com.aliyun.openservices.ots.model.OTSResultFactory;
import com.aliyun.openservices.ots.parser.ResultParser;
import com.aliyun.openservices.ots.protocol.OtsProtocol2.DeleteRowResponse;
class DeleteRowAsyncResponseConsumer extends
OTSAsyncResponseConsumer {
public DeleteRowAsyncResponseConsumer(ResultParser resultParser,
OTSTraceLogger traceLogger) {
super(resultParser, traceLogger);
}
@Override
protected DeleteRowResult parseResult() throws Exception {
ResponseContentWithMeta responseContent = getResponseContentWithMeta();
DeleteRowResponse deleteRowResponse = (DeleteRowResponse) responseContent
.getMessage();
DeleteRowResult result = OTSResultFactory.createDeleteRowResult(
responseContent, deleteRowResponse);
return result;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy