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

Public Member Functions

 SqlDropView (final SqlParserPos pos, final boolean ifExists, final String viewName)
 
List< SqlNode > getOperandList ()
 
String toString ()
 
- Public Member Functions inherited from com.mapd.parser.extension.ddl.JsonSerializableDdl
default String toJsonString ()
 

Private Attributes

boolean ifExists
 
String viewName
 
String command
 

Static Private Attributes

static final SqlOperator OPERATOR
 

Detailed Description

Class that encapsulates all information associated with a DROP VIEW DDL command.

Definition at line 17 of file SqlDropView.java.

Constructor & Destructor Documentation

com.mapd.parser.extension.ddl.SqlDropView.SqlDropView ( final SqlParserPos  pos,
final boolean  ifExists,
final String  viewName 
)
inline

Definition at line 28 of file SqlDropView.java.

References com.mapd.parser.extension.ddl.SqlDropView.ifExists, com.mapd.parser.extension.ddl.SqlDropView.OPERATOR, and com.mapd.parser.extension.ddl.SqlDropView.viewName.

29  {
30  super(OPERATOR, pos, ifExists);
31  this.ifExists = ifExists;
32  this.viewName = viewName;
33  this.command = OPERATOR.getName();
34  }

Member Function Documentation

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

Definition at line 37 of file SqlDropView.java.

37  {
38  return null;
39  }
String com.mapd.parser.extension.ddl.SqlDropView.toString ( )
inline

Definition at line 42 of file SqlDropView.java.

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

42  {
43  return toJsonString();
44  }

+ Here is the call graph for this function:

Member Data Documentation

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

Definition at line 26 of file SqlDropView.java.

boolean com.mapd.parser.extension.ddl.SqlDropView.ifExists
private
final SqlOperator com.mapd.parser.extension.ddl.SqlDropView.OPERATOR
staticprivate
Initial value:
=
new SqlSpecialOperator("DROP_VIEW", SqlKind.DROP_VIEW)

Definition at line 18 of file SqlDropView.java.

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

String com.mapd.parser.extension.ddl.SqlDropView.viewName
private

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