public class CopyStatementNode extends StatementNode
| Modifier and Type | Class and Description |
|---|---|
static class |
CopyStatementNode.Format |
static class |
CopyStatementNode.Mode |
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX| Constructor and Description |
|---|
CopyStatementNode() |
| Modifier and Type | Method and Description |
|---|---|
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() |
int |
getMaxRetries() |
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 |
setMaxRetries(int maxRetries) |
void |
setNullString(String nullString) |
void |
setQuote(String quote) |
String |
statementToString() |
String |
toString()
Convert this object to a String.
|
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, treePrintpublic 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 int getMaxRetries()
public void setMaxRetries(int maxRetries)
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 treepublic CursorNode asQuery() throws StandardException
StandardExceptionCopyright © 2015 FoundationDB, LLC. All rights reserved.