@InterfaceAudience.LimitedPrivate(value="Replication") public interface WALEntrySinkFilter
hbase.replication.sink.walentryfilter
to the name of the implementing
class. Implementing class must have a no-param Constructor.
This filter is of limited use. It is better to filter on the replication source rather than here after the edits have been shipped on the replication sink. That said, applications such as the hbase-indexer want to filter out any edits that were made before replication was enabled.
Modifier and Type | Field and Description |
---|---|
static String |
WAL_ENTRY_FILTER_KEY
Name of configuration to set with name of implementing WALEntrySinkFilter class.
|
Modifier and Type | Method and Description |
---|---|
boolean |
filter(TableName table,
long writeTime) |
void |
init(Connection connection)
Called after Construction.
|
static final String WAL_ENTRY_FILTER_KEY
void init(Connection connection)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.