OmniSciDB  085a039ca4
 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, HeavyDBOptionsMap 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
HeavyDBOptionsMap 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

Constructor & Destructor Documentation

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

Definition at line 31 of file

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 ( )

Definition at line 43 of file

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

Definition at line 48 of file

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

Definition at line 23 of file

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

Definition at line 27 of file

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

Definition at line 19 of file

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

HeavyDBOptionsMap com.mapd.parser.extension.ddl.SqlCopyTable.options

Definition at line 29 of file

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

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