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 SqlExportQuery.java.

Constructor & Destructor Documentation

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

Definition at line 28 of file SqlExportQuery.java.

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

Definition at line 40 of file SqlExportQuery.java.

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

Definition at line 45 of file SqlExportQuery.java.

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
private

Definition at line 20 of file SqlExportQuery.java.

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

Definition at line 24 of file SqlExportQuery.java.

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

Definition at line 16 of file SqlExportQuery.java.

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

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

Definition at line 26 of file SqlExportQuery.java.


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