public class TableReferenceReplacer extends Object
| Constructor and Description |
|---|
TableReferenceReplacer(Expression originalExpression) |
| Modifier and Type | Method and Description |
|---|---|
Expression |
getExpression() |
int |
getReferenceCount() |
int |
getReferenceCount(TableId id) |
List<ColumnReference> |
getReferences(TableId id) |
Set<TableId> |
getTableIds() |
TableReferenceReplacer |
replaceAllTableIds(TableId toSet) |
TableReferenceReplacer |
replaceColumnReference(ColumnReference toReplace,
ColumnReference toSet) |
TableReferenceReplacer |
replaceTableId(TableId toReplace,
TableId toSet) |
public TableReferenceReplacer(Expression originalExpression) throws MalformedExpressionException
MalformedExpressionExceptionpublic int getReferenceCount()
public int getReferenceCount(TableId id)
public List<ColumnReference> getReferences(TableId id)
public TableReferenceReplacer replaceColumnReference(ColumnReference toReplace, ColumnReference toSet)
public TableReferenceReplacer replaceTableId(TableId toReplace, TableId toSet)
public TableReferenceReplacer replaceAllTableIds(TableId toSet)
public Expression getExpression()
Copyright © 2014. All Rights Reserved.