public final class UdbBypassSpec
extends java.lang.Object
| Constructor and Description |
|---|
UdbBypassSpec(java.util.Map<java.lang.String,java.util.Set<java.lang.String>> tablePartMap) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasFullTable(java.lang.String tableName)
Checks if all partitions of a table should be bypassed.
|
boolean |
hasPartition(java.lang.String tableName,
java.lang.String partitionName)
Checks by a partition's name if it should be bypassed.
|
boolean |
hasTable(java.lang.String tableName)
Checks if a table should be bypassed.
|
public UdbBypassSpec(java.util.Map<java.lang.String,java.util.Set<java.lang.String>> tablePartMap)
tablePartMap - table to partition mappublic boolean hasTable(java.lang.String tableName)
tableName - the table namehasFullTable(String)public boolean hasFullTable(java.lang.String tableName)
tableName - the table namehasTable(String)public boolean hasPartition(java.lang.String tableName,
java.lang.String partitionName)
tableName - the table namepartitionName - the partition nameCopyright © 2024. All Rights Reserved.