com.akiban.sql.parser
Class TablePrivilegesNode
java.lang.Object
com.akiban.sql.parser.QueryTreeNode
com.akiban.sql.parser.TablePrivilegesNode
- All Implemented Interfaces:
- Visitable
public class TablePrivilegesNode
- extends QueryTreeNode
This class represents a set of privileges on one table.
|
Method Summary |
void |
addAction(int action,
ResultColumnList privilegeColumnList)
Add one action to the privileges for this table |
void |
addAll()
Add all actions |
| Methods inherited from class com.akiban.sql.parser.QueryTreeNode |
accept, convertDefaultNode, copyFrom, debugFlush, debugPrint, formatNodeString, getBeginOffset, getDebugOutput, getEndOffset, getNodeFactory, getNodeType, getNullNode, getParserContext, getStatementType, getUserData, init, init, init, init, init, init, init, init, init, init, init, init, init, init, isInstanceOf, makeTableName, makeTableName, nodeHeader, printLabel, printSubNodes, setBeginOffset, setDebugOutput, setEndOffset, setNodeType, setParserContext, setUserData, stackPrint, toString, treePrint, treePrint, treePrint |
SELECT_ACTION
public static final int SELECT_ACTION
- See Also:
- Constant Field Values
DELETE_ACTION
public static final int DELETE_ACTION
- See Also:
- Constant Field Values
INSERT_ACTION
public static final int INSERT_ACTION
- See Also:
- Constant Field Values
UPDATE_ACTION
public static final int UPDATE_ACTION
- See Also:
- Constant Field Values
REFERENCES_ACTION
public static final int REFERENCES_ACTION
- See Also:
- Constant Field Values
TRIGGER_ACTION
public static final int TRIGGER_ACTION
- See Also:
- Constant Field Values
ACTION_COUNT
public static final int ACTION_COUNT
- See Also:
- Constant Field Values
TablePrivilegesNode
public TablePrivilegesNode()
addAll
public void addAll()
- Add all actions
addAction
public void addAction(int action,
ResultColumnList privilegeColumnList)
- Add one action to the privileges for this table
- Parameters:
action - The action typeprivilegeColumnList - The set of privilege columns. Null for all columns
- Throws:
StandardException - standard error policy.
Copyright © 2013 Akiban Technologies, Inc. All rights reserved.