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

Public Member Functions

 SqlExportQuery (final SqlParserPos pos, final SqlNode queryNode, 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 query
String filePath
OmniSciOptionsMap options

Static Private Attributes

static final SqlOperator OPERATOR

Detailed Description

Definition at line 15 of file

Constructor & Destructor Documentation

com.mapd.parser.extension.ddl.SqlExportQuery.SqlExportQuery ( final SqlParserPos  pos,
final SqlNode  queryNode,
final String  filePath,
OmniSciOptionsMap  withOptions 

Definition at line 28 of file

References com.mapd.parser.extension.ddl.SqlExportQuery.OPERATOR.

31  {
32  super(OPERATOR, pos);
33  this.command = OPERATOR.getName();
34  this.query = queryNode.toString();
35  this.filePath = filePath.replaceAll("^(\'|\")*|(\'|\")*$", "");
36  this.options = withOptions;
37  }

Member Function Documentation

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

Definition at line 40 of file

40  {
41  return null;
42  }
String com.mapd.parser.extension.ddl.SqlExportQuery.toString ( )

Definition at line 45 of file

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

45  {
46  return toJsonString();
47  }

+ Here is the call graph for this function:

Member Data Documentation

String com.mapd.parser.extension.ddl.SqlExportQuery.command

Definition at line 20 of file

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

Definition at line 24 of file

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

Definition at line 16 of file

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

OmniSciOptionsMap com.mapd.parser.extension.ddl.SqlExportQuery.options

Definition at line 26 of file

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