org.apache.hadoop.hbase.replication
Interface WALEntryFilter

All Known Implementing Classes:
ChainWALEntryFilter, ScopeWALEntryFilter, SystemTableWALEntryFilter, TableCfWALEntryFilter

@InterfaceAudience.LimitedPrivate(value="Replication")
public interface WALEntryFilter

A Filter for WAL entries before being sent over to replication. Multiple filters might be chained together using ChainWALEntryFilter.


Method Summary
 HLog.Entry filter(HLog.Entry entry)
          Applies the filter, possibly returning a different HLog.Entry instance.
 

Method Detail

filter

HLog.Entry filter(HLog.Entry entry)
Applies the filter, possibly returning a different HLog.Entry instance. If null is returned, the entry will be skipped.

Parameters:
entry - WAL Entry to filter
Returns:
a (possibly modified) HLog.Entry to use. Returning null or an entry with no cells will cause the entry to be skipped for replication.


Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.