com.baidubce.services.tablestorage.model
Class ScanResponse

java.lang.Object
  extended by com.baidubce.model.AbstractBceResponse
      extended by com.baidubce.services.tablestorage.model.ScanResponse
All Implemented Interfaces:
Serializable

public class ScanResponse
extends AbstractBceResponse

Represents the output of a Scan operation.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.baidubce.model.AbstractBceResponse
metadata
 
Constructor Summary
ScanResponse()
           
 
Method Summary
 String getNextStartKey()
          Get the next start key of this scan response, which can be use to continue scan.
 List<TableStorageResult> getResults()
          Get list of results of this scan response.
 void setNextStartKey(String nextStartKey)
          Set the next start key of this scan response.
 void setResults(List<TableStorageResult> results)
          Set the results of this scan response.
 String toString()
          Convert this object to string.
 
Methods inherited from class com.baidubce.model.AbstractBceResponse
getMetadata
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScanResponse

public ScanResponse()
Method Detail

getNextStartKey

public String getNextStartKey()
Get the next start key of this scan response, which can be use to continue scan.

Returns:
The next start key of this scan response.

setNextStartKey

public void setNextStartKey(String nextStartKey)
Set the next start key of this scan response.

Parameters:
nextStartKey - The next start rowkey set to this scan response.

setResults

public void setResults(List<TableStorageResult> results)
Set the results of this scan response.

Parameters:
results - The result set to this scan response.

getResults

public List<TableStorageResult> getResults()
Get list of results of this scan response.

Returns:
The list of results of this scan response.

toString

public String toString()
Convert this object to string.

Overrides:
toString in class Object
Returns:
The string represent this object.


Copyright © 2020. All rights reserved.