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

java.lang.Object
  extended by org.apache.hadoop.hbase.coprocessor.BaseEndpointCoprocessor
      extended by org.apache.hadoop.hbase.coprocessor.example.BulkDeleteEndpoint
All Implemented Interfaces:
Coprocessor, BulkDeleteProtocol, CoprocessorProtocol, VersionedProtocol

public class BulkDeleteEndpoint
extends BaseEndpointCoprocessor
implements BulkDeleteProtocol


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.hadoop.hbase.coprocessor.example.BulkDeleteProtocol
BulkDeleteProtocol.DeleteType
 
Nested classes/interfaces inherited from interface org.apache.hadoop.hbase.Coprocessor
Coprocessor.State
 
Field Summary
 
Fields inherited from class org.apache.hadoop.hbase.coprocessor.BaseEndpointCoprocessor
VERSION
 
Fields inherited from interface org.apache.hadoop.hbase.ipc.CoprocessorProtocol
VERSION
 
Fields inherited from interface org.apache.hadoop.hbase.Coprocessor
PRIORITY_HIGHEST, PRIORITY_LOWEST, PRIORITY_SYSTEM, PRIORITY_USER
 
Constructor Summary
BulkDeleteEndpoint()
           
 
Method Summary
 BulkDeleteResponse delete(Scan scan, byte deleteType, Long timestamp, int rowBatchSize)
           
 
Methods inherited from class org.apache.hadoop.hbase.coprocessor.BaseEndpointCoprocessor
getEnvironment, getProtocolSignature, getProtocolVersion, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.hadoop.hbase.ipc.VersionedProtocol
getProtocolSignature, getProtocolVersion
 

Constructor Detail

BulkDeleteEndpoint

public BulkDeleteEndpoint()
Method Detail

delete

public BulkDeleteResponse delete(Scan scan,
                                 byte deleteType,
                                 Long timestamp,
                                 int rowBatchSize)
Specified by:
delete in interface BulkDeleteProtocol
rowBatchSize - The number of rows which need to be accumulated by scan and delete as one batch
Returns:


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