org.apache.hadoop.hbase.coprocessor.example
Class BulkDeleteResponse

java.lang.Object
  extended by org.apache.hadoop.hbase.coprocessor.example.BulkDeleteResponse
All Implemented Interfaces:
Serializable

public class BulkDeleteResponse
extends Object
implements Serializable

Wrapper class which returns the result of the bulk deletion operation happened at the server for a region. This includes the total number of rows deleted and/or any IOException which is happened while doing the operation. It will also include total number of versions deleted, when the delete type is VERSION.

See Also:
Serialized Form

Constructor Summary
BulkDeleteResponse()
           
 
Method Summary
 IOException getIoException()
           
 long getRowsDeleted()
           
 long getVersionsDeleted()
           
 void setIoException(IOException ioException)
           
 void setRowsDeleted(long rowsDeleted)
           
 void setVersionsDeleted(long versionsDeleted)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BulkDeleteResponse

public BulkDeleteResponse()
Method Detail

setRowsDeleted

public void setRowsDeleted(long rowsDeleted)

getRowsDeleted

public long getRowsDeleted()

setIoException

public void setIoException(IOException ioException)

getIoException

public IOException getIoException()

getVersionsDeleted

public long getVersionsDeleted()

setVersionsDeleted

public void setVersionsDeleted(long versionsDeleted)


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.