/**
* Copyright © 2012 Akiban Technologies, Inc. All rights
* reserved.
*
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0 which
* accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* This program may also be available under different license terms.
* For more information, see www.akiban.com or contact
* licensing@akiban.com.
*
* Contributors:
* Akiban Technologies, Inc.
*/
package com.akiban.sql.parser;
import com.akiban.sql.StandardException;
/**
* This node represents a unary bit operator
* As of now, there is only one such operator: BITNOT.
*
*/
public class UnaryBitOperatorNode extends UnaryOperatorNode
{
/**
* Initializer for a UnaryBitOperatorNode
*
* @param operand The operand of the node
*/
public void init(Object operand) throws StandardException {
init(operand, "~", "bitnot");
}
/**
* Fill this node with a deep copy of the given node.
*/
public void copyFrom(QueryTreeNode node) throws StandardException {
super.copyFrom(node);
}
}