public final class Tables extends Object
| Constructor and Description |
|---|
Tables() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Table table)
Add table.
|
com.google.common.base.Optional<Table> |
find(String tableNameOrAlias)
Find table via table name or alias.
|
String |
getSingleTableName()
Get single table name.
|
Collection<String> |
getTableNames()
Get table names.
|
boolean |
isEmpty()
Judge table is empty or not.
|
boolean |
isSameTable()
Judge is same table or not.
|
boolean |
isSingleTable()
Judge is single table or not.
|
public void add(Table table)
table - tablepublic boolean isEmpty()
public boolean isSameTable()
public boolean isSingleTable()
public String getSingleTableName()
public Collection<String> getTableNames()
Copyright © 2019 The Apache Software Foundation. All rights reserved.