Modifier and Type | Field and Description |
---|---|
protected Set<String> |
alias |
protected String |
database |
protected String |
displayName |
protected Pair3<Long,Long,String> |
endPosition |
protected String |
fullName |
protected String |
name |
protected String |
parent |
protected String |
schema |
protected String |
server |
protected Pair3<Long,Long,String> |
startPosition |
Constructor and Description |
---|
Table(String tableName) |
Table(TCustomSqlStatement stmt,
TObjectName viewName) |
Table(TObjectName tableName) |
Table(TTable table) |
Table(TTable table,
String tableName) |
protected String displayName
protected Pair3<Long,Long,String> startPosition
protected Pair3<Long,Long,String> endPosition
public Table(TCustomSqlStatement stmt, TObjectName viewName)
public Table(TObjectName tableName)
public TCustomSqlStatement getSqlStatement()
public void addColumnsFromSQLEnv()
protected String getDefaultServer()
protected String getDefaultSchema()
protected String getDefaultDatabase()
protected void updateTableName(boolean supportCatalog, boolean supportSchema)
public long getId()
public Pair3<Long,Long,String> getStartPosition()
public Pair3<Long,Long,String> getEndPosition()
public List<TableColumn> getColumns()
public void addColumn(TableColumn column)
public TTable getTableObject()
public String getFullName()
public boolean hasSubquery()
public String getDatabase()
public TableRelationRows getRelationRows()
public boolean isCreateTable()
public void setCreateTable(boolean isCreateTable, boolean fromDDL)
public void setCreateTable(boolean isCreateTable)
public boolean isView()
public void setView(boolean isView)
public boolean isPseudo()
public void setPseudo(boolean isPseudo)
public boolean isExternal()
public void setExternal(boolean isExternal)
public boolean isStage()
public void setStage(boolean isStage)
public boolean isSequence()
public void setSequence(boolean sequence)
public boolean isVariable()
public void setVariable(boolean isVariable)
public boolean isConstant()
public void setConstant(boolean isConstant)
public boolean isPath()
public void setPath(boolean isPath)
public boolean isCursor()
public String getLocation()
public void setLocation(String location)
public String getFileType()
public void setFileType(String fileType)
public String getDisplayName()
public void setDisplayName(String displayName)
public String getFileFormat()
public void setFileFormat(String fileFormat)
public List<Process> getProcesses()
public void addProcess(Process process)
public void removeProcess(Process process)
public void setSubType(SubType subType)
public SubType getSubType()
public boolean isStream()
public void setStream(boolean isStream)
public boolean isSchema()
public void setSchema(boolean isSchema)
public void setDatabase(String database)
public boolean isDatabase()
public void setDatabase(boolean isDatabase)
public boolean isDataSource()
public void setDataSource(boolean dataSource)
public String getStarStmt()
public void setStarStmt(String starStmt)
public void setHasSQLEnv(boolean hasSQLEnv)
public boolean hasSQLEnv()
public String getCurrentAlias()
public void setCurrentAlias(String currentAlias)
public Set<String> getAliasList()
public boolean isDetermined()
public void setDetermined(boolean isDetermined)
public boolean isFromDDL()
public void setFromDDL(boolean fromDDL)