OmniSciDB  72c90bc290
 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)
 
- Public Member Functions inherited from com.mapd.parser.extension.ddl.SqlCustomDdl
 SqlCustomDdl (final SqlOperator operator, final SqlParserPos pos)
 
List< SqlNode > getOperandList ()
 
String toString ()
 
- Public Member Functions inherited from com.mapd.parser.extension.ddl.JsonSerializableDdl
default String toJsonString ()
 

Private Attributes

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 15 of file SqlCopyTable.java.

Constructor & Destructor Documentation

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

Definition at line 26 of file SqlCopyTable.java.

References com.mapd.parser.extension.ddl.SqlCopyTable.OPERATOR, com.mapd.parser.extension.ddl.SqlCopyTable.table, and com.mapd.parser.extension.ddl.SqlCustomDdl.toString().

29  {
30  super(OPERATOR, pos);
31  this.table = table;
32  this.filePath = (new HeavySqlSanitizedString(filePath)).toString();
33  this.options = withOptions;
34  }

+ Here is the call graph for this function:

Member Data Documentation

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

Definition at line 22 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 16 of file SqlCopyTable.java.

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

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

Definition at line 24 of file SqlCopyTable.java.

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

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