OmniSciDB  72c90bc290
 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

Constructor & Destructor Documentation

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

Definition at line 28 of file

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

Definition at line 37 of file

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

Definition at line 42 of file

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

Definition at line 26 of file

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

Definition at line 18 of file

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

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

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