com.baidubce.services.tablestorage.model.transform
Class ScanResponseUnmarshaller
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
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.