com.baidubce.services.tablestorage.model.transform
Class ScanResponseUnmarshaller

java.lang.Object
  extended by com.baidubce.services.tablestorage.model.transform.ScanResponseUnmarshaller
All Implemented Interfaces:
Unmarshaller<ScanResponse,InputStream>

public class ScanResponseUnmarshaller
extends Object
implements Unmarshaller<ScanResponse,InputStream>

Used to parse ScanResponse from HttpResponse body


Constructor Summary
ScanResponseUnmarshaller(AbstractBceResponse response)
          Constructs a scan response unmarshaller with response object.
 
Method Summary
 ScanResponse unmarshall(InputStream in)
          Unmarshal the scan response from TableStorage.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScanResponseUnmarshaller

public ScanResponseUnmarshaller(AbstractBceResponse response)
Constructs a scan response unmarshaller with response object.

Parameters:
response - The show table response object used to store unmarshalled result.
Method Detail

unmarshall

public ScanResponse unmarshall(InputStream in)
                        throws Exception
Unmarshal the scan response from TableStorage.

Specified by:
unmarshall in interface Unmarshaller<ScanResponse,InputStream>
Parameters:
in - The input stream of content to be unmarshalled.
Returns:
The scan response object.
Throws:
Exception


Copyright © 2020. All rights reserved.