Class DumperConfiguration
- java.lang.Object
-
- org.apache.shardingsphere.data.pipeline.api.config.ingest.DumperConfiguration
-
- Direct Known Subclasses:
InventoryDumperConfiguration
public class DumperConfiguration extends Object
Dumper configuration.
-
-
Constructor Summary
Constructors Constructor Description DumperConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontainsTable(String actualTableName)Whether contains table.Optional<List<String>>getColumnNameList(LogicTableName logicTableName)Get column name list of table.Optional<Set<ColumnName>>getColumnNameSet(String actualTableName)Get column name set of table.LogicTableNamegetLogicTableName(String actualTableName)Get logic table name.StringgetSchemaName(ActualTableName actualTableName)Get schema name.StringgetSchemaName(LogicTableName logicTableName)Get schema name.
-
-
-
Method Detail
-
getLogicTableName
public LogicTableName getLogicTableName(String actualTableName)
Get logic table name.- Parameters:
actualTableName- actual table name- Returns:
- logic table name
-
containsTable
public boolean containsTable(String actualTableName)
Whether contains table.- Parameters:
actualTableName- actual table name- Returns:
- contains or not
-
getSchemaName
public String getSchemaName(LogicTableName logicTableName)
Get schema name.- Parameters:
logicTableName- logic table name- Returns:
- schema name. nullable
-
getSchemaName
public String getSchemaName(ActualTableName actualTableName)
Get schema name.- Parameters:
actualTableName- actual table name- Returns:
- schema name. nullable
-
getColumnNameList
public Optional<List<String>> getColumnNameList(LogicTableName logicTableName)
Get column name list of table.- Parameters:
logicTableName- logic table name- Returns:
- column names of table
-
getColumnNameSet
public Optional<Set<ColumnName>> getColumnNameSet(String actualTableName)
Get column name set of table.- Parameters:
actualTableName- actual table name- Returns:
- column names of table
-
-