OmniSciDB  471d68cefb
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mapd.parser.extension.ddl.SqlCopyTable Class Reference
+ Inheritance diagram for com.mapd.parser.extension.ddl.SqlCopyTable:
+ Collaboration diagram for com.mapd.parser.extension.ddl.SqlCopyTable:

Public Member Functions

 SqlCopyTable (final SqlParserPos pos, final String table, final String filePath, OmniSciOptionsMap withOptions)
 
List< SqlNode > getOperandList ()
 
String toString ()
 
- Public Member Functions inherited from com.mapd.parser.extension.ddl.JsonSerializableDdl
default String toJsonString ()
 

Private Attributes

String command
 
String table
 
String filePath
 
OmniSciOptionsMap options
 

Static Private Attributes

static final SqlOperator OPERATOR
 

Detailed Description

Class that encapsulates all information associated with a COPY TABLE DDL command.

Definition at line 18 of file SqlCopyTable.java.

Constructor & Destructor Documentation

com.mapd.parser.extension.ddl.SqlCopyTable.SqlCopyTable ( final SqlParserPos  pos,
final String  table,
final String  filePath,
OmniSciOptionsMap  withOptions 
)
inline

Definition at line 31 of file SqlCopyTable.java.

References com.mapd.parser.extension.ddl.SqlCopyTable.OPERATOR, and com.mapd.parser.extension.ddl.SqlCopyTable.table.

34  {
35  super(OPERATOR, pos);
36  this.command = OPERATOR.getName();
37  this.table = table;
38  this.filePath = filePath.replaceAll("^(\'|\")*|(\'|\")*$", "");
39  this.options = withOptions;
40  }

Member Function Documentation

List<SqlNode> com.mapd.parser.extension.ddl.SqlCopyTable.getOperandList ( )
inline

Definition at line 43 of file SqlCopyTable.java.

43  {
44  return null;
45  }
String com.mapd.parser.extension.ddl.SqlCopyTable.toString ( )
inline

Definition at line 48 of file SqlCopyTable.java.

References com.mapd.parser.extension.ddl.JsonSerializableDdl.toJsonString().

48  {
49  return toJsonString();
50  }

+ Here is the call graph for this function:

Member Data Documentation

String com.mapd.parser.extension.ddl.SqlCopyTable.command
private

Definition at line 23 of file SqlCopyTable.java.

String com.mapd.parser.extension.ddl.SqlCopyTable.filePath
private

Definition at line 27 of file SqlCopyTable.java.

final SqlOperator com.mapd.parser.extension.ddl.SqlCopyTable.OPERATOR
staticprivate
Initial value:
=
new SqlSpecialOperator("COPY_TABLE", SqlKind.OTHER_DDL)

Definition at line 19 of file SqlCopyTable.java.

Referenced by com.mapd.parser.extension.ddl.SqlCopyTable.SqlCopyTable().

OmniSciOptionsMap com.mapd.parser.extension.ddl.SqlCopyTable.options
private

Definition at line 29 of file SqlCopyTable.java.

String com.mapd.parser.extension.ddl.SqlCopyTable.table
private

The documentation for this class was generated from the following file: