Package alluxio.table.common.udb
Class UdbBypassSpec
- java.lang.Object
-
- alluxio.table.common.udb.UdbBypassSpec
-
public final class UdbBypassSpec extends java.lang.ObjectTables and partitions bypassing specification.
-
-
Constructor Summary
Constructors Constructor Description UdbBypassSpec(java.util.Map<java.lang.String,java.util.Set<java.lang.String>> tablePartMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasFullTable(java.lang.String tableName)Checks if all partitions of a table should be bypassed.booleanhasPartition(java.lang.String tableName, java.lang.String partitionName)Checks by a partition's name if it should be bypassed.booleanhasTable(java.lang.String tableName)Checks if a table should be bypassed.
-
-
-
Method Detail
-
hasTable
public boolean hasTable(java.lang.String tableName)
Checks if a table should be bypassed.- Parameters:
tableName- the table name- Returns:
- true if the table is configured to be bypassed, false otherwise
- See Also:
hasFullTable(String)
-
hasFullTable
public boolean hasFullTable(java.lang.String tableName)
Checks if all partitions of a table should be bypassed.- Parameters:
tableName- the table name- Returns:
- true if the table is configured to be fully bypassed, false otherwise
- See Also:
hasTable(String)
-
hasPartition
public boolean hasPartition(java.lang.String tableName, java.lang.String partitionName)Checks by a partition's name if it should be bypassed.- Parameters:
tableName- the table namepartitionName- the partition name- Returns:
- true if the partition should be bypassed, false otherwise
-
-