|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.akiban.sql.parser.QueryTreeNode
com.akiban.sql.parser.StatementNode
com.akiban.sql.parser.CopyStatementNode
public class CopyStatementNode
An CopyStatementNode represents the COPY command.
| Nested Class Summary | |
|---|---|
static class |
CopyStatementNode.Format
|
static class |
CopyStatementNode.Mode
|
| Field Summary |
|---|
| Fields inherited from class com.akiban.sql.parser.QueryTreeNode |
|---|
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX |
| Constructor Summary | |
|---|---|
CopyStatementNode()
|
|
| Method Summary | |
|---|---|
CursorNode |
asQuery()
Turn the source portion into a regular Select query. |
void |
copyFrom(QueryTreeNode node)
Fill this node with a deep copy of the given node. |
ResultColumnList |
getColumnList()
|
long |
getCommitFrequency()
|
String |
getDelimiter()
|
String |
getEncoding()
|
String |
getEscape()
|
String |
getFilename()
|
CopyStatementNode.Format |
getFormat()
|
CopyStatementNode.Mode |
getMode()
|
String |
getNullString()
|
String |
getQuote()
|
SubqueryNode |
getSubquery()
|
TableName |
getTableName()
|
void |
init(Object mode,
Object subquery,
Object filename)
Initializer for an CopyStatementNode |
void |
init(Object mode,
Object tableName,
Object columnList,
Object filename)
Initializer for an CopyStatementNode |
boolean |
isHeader()
|
void |
printSubNodes(int depth)
Prints the sub-nodes of this object. |
void |
setCommitFrequency(long commitFrequency)
|
void |
setDelimiter(String delimiter)
|
void |
setEncoding(String encoding)
|
void |
setEscape(String escape)
|
void |
setFormat(CopyStatementNode.Format format)
|
void |
setHeader(boolean header)
|
void |
setNullString(String nullString)
|
void |
setQuote(String quote)
|
String |
statementToString()
|
String |
toString()
Convert this object to a String. |
| Methods inherited from class com.akiban.sql.parser.QueryTreeNode |
|---|
accept, convertDefaultNode, debugFlush, debugPrint, formatNodeString, getBeginOffset, getDebugOutput, getEndOffset, getNodeFactory, getNodeType, getNullNode, getParserContext, getStatementType, getUserData, init, init, init, init, init, init, init, init, init, init, init, init, isInstanceOf, makeTableName, makeTableName, nodeHeader, printLabel, setBeginOffset, setDebugOutput, setEndOffset, setNodeType, setParserContext, setUserData, stackPrint, treePrint, treePrint, treePrint |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CopyStatementNode()
| Method Detail |
|---|
public void init(Object mode,
Object subquery,
Object filename)
init in class QueryTreeNodemode - The copy direction.subquery - The derived table.filename - The file name or null.
public void init(Object mode,
Object tableName,
Object columnList,
Object filename)
init in class QueryTreeNodemode - The copy direction.tableName - The table name.columnList - The list of columns.filename - The file name or null.public CopyStatementNode.Mode getMode()
public SubqueryNode getSubquery()
public TableName getTableName()
public ResultColumnList getColumnList()
public String getFilename()
public CopyStatementNode.Format getFormat()
public void setFormat(CopyStatementNode.Format format)
public String getDelimiter()
public void setDelimiter(String delimiter)
public String getNullString()
public void setNullString(String nullString)
public boolean isHeader()
public void setHeader(boolean header)
public String getQuote()
public void setQuote(String quote)
public String getEscape()
public void setEscape(String escape)
public String getEncoding()
public void setEncoding(String encoding)
public long getCommitFrequency()
public void setCommitFrequency(long commitFrequency)
public void copyFrom(QueryTreeNode node)
throws StandardException
copyFrom in class QueryTreeNodeStandardExceptionpublic String toString()
toString in class StatementNodepublic String statementToString()
statementToString in class StatementNodepublic void printSubNodes(int depth)
printSubNodes in class QueryTreeNodedepth - The depth of this node in the tree
public CursorNode asQuery()
throws StandardException
StandardException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||