public abstract class TableName
extends java.lang.Object
| Constructor and Description | 
|---|
TableName()  | 
| Modifier and Type | Method and Description | 
|---|---|
static TableName | 
create(java.util.List<java.lang.String> fullPath)
Full table name with path. 
 | 
static TableName | 
create(java.util.List<java.lang.String> path,
      java.lang.String tableName)
Table name plus the path up to but not including table name. 
 | 
abstract java.util.List<java.lang.String> | 
getPath()
Table path up to the leaf table name. 
 | 
java.lang.String | 
getPrefix()
First element in the path. 
 | 
abstract java.lang.String | 
getTableName()
Table name, the last element of the fully-specified table name with path. 
 | 
boolean | 
isCompound()
Whether it's a compound table name (with multiple path components). 
 | 
boolean | 
isSimple()
Whether it's a simple name, with a single name component. 
 | 
TableName | 
removePrefix()
Remove prefix, e.g. 
 | 
public abstract java.util.List<java.lang.String> getPath()
Does not necessarily start from a schema name.
Does not include the actual table name, see getTableName().
public abstract java.lang.String getTableName()
public static TableName create(java.util.List<java.lang.String> fullPath)
public static TableName create(java.util.List<java.lang.String> path, java.lang.String tableName)
public boolean isCompound()
public boolean isSimple()
public java.lang.String getPrefix()
public TableName removePrefix()