/** * Accept the visitor for all visitable children of this node. * * @param v the visitor * @exception StandardException on error */ void acceptChildren(Visitor v) throws StandardException { super.acceptChildren(v); if (tableElementList != null) { tableElementList.accept(v); } }
void acceptChildren(Visitor v) throws StandardException { super.acceptChildren(v); if (storageFormat != null) { storageFormat = (StorageFormatNode) storageFormat.accept(v); } }
public void printSubNodes(int depth) { super.printSubNodes(depth); if (storageFormat != null) { printLabel(depth, "storageFormat: "); storageFormat.treePrint(depth + 1); } }
/** Fill this node with a deep copy of the given node. */ public void copyFrom(QueryTreeNode node) throws StandardException { super.copyFrom(node); RenameNode other = (RenameNode) node; this.newTableName = (TableName) getNodeFactory().copyNode(other.newTableName, getParserContext()); this.oldObjectName = other.oldObjectName; this.newObjectName = other.newObjectName; this.usedAlterTable = other.usedAlterTable; this.renamingWhat = other.renamingWhat; }
/** Fill this node with a deep copy of the given node. */ public void copyFrom(QueryTreeNode node) throws StandardException { super.copyFrom(node); CreateSequenceNode other = (CreateSequenceNode) node; this.sequenceName = (TableName) getNodeFactory().copyNode(other.sequenceName, getParserContext()); this.dataType = other.dataType; this.startWith = other.startWith; this.incrementBy = other.incrementBy; this.maxValue = other.maxValue; this.minValue = other.minValue; this.isCycle = other.isCycle; this.storageFormat = (StorageFormatNode) getNodeFactory().copyNode(other.storageFormat, getParserContext()); }